Open
Description
This is pretty coming scenario to execute queries on Id field
// objectbox: entity
class MyEntity {
var id: Id = 0
//more fields
}
let box: Box<MyEntity> = ...
let query = box.query {
MyEntity.id.isEquals(to: 0)
}.ordered(by: MyEntity.id) --> COMPILATION ERROR here
.build()
query.setParameter(MyEntity.id, 0) --> COMPILATION ERROR here