Top.Mail.Ru
Tables | Tarantool
 

Tables

Tables

Tables are very useful and rST markup offers different ways to create them.

We prefer list-tables because they allow you to put as much content as you need without painting ASCII-style borders:

..  container:: table

    ..  list-table::
        :widths: 25 75
        :header-rows: 1

        *   -   Name
            -   Use

        *   -   :doc:`/reference/reference_lua/box_ctl/wait_ro`
            -   Wait until ``box.info.ro`` is true

This is how the table will look like:

Имя Назначение
box.ctl.wait_ro() Дождаться, пока не будет выполнено box.info.ro

Notice that we use * and then - in tables because it is more readable when rows and columns marked differently.