Closed arumata closed 5 years ago
You need a Query for that: 1: https://golang.objectbox.io/queries 2: https://godoc.org/github.com/objectbox/objectbox-go/objectbox#Query.Remove
My Id field have type uint64, but PropertyUint64 does not have function LessThan, so I can't use Query.Remove
Thanks for clarifying. We'll ensure to put that into the upcoming release (~next week).
We just pushed v0.9.0-rc which should fix this. Note that you also need to update libobjectbox to 0.5.0.
Please let us know if that fixes your usage, too. If not, please feel free to reopen. Thank you!
I'd like to remove records by Id less than some value.