File tree 1 file changed +29
-1
lines changed
source/sdk/node/data-types
1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,32 @@ Collections - Node.js SDK
13
13
:class: singlecol
14
14
15
15
Overview
16
- --------
16
+ --------
17
+
18
+ {+service-short+} has several types to represent groups of objects,
19
+ which we call **collections**. A collection is an object that contains
20
+ zero or more instances of one :ref:`{+service-short+} type
21
+ <node-object-types>`. {+service-short+} collections are **homogenous**:
22
+ all objects in a collection are of the same type.
23
+
24
+ You can filter and sort any collection using {+client-database+}'s
25
+ :ref:`query engine <node-client-query-engine>`. Collections are
26
+ :ref:`live <node-live-object>`, so they always reflect the current state
27
+ of the :term:`{+realm+} instance` on the current thread. You can also
28
+ listen for changes in the collection by subscribing to :ref:`collection
29
+ notifications <node-register-a-collection-change-listener>`.
30
+
31
+ Lists
32
+ -----
33
+
34
+
35
+ Overview
36
+ Lists & LinkingObjects
37
+ Results Collection
38
+ Results are Lazily Evaluated
39
+ Collections are Live
40
+ Working With Collections
41
+ Iteration
42
+ Limiting Query Results
43
+ Pagination
44
+ Summary
You can’t perform that action at this time.
0 commit comments