File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
doc/reference/reference_lua/box_index Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ index_object:max()
14
14
:param scalar/table key: values to be matched against the index key
15
15
16
16
:return: the tuple for the last key in the index. If the optional ``key `` value
17
- is supplied, returns the last key which is less than or equal to ``key ``.
18
- Starting with :doc: `Tarantool 2.0.4 <release/2.1.2 >`, ``index_object:max(key) ``
17
+ is supplied, returns the last key that is less than or equal to ``key ``.
18
+ Starting with :doc: `Tarantool 2.0.4 </ release/2.1.2 >`, ``index_object:max(key) ``
19
19
returns nothing if ``key `` doesn't match any value in the index.
20
20
:rtype: tuple
21
21
Original file line number Diff line number Diff line change @@ -14,12 +14,11 @@ index_object:min()
14
14
<app_server-object_reference>`.
15
15
:param scalar/table key: values to be matched against the index key
16
16
17
- :return: the tuple for the first key in the index. If optional
18
- ``key `` value is supplied, returns the first key which
19
- is greater than or equal to ``key `` value.
20
- Starting with Tarantool version 2.0, index_object:min(``key ``
21
- value) will return nothing
22
- if ``key `` value is not equal to a value in the index.
17
+ :return: the tuple for the first key in the index. If the optional
18
+ ``key `` value is supplied, returns the first key that is greater than or equal to ``key ``.
19
+ Starting with :doc: `Tarantool 2.0.4 </release/2.1.2 >`,
20
+ ``index_object:min(key) `` returns nothing
21
+ if ``key `` doesn't match any value in the index.
23
22
:rtype: tuple
24
23
25
24
**Possible errors: ** index is not of type 'TREE'.
You can’t perform that action at this time.
0 commit comments