objectbox-java
objectbox-java copied to clipboard
remove and offset, limit
i want remove all objects for example 100 records in next page without find, how can doing it with QueryBuilder
and remove()
currently limit and offset exists only in find()
method, but i don't want load it in memory then removing them
i think limit and offset must be added in QueryBuilder
, then we can removing paginate items, or even subscribe only page 1 [offset: 0, limit: 100]
of data for example ( currently we can't subscribe only for page 1 [offset: 0, limit: 100]
of data )
Thanks!
As a workaround it is possible to use findIds(offset, limit)
to not return all data. Then use that to remove with box.removeByIds(ids)
.