Skip to content

Commit a29e36d

Browse files
committed
Fixed typo by comment
1 parent df81c20 commit a29e36d

File tree

1 file changed

+5
-5
lines changed
  • doc/reference/reference_lua/box_index

1 file changed

+5
-5
lines changed

doc/reference/reference_lua/box_index/parts.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
.. _box_index-parts:
22

33
===============================================================================
4-
index_object:parts
4+
index_object.parts
55
===============================================================================
66

77
.. class:: index_object
88

99
.. data:: parts
1010

1111
The index's key parts.
12-
Since version :doc:`3.0.0 </release/3.0.0>`, the ``index_object:parts`` can operate methods
12+
Since version :doc:`3.0.0 </release/3.0.0>`, the ``index_object.parts`` can operate methods
1313
:ref:`extract_key() <key_def-extract_key>`,
1414
:ref:`compare() <key_def-compare>`,
1515
:ref:`compare_with_key() <key_def-compare_with_key>`,
1616
:ref:`merge() <key_def-merge>`.
1717

18-
**``index_object:parts`` example**
18+
**``index_object.parts`` example**
1919

2020
.. code-block:: lua
21-
21+
2222
box.schema.space.create('T')
2323
i = box.space.T:create_index('I', {parts={3, 'string', 1, 'unsigned'}})
2424
box.space.T:insert{1, 99.5, 'X', nil, 99.5}
@@ -27,7 +27,7 @@ index_object:parts
2727
**``key_def`` equivalent**
2828

2929
.. code-block:: lua
30-
30+
3131
key_def = require('key_def')
3232
box.schema.space.create('T')
3333
i = box.space.T:create_index('I', {parts={3, 'string', 1, 'unsigned'}})

0 commit comments

Comments
 (0)