Skip to content

Commit

Permalink
docs: datastore: update request#get (#1738)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored Oct 21, 2016
1 parent fa0698d commit e746260
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/datastore/src/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,11 @@ DatastoreRequest.prototype.delete = function(keys, callback) {
* }
*
* entity.newValue = true;
* datastore.save(entity, function(err) {});
*
* datastore.save({
* key: key,
* data: entity
* }, function(err) {});
* });
*
* //-
Expand Down

0 comments on commit e746260

Please sign in to comment.