H2 database java.jdbc administration helpers.
H2 database java.jdbc administration helpers.
(bulk-insert-mode! conn)
Set H2 into bulk insert mode recommended at one time in docs.
See also: LOCK_MODE, WRITE_DELAY, MAX_OPERATION_MEMORY & CACHE_SIZE. Use set-opts accordingly.
Set H2 into bulk insert mode recommended at one time in docs. See also: LOCK_MODE, WRITE_DELAY, MAX_OPERATION_MEMORY & CACHE_SIZE. Use set-opts accordingly.
(copy! source target compression?)
(copy! source target dump-file compression?)
Will dump! source, raze! target, pump! target.
If dump-file not given uses temporary file and deletes it afterwards.
Will dump! source, raze! target, pump! target. If dump-file not given uses temporary file and deletes it afterwards.
(dump! conn dump-file compression?)
Exports database into a SQL file (server side).
Exports database into a SQL file (server side).
(pump! conn dump-file compression?)
Imports database from SQL file (server side).
Imports database from SQL file (server side).
(raze! conn)
Drops all objects and, if no connections are open, deletes database files.
Usually in embedded mode executing this removed the database files.
Drops all objects and, if no connections are open, deletes database files. Usually in embedded mode executing this removed the database files.
(retrieval-mode! conn)
Set H2 into settings to defaults.
See also: LOCK_MODE, WRITE_DELAY, MAX_OPERATION_MEMORY & CACHE_SIZE. Use set-opts accordingly.
Set H2 into settings to defaults. See also: LOCK_MODE, WRITE_DELAY, MAX_OPERATION_MEMORY & CACHE_SIZE. Use set-opts accordingly.
(set-opts! conn opts-map)
Set H2 options from a map. One by one, return results.
Set H2 options from a map. One by one, return results.
(shutdown! conn)
(shutdown! conn option)
Executes SHUTDOWN in connected database, requires admin rights.
The option argument may be: :immediately, :compact or :defrag. By default normal shutdown (no switch) is executed.
Executes SHUTDOWN in connected database, requires admin rights. The option argument may be: :immediately, :compact or :defrag. By default normal shutdown (no switch) is executed.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close