0.7.0
What's Changed
- Added:
PrimaryKeyedTablenow has aPrimaryKeyprimary associated type (#69). - Added:
QueryExpression<Optional>.map,flatMapfor unwrapping optional expressions (#80). - Added:
QueryFragment.prepare, for preparing SQL and bindings for a database driver (#78). - Added:
Drafts can now use many of the helpers defined on their parent table type, includingfindand various dynamic member lookup helpers (#84). - Added:
jsonGroupArrayimprovements, includingisDistinctand an overload for automatically filtering optionals (#60). - Added:
whereandhavingcan now return optional booleans (#61). - Fixed: Remove trailing comma to restore Swift 6.0 support (#75).
- Fixed: Allow
group(by:)to work with#sqlstrings without qualifying the expression type (#79). - Fixed:
QueryExpression.min,max()now work with any type, not just integers (thanks @Graveion, #76).
New Contributors
Full Changelog: 0.6.0...0.7.0