Releases: k98kurz/sqloquent
Releases · k98kurz/sqloquent
v0.7.2
v0.7.1
0.7.1
- Added automatic connection pooling to
SqliteContextandAsyncSqliteContext - Updated
SqlQueryBuilderandAsyncSqlQueryBuilderto use the connection pooling inchunk - Updated packify dependency to 0.3.1
- Improved relation docstrings set by ORM helper functions
- Added library version to CLI help text
- Added
less_or_equalandgreater_or_equalto query builders - Bugfix: ORM now gracefully handles empty
containsrelation foriegn id column
Full Changes: v0.7.0...v0.7.1
v0.7.0
0.7.0
- New method
HashedModel.preimageto get the preimage of the sha256 id in the
form of the bytes-serialized non-id, non-excluded columns and their values. - Method
HashedModel.generate_idnow callspreimageinternally.
Full Changelog: v0.6.2...v0.7.0
v0.6.2
0.6.2
- Updated migration system to use the
quote_identifierandquote_sql_str_value
functions for quoting identifiers and string values. - Updated
quote_identifierto properly quote components in a multi-part
identifier and raise ValueError when a component has an unmatched double
quotation mark or when the identifier contains a single quote. - Added new unit tests for
quote_identifierandquote_sql_str_value
Full Changelog: v0.6.1...v0.6.2