msiemens/tinydb — pull request #38 by wearp (2014-11-01 14:22:35+00:00)
Title: any() and all() to take a list as a condition

Modified `queries.py` for `any()` and `all()` to take a list as condition. They still function along the lines of python's `all()` and `any()`. Inspired by mongodb's `$all`.

Examples:

`where('followers').any(['don', 'jon'])`
`where('followers').all([{'name': 'john'}, {'age': 17}])`

Tests are for free!