Implement comparison operators. Resolve #128.

This commit is contained in:
ryneeverett
2016-03-24 17:57:26 -05:00
parent dcf1e09bbe
commit 1565fe5fe2
3 changed files with 34 additions and 13 deletions
+3
View File
@@ -138,6 +138,9 @@ We can search for specific entries using :py:meth:`find() <dataset.Table.find>`
# Get a specific user
john = table.find_one(name='John Doe')
# Find by comparison
elderly_users = table.find(table.table.columns.age >= 70)
Using :py:meth:`distinct() <dataset.Table.distinct>` we can grab a set of rows
with unique values in one or more columns::