Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed May 17, 2011
1 parent 8ce3cb4 commit 5881aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/insert.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Where

* `docs` is a single document object or an array of documents
* `options` is an object of parameters, if you use a callback, set `safe` to true - this way the callback is executed *after* the record is saved to the database, if `safe` is false (default) callback is fired immediately and thus doesn't make much sense.
* `callback` - callback function to run after the record is inserted. Set `safe` to true in `options` when using callback. First parameter for callbac
* `callback` - callback function to run after the record is inserted. Set `safe` to true in `options` when using callback. First parameter for callback
is the error object (if an error occured) and the second is an array of records inserted.

For example
Expand Down

0 comments on commit 5881aee

Please sign in to comment.