Realm-java: Support string-comparison queries

Created on 27 Mar 2017  路  3Comments  路  Source: realm/realm-java

I need to do between/lessThan/greaterThan queries on String fields.

I'd like to use it to grab a series of alphabetically-sorted chunks from a collection.

If we can sort on a field (as we can with String fields), then we should be able to comparison-query on it too... right?

O-Community Pipeline-On-Hold T-Feature

Most helpful comment

@nolanamy I can see the value in your suggestion, and that you don't wish to sort all of objects to iterate through then to find only a fraction. Realm Core doesn't expose an API for doing it directly.

All 3 comments

@nolanamy I can see the value in your suggestion, and that you don't wish to sort all of objects to iterate through then to find only a fraction. Realm Core doesn't expose an API for doing it directly.

no news on this? :/

@Grohden Not really. We have looked at supporting the same string-based query language as Realm JS is using (see #6116) but Realm Core still lacks this functionality.

Was this page helpful?
0 / 5 - 0 ratings