You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/select.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,27 @@
1
1
# Select examples
2
2
3
+
## Table of Contents
4
+
5
+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
6
+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
7
+
8
+
-[Filtering](#filtering)
9
+
-[Examples schema](#examples-schema)
10
+
-[Getting space](#getting-space)
11
+
-[Select using index](#select-using-index)
12
+
-[Select using composite index](#select-using-composite-index)
13
+
-[Select using partial key](#select-using-partial-key)
14
+
-[Select using non-indexed field](#select-using-non-indexed-field)
15
+
-[Avoiding full scan](#avoiding-full-scan)
16
+
-[Pagination](#pagination)
17
+
-[``first`` parameter](#first-parameter)
18
+
-[``after`` parameter](#after-parameter)
19
+
-[Combine ``first`` and ``after``](#combine-first-and-after)
20
+
-[Reverse pagination](#reverse-pagination)
21
+
-[`fields` parameter](#fields-parameter)
22
+
23
+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
24
+
3
25
## Filtering
4
26
5
27
``CRUD`` allows to filter tuples by conditions. Each condition can use field name (or number) or index name. The first condition that uses index name is used to iterate over space. If there is no conditions that match index names, full scan is performed. Other conditions are used as additional filters. Search condition for the indexed field must be placed first to avoid a full scan.
0 commit comments