Skip to content

Conversation

@stephencelis
Copy link
Member

@stephencelis stephencelis commented Sep 8, 2025

This is an updated version of #141. Thanks @coenttb for the initial exploration.

This will be a breaking change to SharingGRDB, so will open up a complementary PR there.

While we should support more granular integers and floats and maybe even custom data types with a more extensible structure than an enum, let's start with booleans and unsigned integers for now to unblock MySQL and Postgres drivers.

stephencelis added a commit to pointfreeco/sqlite-data that referenced this pull request Sep 8, 2025
@stephencelis stephencelis changed the title Add explicit Bool case to QueryBinding Add explicit Bool/UInt64 cases to QueryBinding Sep 8, 2025
@stephencelis stephencelis merged commit 1b653ab into main Sep 8, 2025
3 checks passed
@stephencelis stephencelis deleted the bool-query-bindings branch September 8, 2025 21:39
stephencelis added a commit to pointfreeco/sqlite-data that referenced this pull request Sep 8, 2025
* StructuredQueries Bool binding support

- [ ] Update package when this is merged: pointfreeco/swift-structured-queries#164

* unsigned integers

* wip

* wip
coenttb pushed a commit to coenttb/swift-structured-queries-postgres that referenced this pull request Oct 14, 2025
* Add explicit `Bool` case to `QueryBinding`

* wip

* wip

* wip
coenttb pushed a commit to coenttb/swift-structured-queries-postgres that referenced this pull request Oct 15, 2025
* Add explicit `Bool` case to `QueryBinding`

* wip

* wip

* wip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants