Navigation Menu

Skip to content

Commit

Permalink
Updates the README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanjames1987 committed Oct 6, 2014
1 parent 544b540 commit 6f5e237
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Expand Up @@ -262,7 +262,7 @@ query:Object, next:Function


**after callback** **after callback**
```js ```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. `data` is an array of objects found from the query. It is useful for adding custom fields or methods.


Expand All @@ -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. `data` is an the single object found from the query. It is useful for adding custom fields and methods.



##### Update ##### Update


**before callback** **before callback**
Expand All @@ -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. `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. `updateQuery` is the changes that will be made to all objects found. It is useful for restricting access to certain field updates.



**after callback** **after callback**
```js ```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. `data` is an array of objects that have been updated. It is useful for adding custom fields and methods or syncing with a server.


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


**after callback** **after callback**
```js ```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. `data` is an array of objects that have been deleted. It is useful for syncing with a server.


Expand Down

0 comments on commit 6f5e237

Please sign in to comment.