branch: elpa/emacsql commit 4f6b524b9f84b0be43aee0932c33c69812bdbc55 Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Rename spec to schema. --- emacsql.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacsql.el b/emacsql.el index a59f91931e..ebefea0f5d 100644 --- a/emacsql.el +++ b/emacsql.el @@ -213,10 +213,10 @@ If NAMED is non-nil, don't include column names." ,@body (emacsql--check-error ,conn))) -(defun emacsql-create (conn table spec &optional if-not-exists) - "Create TABLE in CONN with SPEC." +(defun emacsql-create (conn table schema &optional if-not-exists) + "Create TABLE in CONN with SCHEMA." (emacsql-with-errors conn - (cl-loop for column being the elements of spec + (cl-loop for column being the elements of schema when (consp column) collect (mapconcat #'emacsql-escape column " ") into parts