Skip to content
Permalink
Browse files

Updates the README.md.

  • Loading branch information...
alanjames1987 committed Oct 6, 2014
1 parent 544b540 commit 6f5e2372f1314f4fcb45e6a432eaa825eedbabbc
Showing with 3 additions and 5 deletions.
  1. +3 −5 README.md
@@ -262,7 +262,7 @@ query:Object, next:Function

**after callback**
```js
data:Object, next:Function
data:Array, next:Function
```
`data` is an array of objects found from the query. It is useful for adding custom fields or methods.

@@ -280,7 +280,6 @@ data:Object, next:Function
```
`data` is an the single object found from the query. It is useful for adding custom fields and methods.


##### Update

**before callback**
@@ -290,10 +289,9 @@ searchQuery:Object, updateQuery:Object, next:Function
`searchQuery` is the query being used to read the objects. It is useful for restricting access to records.
`updateQuery` is the changes that will be made to all objects found. It is useful for restricting access to certain field updates.


**after callback**
```js
data:Object, next:Function
data:Array, next:Function
```
`data` is an array of objects that have been updated. It is useful for adding custom fields and methods or syncing with a server.

@@ -307,7 +305,7 @@ searchQuery:Object, next:Function

**after callback**
```js
data:Object, next:Function
data:Array, next:Function
```
`data` is an array of objects that have been deleted. It is useful for syncing with a server.

0 comments on commit 6f5e237

Please sign in to comment.
You can’t perform that action at this time.