H2 database java.jdbc administration helpers.
H2 database java.jdbc administration helpers.
(bulk-insert-mode! conn)
Set H2 into bulk insert mode recommended in docs.
Set H2 into bulk insert mode recommended in docs.
(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.
Set H2 into settings to defaults.
(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