Replies: 1 comment 3 replies
-
|
@mertalev Tupling requires parameter packs, which is an iOS 17+-only feature. But we also don't think this is a big deal: you can introduce a struct and the So we don't consider this a bug and don't think there's a reasonable way to support tuple selections without parameter packs. I'm going to convert this to a discussion, for now, but if you have any ideas on how we can reasonably support such a feature, please continue the conversation there! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
The query builder doesn't allow selecting tuples unless I increase the iOS requirement to iOS 17, which seems rather arbitrary rather than an actual limitation. The minimum iOS version in my project is 14.
Checklist
mainbranch of this package.Expected behavior
Given that it can select all columns or one column, the API for selecting some columns should not have different version requirements.
Actual behavior
Any tuple output type results in the version requirement increasing to iOS 17, while other parts of the API do not require this version.
Reproducing project
Given the table:
Compilation fails if I try to query it as such:
Selecting one column works, as does selecting
self:Interestingly, selecting one column doesn't work either for
returning:Structured Queries version information
0.25.2 (sqlite-data is 1.3.0)
Destination operating system
iOS 26.1
Xcode version information
Version 26.0.1 (17A400)
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions