From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (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 4080E445320 for ; Fri, 10 Jul 2020 13:08:28 +0300 (MSK) From: Aleksandr Lyapunov References: <1594375434-743-1-git-send-email-alyapunov@tarantool.org> Message-ID: Date: Fri, 10 Jul 2020 13:08:27 +0300 MIME-Version: 1.0 In-Reply-To: <1594375434-743-1-git-send-email-alyapunov@tarantool.org> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: Re: [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 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(+) >