mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-05 05:42:58 +00:00
* lisp/ob-sqlite.el: Document all the function arguments
(org-babel-execute:sqlite): (org-babel-sqlite-offset-colnames):
This commit is contained in:
parent
13353f1fa3
commit
46a52a5708
|
@ -70,7 +70,7 @@
|
|||
(defvar org-babel-sqlite3-command "sqlite3")
|
||||
|
||||
(defun org-babel-execute:sqlite (body params)
|
||||
"Execute a block of Sqlite code with Babel.
|
||||
"Execute Sqlite BODY according to PARAMS.
|
||||
This function is called by `org-babel-execute-src-block'."
|
||||
(let ((result-params (split-string (or (cdr (assq :results params)) "")))
|
||||
(db (cdr (assq :db params)))
|
||||
|
@ -139,7 +139,7 @@ This function is called by `org-babel-execute-src-block'."
|
|||
result)))
|
||||
|
||||
(defun org-babel-sqlite-offset-colnames (table headers-p)
|
||||
"If HEADERS-P is non-nil then offset the first row as column names."
|
||||
"If HEADERS-P is non-nil then offset the first row as column names in TABLE."
|
||||
(if headers-p
|
||||
(cons (car table) (cons 'hline (cdr table)))
|
||||
table))
|
||||
|
|
Loading…
Reference in a new issue