๐Ÿ“ฆ brijeshb42 / querybuilder

๐Ÿ“„ README.md ยท 9 lines
1
2
3
4
5
6
7
8
9# Querybuilder

A module to build human readable SQL query string and then optionally convert them to `where()` caluse expressions for [Peewee](http://peewee-orm.com).

```python
from querybuilder import Field as F, AND, OR
query = OR(AND(F('pageviews') >= 10000, F('author_ids').contains(7,8,9)))
```