Name
*DB-AUTO-SYNC* — Enables SQL storage during Lisp object creation.
Variable
Description
When this variable is
T an instance is stored in the SQL database when the instance is created
by
make-instance. When this variable is
NIL, which is the default value,
CLSQL
behaves like
CommonSQL: instances of view classes are stored to the SQL database only when
update-record-from-slots
is called.
Examples
(let ((instance (make-instance 'foo)))
(update-record-from-slots instance))
;; is equivalent to
(let ((*db-auto-sync* t))
(make-instance 'foo))