Function: emacsql-escape-raw

emacsql-escape-raw is a byte-compiled function defined in emacsql-compiler.el.

Signature

(emacsql-escape-raw VALUE)

Documentation

Escape VALUE for sending to SQLite.

Source Code

;; Defined in ~/.emacs.d/elpa/emacsql-20261001.1544/emacsql-compiler.el
(defun emacsql-escape-raw (value)
  "Escape VALUE for sending to SQLite."
  (cond ((null value) "NULL")
        ((stringp value) (emacsql-quote-scalar value))
        ((error "Expected string or nil"))))