mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 20:34:12 +02:00
Typo fix
This commit is contained in:
parent
13528faa81
commit
31d3df0f79
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ You can filter rows by a WHERE clause using ``.rows_where(where, where_args)``::
|
||||||
... print(row)
|
... print(row)
|
||||||
{'id': 1, 'age': 4, 'name': 'Cleo'}
|
{'id': 1, 'age': 4, 'name': 'Cleo'}
|
||||||
|
|
||||||
To specify an order, use the ``order_my=`` argument::
|
To specify an order, use the ``order_by=`` argument::
|
||||||
|
|
||||||
>>> for row in db["dogs"].rows_where("age > 1", order_by="age"):
|
>>> for row in db["dogs"].rows_where("age > 1", order_by="age"):
|
||||||
... print(row)
|
... print(row)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue