Skip to content

Conversation

@coenttb
Copy link

@coenttb coenttb commented Aug 26, 2025

Summary

This PR updates SharingGRDB to support the new boolean type handling introduced in pointfreeco/swift-structured-queries#141.

Changes

  • Updated Package.swift to point to the feature/native-boolean-support branch of swift-structured-queries
  • Added handling for the new .bool case in QueryCursor.swift

Context

As requested by @stephencelis in the swift-structured-queries PR, this demonstrates the changes needed in SharingGRDB to support proper boolean type handling for databases with native boolean types (like PostgreSQL) while maintaining backward compatibility with SQLite.

Testing

All tests pass with these changes.

- Point to coenttb/swift-structured-queries feature/native-boolean-support branch
- Add handling for new .bool case in QueryCursor
- Updates to support proper boolean type handling for databases with native boolean types
@stephencelis
Copy link
Member

@coenttb Did you mean to close this? We'll need it whenever the corresponding StructuredQueries PR lands and a release is cut.

@coenttb
Copy link
Author

coenttb commented Aug 27, 2025

I did not, must have happened on accident when renaming the repo. Best if I PR again? Otherwise, the changes are so minimal (it's just a single case), it might be quicker for you to do yourself.

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