(disable-triggers db table)
Disable triggers on the database table
.
Disable triggers on the database `table`.
(dump-fixtures db directory tables & [opts])
Write the fixtures for tables
into directory
.
Write the fixtures for `tables` into `directory`.
(enable-triggers db table)
Enable triggers on the database table
.
Enable triggers on the database `table`.
(fixture-path db-name)
Returns the fixture path for db-name
.
Returns the fixture path for `db-name`.
(fixture-seq directory & [opts])
Returns tree a seq of fixtures in directory
.
Returns tree a seq of fixtures in `directory`.
(fixtures db-name & [opts])
Returns the fixtures for db-name
.
Returns the fixtures for `db-name`.
(load-fixtures db directory & [opts])
Load all database fixtures from directory
.
Load all database fixtures from `directory`.
(read-fixture db table filename & [{:keys [batch-size]}])
Read the fixtures form filename
and insert them into the database table
.
Read the fixtures form `filename` and insert them into the database `table`.
(reset-serials db table)
Reset the serial counters of all columns in table
.
Reset the serial counters of all columns in `table`.
(serial-sequence db column)
Return the serial sequence for column
in db
.
Return the serial sequence for `column` in `db`.
(slurp-rows filename)
Slurp a seq of database rows from filename
.
Slurp a seq of database rows from `filename`.
(write-fixture db table filename & {:keys [identifiers]})
Write the rows of the database table
to filename
.
Write the rows of the database `table` to `filename`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close