Function: emacsql-escape-scalar
emacsql-escape-scalar is a byte-compiled function defined in
emacsql-compiler.el.
Signature
(emacsql-escape-scalar VALUE)
Documentation
Escape VALUE for sending to SQLite.
Source Code
;; Defined in ~/.emacs.d/elpa/emacsql-20261001.1544/emacsql-compiler.el
(defun emacsql-escape-scalar (value)
"Escape VALUE for sending to SQLite."
(let ((print-escape-newlines t)
(print-escape-control-characters t))
(cond ((null value) "NULL")
((numberp value) (prin1-to-string value))
((emacsql-quote-scalar (prin1-to-string value))))))