Skip to content
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

Filters on String #8008

Closed
Vanilil opened this issue Oct 27, 2022 · 0 comments · Fixed by #8557
Closed

Filters on String #8008

Vanilil opened this issue Oct 27, 2022 · 0 comments · Fixed by #8557

Comments

@Vanilil
Copy link

Vanilil commented Oct 27, 2022

Problem

'Invalid operator type', reason: 'Operator '>' not supported for type 'string''
I don't understand why operator like '>' or '<' are not supported for type 'string' since it works in realm studio.

let name = "James"
let query = try! Realm().objects(myQuery_Realm).filter("name < %@", name)

Solution

No response

How important is this improvement for you?

I'd like to see it, but have a workaround

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants