You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyone knows how to create the query or what datatype i should use instead? Currently my workaround would be to query all and then do the filtering with standard Kotlin function. But performance sucks.
Hope anyone can help.
Version
1.12.0
The text was updated successfully, but these errors were encountered:
How frequently does the bug occur?
Always
Description
Example class in kotlin sdk:
class Workout : RealmObject { /** PROPERTIES */ @PrimaryKey var id: RealmUUID = RealmUUID.random() var created: RealmInstant? = RealmInstant.now() }
Example call (empty result):
val workouts = realm.query(Workout::class, query = “date < $0”, RealmInstant.now()).find()
Sadly i always get an empty result. No matter which direction of the comparison operator I'm using.
I did’nt find anything in the documentation how to query Realminstant:
https://www.mongodb.com/docs/realm/realm-query-language/ 1
Anyone knows how to create the query or what datatype i should use instead? Currently my workaround would be to query all and then do the filtering with standard Kotlin function. But performance sucks.
Hope anyone can help.
Version
1.12.0
The text was updated successfully, but these errors were encountered: