Function: emacsql-sqlite-list-tables
emacsql-sqlite-list-tables is a byte-compiled function defined in
emacsql-sqlite.el.
Signature
(emacsql-sqlite-list-tables CONNECTION)
Documentation
Return a list of symbols identifying tables in CONNECTION.
Tables whose names begin with "sqlite_", are not included in the returned value.
Source Code
;; Defined in ~/.emacs.d/elpa/emacsql-20261001.1544/emacsql-sqlite.el
(defun emacsql-sqlite-list-tables (connection)
"Return a list of symbols identifying tables in CONNECTION.
Tables whose names begin with \"sqlite_\", are not included
in the returned value."
(mapcar #'car
(emacsql connection
[:select name
;; The new name is `sqlite-schema', but this name
;; is supported by old and new SQLite versions.
;; See https://www.sqlite.org/schematab.html.
:from sqlite-master
:where (and (= type 'table)
(not-like name "sqlite_%"))
:order-by [(asc name)]])))