Skip to content

Commit 3c6ba17

Browse files
doc: remove misleading info
Closes #241
1 parent 3f2db88 commit 3c6ba17

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,8 @@ errs[4].tuple -- {92, 2040, "Artur", 29}
924924
### Select
925925

926926
`CRUD` supports multi-conditional selects, treating a cluster as a single space.
927-
The conditions may include field names or numbers, as well as index names.
927+
The conditions may include field names, as well as index names.
928+
(Refer to [#352](https://github.com/tarantool/crud/issues/352) for field number.)
928929
The recommended first condition is a TREE index; this helps reducing the number
929930
of tuples to scan. Otherwise a full scan is performed.
930931

@@ -970,7 +971,7 @@ Select conditions are very similar to Tarantool update
970971
Each condition is a table `{operator, field-identifier, value}`:
971972

972973
* Supported operators are: `=` (or `==`), `>`, `>=`, `<`, `<=`.
973-
* Field identifier can be field name, field number, or index name.
974+
* Field identifier can be field name or index name. (Refer to [#352](https://github.com/tarantool/crud/issues/352) for field number.)
974975

975976
**Example:**
976977

doc/select.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
## Filtering
2626

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. In additional, don't forget to limit amount of results with ``first`` parameter. This will help to avoid too long selects in production.
27+
``CRUD`` allows to filter tuples by conditions. Each condition can use field name or index name. (Refer to [#352](https://github.com/tarantool/crud/issues/352) for field number.) 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. In additional, don't forget to limit amount of results with ``first`` parameter. This will help to avoid too long selects in production.
2828

2929
**Note:** If you specify sharding key or ``bucket_id`` select will be performed on single node. Otherwise Map-Reduce over all nodes will be occurred.
3030

0 commit comments

Comments
 (0)