docs: fix examples for find

This commit is contained in:
Jason Nader
2021-10-27 15:07:52 +09:00
committed by GitHub
parent e5d52d6eee
commit 6ade1fdeb8
+2 -2
View File
@@ -142,8 +142,8 @@ We can search for specific entries using :py:meth:`find() <dataset.Table.find>`
winners = table.find(id=[1, 3, 7])
# Find by comparison operator
elderly_users = table.find((age, '>=', 70))
possible_customers = table.find((age, 'between', [21, 80]))
elderly_users = table.find(age={'>=': 70})
possible_customers = table.find(age={'between': [21, 80]})
# Use the underlying SQLAlchemy directly
elderly_users = table.find(table.table.columns.age >= 70)