-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement queries on lists of primitives #7056
Conversation
1b13246
to
a7931c5
Compare
NSComparisonPredicateOptions predicateOptions, | ||
ColumnReference const& column, R const& rhs); | ||
template <typename... T> | ||
template <template<typename> typename W, typename T> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we give these template types better names? I can see how W
is being used in the method body, but it seems like a fairly arbitrary designation that could use a bit more self documenting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W was initially Wrapper but that name wasn't very accurate and I failed to come up with a good name for it.
a7931c5
to
7c927e3
Compare
Depends on realm/realm-core#4417. |
fef176d
to
20fc3f0
Compare
This hit a new assertion failure in one of the CI runs which realm/realm-core#4428 fixes. Since it's a core 10.5.0 bug and not something new in 10.5.1 it's not blocking this. The other CI failures are pre-existing issues and network failures. |
Also incidentally adds support for a few other things along the way. Binary columns used to not support a lot of queries which were supported on everything else, but they now do and removing the special cases made it a lot easier to support
List<Data>
.Depends on some unreleased functionality in core master, so can't be merged until a release is made there and all non-spm tests will fail.
Fixes #5334.