diff options
author | Thanos Apollo <[email protected]> | 2024-01-26 10:37:09 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-26 10:37:09 +0200 |
commit | f599f5db6839bf7b6b888fb9db2b8cd1f9544a0d (patch) | |
tree | bd448e3cd377085cea2da6a128c058b89e9e255f | |
parent | ede4923305e31f9da4933653b89e37b311eeed7b (diff) |
gnosis-select: Update docstring
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |