This commit is contained in:
Simon Willison 2020-04-16 15:21:40 -07:00 committed by GitHub
commit 31d3df0f79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,7 +115,7 @@ You can filter rows by a WHERE clause using ``.rows_where(where, where_args)``::
... print(row)
{'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"):
... print(row)