next.jdbc.defer
(source)The idea behind the next.jdbc.defer namespace is to provide a
way to defer the execution of a series of SQL statements until
a later time, but still provide a way for inserted keys to be
used in later SQL statements.
The principle is to provide a core subset of the next.jdbc
and next.jdbc.sql API that produces a data structure that
describes a series of SQL operations to be performed, that
are held in a dynamic var, and that can be executed at a
later time, in a transaction.
Public Variable | Short Description |
---|---|
defer-ops (clj) | |
deferrable (clj) | |
delete! (clj) | Given a table name, and either a hash map of columns and values to search on or a vector of a SQL where clause and parameters, defer a delete on the table. |
execute-one! (clj) | Given a vector containing a SQL statement and parameters, defer execution of that statement. |
insert! (clj) | Given a table name, and a data hash map, defer an insertion of the data as a single row in the database. |
update! (clj) | Given a table name, a hash map of columns and values to set, and either a hash map of columns and values to search on or a vector of a SQL where clause and parameters, defer an update on the table. |
with-deferred (clj) |