objectbox-kotlin / io.objectbox.kotlin / io.objectbox.Box / query

query

inline fun <T> Box<T>.query(block: QueryBuilder<T>.() -> Unit): Query<T>

Allows building a query for this Box instance with a call to build to return a Query instance.

val query = box.query {
    equal(Entity_.property, value)
}