From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id ACF1E271E0 for ; Wed, 28 Aug 2019 05:38:05 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r28EXJFKOzZ5 for ; Wed, 28 Aug 2019 05:38:05 -0400 (EDT) Received: from smtp55.i.mail.ru (smtp55.i.mail.ru [217.69.128.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 6DB2B271D5 for ; Wed, 28 Aug 2019 05:38:05 -0400 (EDT) Date: Wed, 28 Aug 2019 12:38:03 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 7/8] netbox: allow passing options to :execute() Message-ID: <20190828093803.GJ19848@atlas> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: Nikita Pettik Cc: tarantool-patches@freelists.org, v.shpilevoy@tarantool.org, alexander.turenko@tarantool.org * Nikita Pettik [19/08/27 16:34]: > To implement dry-run execution, let's allow 'options' be valid argument > of :execute() method. SQL options are encoded with IPROTO_OPTIONS > request key. Options are supposed to be a map of named parameters or a > list of unnamed (considering their order). The only currently available > option is 'dry_run' with boolean values. Now it doesn't affect anything, > but will allow to get meta-information of query execution. Please don't bother with anything but a map. -- Konstantin Osipov, Moscow, Russia