Skip to content

Commit e859106

Browse files
iamjoshellisprescottprue
authored andcommitted
Fix Typo In limitToFirst Example (prescottprue#65)
Query.limitToFirst: First argument must be a positive integer.
1 parent 0a1cc0d commit e859106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/queries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Limit query results to the first n number of results.
8787
```javascript
8888
@firebaseConnect([
8989
'/todos#limitToFirst'
90-
// { path: '/todos', queryParams: [ 'limitToFirst' ] } // object notation
90+
// { path: '/todos', queryParams: [ 'limitToFirst=1' ] } // object notation
9191
])
9292
```
9393
2. Displaying only the first 10 todo items

0 commit comments

Comments
 (0)