[Tarantool-patches] [PATCH] Formatted select in lua console
Aleksandr Lyapunov
alyapunov at tarantool.org
Fri Jul 10 13:08:27 MSK 2020
GH Issue: https://github.com/tarantool/tarantool/issues/5161
GH branch:
https://github.com/tarantool/tarantool/tree/alyapunov/gh-5161-fselect
On 10.07.2020 13:03, Aleksandr Lyapunov wrote:
> Introduce space:fselect and index:fselect.
> The example is better than explanation:
>
> tarantool> _user:fselect{}
> ---
> - - +-----+-----+-------------+------+--------------------------------------------+
> - | id |owner| name | type | auth |
> - +-----+-----+-------------+------+--------------------------------------------+
> - | 0 | 1 | "guest" |"user"|{"chap-sha1":"vhvewKp0tNyweZQ+cFKAlsyphfg="}|
> - | 1 | 1 | "admin" |"user"| {} |
> - | 2 | 1 | "public" |"role"| {} |
> - | 3 | 1 |"replication"|"role"| {} |
> - | 31 | 1 | "super" |"role"| {} |
> - +-----+-----+-------------+------+--------------------------------------------+
> ...
>
>
> Aleksandr Lyapunov (1):
> Introduce fselect - formatted select
>
> src/box/lua/schema.lua | 105 ++++++++++++++++++++++++++++++++
> test/engine/select.result | 142 ++++++++++++++++++++++++++++++++++++++++++++
> test/engine/select.test.lua | 25 ++++++++
> 3 files changed, 272 insertions(+)
>
More information about the Tarantool-patches
mailing list