Function: emacsql-quote-character

emacsql-quote-character is a byte-compiled function defined in emacsql-compiler.el.

Signature

(emacsql-quote-character C)

Documentation

Single-quote character C for use in a SQL expression.

Source Code

;; Defined in ~/.emacs.d/elpa/emacsql-20261001.1544/emacsql-compiler.el
(defun emacsql-quote-character (c)
  "Single-quote character C for use in a SQL expression."
  (if (char-equal c ?')
      "''''"
    (format "'%c'" c)))