Function: emacsql-clear

emacsql-clear is a byte-compiled function defined in emacsql.el.

Signature

(emacsql-clear &rest ARGS)

Implementations

(emacsql-clear (CONNECTION emacsql-connection)) in `emacsql.el'.

Clear the connection buffer for CONNECTION-SPEC.

Source Code

;; Defined in ~/.emacs.d/elpa/emacsql-20261001.1544/emacsql.el
(cl-defmethod emacsql-clear ((connection emacsql-connection))
  "Clear the connection buffer for CONNECTION-SPEC."
  (let ((buffer (emacsql-buffer connection)))
    (when (and buffer (buffer-live-p buffer))
      (with-current-buffer buffer
        (erase-buffer)))))