Function: emacsql-prepare--string

emacsql-prepare--string is a byte-compiled function defined in emacsql-compiler.el.

Signature

(emacsql-prepare--string STRING)

Documentation

Create a prepared statement from STRING.

Source Code

;; Defined in ~/.emacs.d/elpa/emacsql-20261001.1544/emacsql-compiler.el
(defun emacsql-prepare--string (string)
  "Create a prepared statement from STRING."
  (emacsql-with-params ""
    (replace-regexp-in-string
     "\\$[isv][0-9]+" (lambda (v) (param (intern v))) string)))