Skip to content

Commit

Permalink
Usage example update
Browse files Browse the repository at this point in the history
  • Loading branch information
rbw committed Apr 4, 2017
1 parent 98102aa commit 580f1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ Misc usage
# Delete
r.delete()
# Iterate over all records with state == 2 and print out number
for record in s.query(table='incident', query={'state': 2}).get_all():
# Iterate over the first 20 records with state 2 and print out number
for record in s.query(table='incident', query={'state': 2}).get_all(limit=20):
print(record['number'])
Expand Down

0 comments on commit 580f1b6

Please sign in to comment.