From f599f5db6839bf7b6b888fb9db2b8cd1f9544a0d Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 26 Jan 2024 10:37:09 +0200 Subject: gnosis-select: Update docstring --- gnosis.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnosis.el b/gnosis.el index e381c54..9fc9f67 100644 --- a/gnosis.el +++ b/gnosis.el @@ -146,7 +146,9 @@ :group 'gnosis-face) (cl-defun gnosis-select (value table &optional (restrictions '1=1) (flatten nil)) - "Select VALUE from TABLE, optionally with RESTRICTIONS." + "Select VALUE from TABLE, optionally with RESTRICTIONS. + +Optional argument FLATTEN, when non-nil, flattens the result." (let ((output (emacsql gnosis-db `[:select ,value :from ,table :where ,restrictions]))) (if flatten (apply #'append output) -- cgit v1.2.3