Skip to content

Instantly share code, notes, and snippets.

@gflarity
Created March 29, 2011 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gflarity/893239 to your computer and use it in GitHub Desktop.
Save gflarity/893239 to your computer and use it in GitHub Desktop.
var key = 'E18EFDFD-ACC4-42CB-8261-E8139886DA1C';
var value = 'foo';
index.set( key, value, function(err, context) {
if ( err ) {
console.log( err );
process.exit(0);
}
else {
console.log( "successfully inserted " + content.key );
}
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment