Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH] Formatted select in lua console
@ 2020-07-10 10:03 Aleksandr Lyapunov
  2020-07-10 10:03 ` [Tarantool-patches] [PATCH] Introduce fselect - formatted select Aleksandr Lyapunov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Aleksandr Lyapunov @ 2020-07-10 10:03 UTC (permalink / raw)
  To: tarantool-patches; +Cc: alexander.turenko

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-14 19:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 10:03 [Tarantool-patches] [PATCH] Formatted select in lua console Aleksandr Lyapunov
2020-07-10 10:03 ` [Tarantool-patches] [PATCH] Introduce fselect - formatted select Aleksandr Lyapunov
2020-09-14 19:02   ` Alexander Turenko
2020-07-10 10:08 ` [Tarantool-patches] [PATCH] Formatted select in lua console Aleksandr Lyapunov
2020-07-10 15:37 ` Oleg Babin
2020-07-13  8:52   ` Aleksandr Lyapunov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox