Skip to content

Commit

Permalink
Final updates from feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
cbullinger committed Feb 2, 2024
1 parent 8a428aa commit 2ba1526
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions source/sdk/kotlin/realm-database/crud/read.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ This page describes how to query and lazily read objects persisted in a database
with the Atlas Device SDK for Kotlin. This lazy evaluation enables code
efficiency and performance when handling large data sets and complex queries.

.. note:: Cannot Read Asymmetric Objects

You *cannot* read asymmetric objects because they are special
write-only objects that do not persist to the database. For information on
how to use asymmetric objects in your application, refer to
:ref:`kotlin-stream-data-to-atlas`.

Read Operations
---------------

Expand Down Expand Up @@ -228,6 +221,13 @@ To query all objects of a specific type, pass the ``RealmObject`` or
`query() <{+kotlin-local-prefix+}io.realm.kotlin.ext/query.html>`__
without any query arguments. The SDK returns all objects of the specified type.

.. note:: Cannot Read Asymmetric Objects

You *cannot* read asymmetric objects because they are special
write-only objects that do not persist to the database. For information on
how to use asymmetric objects in your application, refer to
:ref:`kotlin-stream-data-to-atlas`.

In the following example, we query all ``RealmObject`` objects of type ``Frog``:

.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.query-by-object-type.kt
Expand Down Expand Up @@ -590,7 +590,8 @@ The SDK supports the following geospatial shapes:
- ``GeoBox``: defined by two ``GeoPoint`` coordinates that represent the
southwest and northeast corners of the box
- ``GeoPolygon``: defined by a set of at least 4 ``GeoPoint`` coordinates that
represent a closed shape
represent a closed shape. This shape can contain holes that represent
exclusive boundaries within the confines of the defined polygon.

For more information on geospatial shapes and how to define them, refer to
:ref:`kotlin-geospatial`.
Expand Down

0 comments on commit 2ba1526

Please sign in to comment.