Is there an API or method for querying the first and last data in objectbox-go.
Similar to the First() and Last() methods in Gorm.
I need to use this method to query one by one and then send the data to the server.But I haven't found any relevant methods in objectbox-go.
Several possibilities:
The ID based approach is likely the most resource friendly if you have lots of objects. If you have only a couple of hundred objects or less, you can go with the first approach, which is the simplest one.