Skip to content

Commit 1c950ac

Browse files
Docs: do not deprecate query(), needed for no condition + order
This reverts commit e89779a.
1 parent 6d30a1a commit 1c950ac

File tree

1 file changed

+2
-3
lines changed
  • objectbox-java/src/main/java/io/objectbox

1 file changed

+2
-3
lines changed

objectbox-java/src/main/java/io/objectbox/Box.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -594,11 +594,10 @@ public long panicModeRemoveAll() {
594594
}
595595

596596
/**
597-
* Returns a builder to create queries for Object matching supplied criteria.
597+
* Create a query with no conditions.
598598
*
599-
* @deprecated New code should use {@link #query(QueryCondition)} instead.
599+
* @see #query(QueryCondition)
600600
*/
601-
@Deprecated
602601
public QueryBuilder<T> query() {
603602
return new QueryBuilder<>(this, store.getNativeStore(), store.getDbName(entityClass));
604603
}

0 commit comments

Comments
 (0)