Skip to content

Commit 5456234

Browse files
ObjectBoxgitbook-bot
ObjectBox
authored andcommitted
GITBOOK-573: Queries: link to observers
1 parent ef3cf77 commit 5456234

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

queries.md

+8
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,14 @@ query.close();
535535
{% endtab %}
536536
{% endtabs %}
537537

538+
### Observe or listen to results
539+
540+
To observe or listen to changes to the results of a query, see the data observers page:
541+
542+
{% content-ref url="data-observers-and-rx.md" %}
543+
[data-observers-and-rx.md](data-observers-and-rx.md)
544+
{% endcontent-ref %}
545+
538546
## Query a single property
539547

540548
If you only want to return the values of a particular property and not a list of full objects you can use a [PropertyQuery](https://objectbox.io/files/objectbox-java/current/io/objectbox/query/PropertyQuery.html). After building a query, simply call `property(Property)` to define the property followed by the appropriate find method.

0 commit comments

Comments
 (0)