From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id B7676445320 for ; Fri, 10 Jul 2020 13:03:54 +0300 (MSK) From: Aleksandr Lyapunov Date: Fri, 10 Jul 2020 13:03:53 +0300 Message-Id: <1594375434-743-1-git-send-email-alyapunov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH] Formatted select in lua console List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org Cc: alexander.turenko@tarantool.org 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