[Tarantool-patches] [PATCH] Formatted select in lua console
Aleksandr Lyapunov
alyapunov at tarantool.org
Fri Jul 10 13:03:53 MSK 2020
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(+)
--
2.7.4
More information about the Tarantool-patches
mailing list