File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -131,13 +131,10 @@ crud.delete('customers', 1)
131131
132132### Select
133133
134- ` CRUD ` performs select across a distributed space with a conditions.
135- Condition can use field names, field numbers or index name as an operand.
136- The first condition that uses index name or matches first parts of any index is
137- used to select an index to iterate over.
138- If no such index found, the primary index is used.
139-
140- ** Note** , that non-TREE indexes are ignored!
134+ ` CRUD ` supports multi-conditional selects, treating a cluster as a single space.
135+ The conditions may include field names or numbers, as well as index names.
136+ The recommended first condition is a TREE index; this helps reducing the number
137+ of tuples to scan. Otherwise a full scan is performed.
141138
142139``` lua
143140local objects , err = crud .select (space_name , conditions , opts )
You can’t perform that action at this time.
0 commit comments