Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Features since 0.7.5: * f-strings support in queries: `select(f'{s.name} - {s.age}' for s in Student)` * #344: It is now possible to specify offset without limit: `query.limit(offset=10)` * #371: Support of explicit casting of JSON expressions to `str`, `int` or `float` * `@db.on_connect` decorator added # Bugfixes * Fix bulk delete bug introduced in 0.7.4 * #370 Fix memory leak introduced in 0.7.4 * Now `exists()` in query does not throw away condition in generator expression: `exists(s.gpa > 3 for s in Student)` * #373: 0.7.4/0.7.5 breaks queries using the `in` operator to test membership of another query result * #374: `auto=True` can be used with all PrimaryKey types, not only `int` * #369: Make QueryResult looks like a list object again: add concatenation with lists, `.shuffle()` and `.to_list()` methods * #355: Fix binary primary keys `PrimaryKey(buffer)` in Python2 * Interactive mode support for PyCharm console * Fix wrong table aliases in complex queries * Fix query optimization code for complex queries * Fix a bug with hybrid properties that use external functions
- Loading branch information