github pointfreeco/swift-structured-queries 0.7.0

latest releases: 0.19.0, 0.18.0, 0.17.1...
2 months ago

What's Changed

  • Added: PrimaryKeyedTable now has a PrimaryKey primary associated type (#69).
  • Added: QueryExpression<Optional>.map,flatMap for 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, including find and various dynamic member lookup helpers (#84).
  • Added: jsonGroupArray improvements, including isDistinct and an overload for automatically filtering optionals (#60).
  • Added: where and having can now return optional booleans (#61).
  • Fixed: Remove trailing comma to restore Swift 6.0 support (#75).
  • Fixed: Allow group(by:) to work with #sql strings 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

Don't miss a new swift-structured-queries release

NewReleases is sending notifications on new releases.