Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
p7nov committed Jul 19, 2023
1 parent e2aac99 commit 0f86a83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions doc/concepts/data_model/value_store.rst
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@ more strict references.
Creating foreign keys
~~~~~~~~~~~~~~~~~~~~~


.. important::

For each foreign key, there must exist a parent space index that includes
Expand Down
4 changes: 2 additions & 2 deletions doc/reference/reference_lua/box_schema/space_create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ space_opts

.. literalinclude:: /code_snippets/test/constraints/constraint_test.lua
:language: lua
:lines: 21-26
:lines: 21-29
:dedent:

.. _space_opts_foreign_key:
Expand All @@ -173,7 +173,7 @@ space_opts

.. literalinclude:: /code_snippets/test/foreign_keys/tuple_foreign_key_test.lua
:language: lua
:lines: 34-46
:lines: 34-47
:dedent:

Saying ``box.cfg{read_only=true...}`` during :ref:`configuration <cfg_basic-read_only>`
Expand Down
2 changes: 1 addition & 1 deletion doc/reference/reference_lua/box_space/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ space_object:format()
* (Optional) The ``collation`` string value specifies the :ref:`collation <index-collation>` used to compare field values.
See also: :ref:`key_part.collation <key_part_collation>`.
* (Optional) The ``constraint`` table specifies the :ref:`constraints <index-constraints>` that the field value must satisfy.
* (Optional) The ``foreign_key`` table specifies the :ref:`foreign key <index-box_foreign_keys>` for the field.
* (Optional) The ``foreign_key`` table specifies the :ref:`foreign keys <index-box_foreign_keys>` for the field.

It is not legal for tuples to contain values that have the wrong type.
The example below will cause an error:
Expand Down

0 comments on commit 0f86a83

Please sign in to comment.