From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SEbSNXzO02P7kgAAbAwnHQ (envelope-from ) for ; Fri, 27 Jan 2023 14:15:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MEu9NXzO02OLJQAA9RJhRA (envelope-from ) for ; Fri, 27 Jan 2023 14:15:40 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B385220994 for ; Fri, 27 Jan 2023 14:15:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLOZT-00031p-EB; Fri, 27 Jan 2023 08:15:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLOZR-00031h-Im for emacs-orgmode@gnu.org; Fri, 27 Jan 2023 08:15:09 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLOZP-0003Ka-Nm for emacs-orgmode@gnu.org; Fri, 27 Jan 2023 08:15:09 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0B5B42407AF for ; Fri, 27 Jan 2023 14:15:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674825306; bh=dms3j1mWngqapsICB3zHTHXZBtKVZxtvKUcVInvyeUg=; h=From:To:Cc:Subject:Date:From; b=mFUgjX34sQkAJJoKG2D2/vUb8v7Fad4HZC/4GnWDOep50Sk4mvhy05ndypMXHT5D7 TUk/6knM3tUr+54MU4IKmTCMvHj1ewcjqNf48yR0kUUOevksvMMuKYX/U+KlUgkJ4p QC7LExK/FqEpi3bj0F/BZ0sCZa6h5NwK5cak/lpoh1xySz2HxWIN9Fnp96Qg8+2j3z gdDS3zcnZ7TNkzq6BnXvL/KJxxvmdrB95FBf15tBcJ93XVQs9FCUWZC0jvtA1CN/Wv /lVcy50HzHY6eIrgs1XqIxpsBYwv6n/8kLaww2gJKW2UTXxx3gTIHvOymlw/C8sZ62 zfOITLzhTOLJA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P3J2x1Z3zz9rxH; Fri, 27 Jan 2023 14:15:05 +0100 (CET) From: Ihor Radchenko To: Andreas Gerler Cc: emacs-orgmode@gnu.org Subject: Re: ob-sql dbconnection engine In-Reply-To: <31A92865-F761-42B4-BDD6-C8189CDE2045@bundesbrandschatzamt.de> References: <31A92865-F761-42B4-BDD6-C8189CDE2045@bundesbrandschatzamt.de> Date: Fri, 27 Jan 2023 13:15:37 +0000 Message-ID: <871qng86fa.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674825340; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=aAkoUrppLKdV6ZZYprvl4S4LR/EYQAqkSYc5JZZwbaY=; b=c85EdvCXzSd5os/u0oix6G6OP09UoIHM71oyX/9kUDmJOZhLPbJOsMbVJB6XGIkXzBaxUs cbblD9uXqsrybr/nN//Yx4k50yed0rWwrAzWrnCTDs9UhKUIFlTdfdNuS73dDW7Oo/Msy1 BCRigd7eK8RwkvWWB7bO6tPo2Ci9T8+jEf9RZpVEqpJHknYg05LfUTG2nZj1L9Cjd9YGjW F9aTWmAUcyiScnxcNHrIcEC3Jg0aQg7FIfsoLIldwYTQOKpqOE67jthqpk39H33INHUfNx KgxE8WUPySD5HkffxEA4fgZc6q8ndC2eMIh6yqd3JwHdnvKmVt+ial55UbCrBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mFUgjX34; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674825340; a=rsa-sha256; cv=none; b=jMt8Rhv6o+r9QU2vWhpZKFP938EZXWTk+ODVHonm9zMYdJ3dT4F6D4yrVoZWbvZwYn3Cnw 8eYg/MMXTP9R16gZp/m6+a3gYtmyYa7iGCPDKLNrprz+SDqkvR1DNay3cRKYbba4wPCDYA 95fokP9Cu8G4gXjDVKPhm2+CZdpNAXwyjTxraATfoQmlYFXHIbttSSrYADb6stqgDIpoLY bMlTVm9qD3wZOL55BTHlOWhh0JZ46GOj4BKFAsIztmnc4dynEs5YXJUh+Kg9ASIbZVcMP4 M+vkH6lZW2btaHw+vPtLFI/YF7edkRUPDWYuNIbPAx8tyZ/2I2WbQaB0IKp40A== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mFUgjX34; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.33 X-Spam-Score: -9.33 X-Migadu-Queue-Id: B385220994 X-TUID: SczoVy3WS5xL Andreas Gerler writes: > as I am still learning more elisp it took me some try and error but I can use the sql-product now within dbconnection. > Using :engine still works as well. > Still wondering if there is a more elegant way for the if clause. Thanks for the patch! Could you please explain in more details what the patch does? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at