change wrong usage of sets to dicts

This commit is contained in:
Unknown 2018-06-14 07:02:45 +02:00
parent 7746e2529b
commit f9a0f6de60

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]) winners = table.find(id=[1, 3, 7])
# Find by comparison operator # Find by comparison operator
elderly_users = table.find(age={'>=', 70}) elderly_users = table.find(age={'>=': 70})
possible_customers = table.find(age={'between', [21, 80]}) possible_customers = table.find(age={'between': [21, 80]})
# Use the underlying SQLAlchemy directly # Use the underlying SQLAlchemy directly
elderly_users = table.find(table.table.columns.age >= 70) elderly_users = table.find(table.table.columns.age >= 70)