Liking cljdoc? Tell your friends :D

szew.h2.java-jdbc

H2 database java.jdbc administration helpers.

H2 database java.jdbc administration helpers.
raw docstring

bulk-insert-mode!clj

(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.
raw docstring

copy!clj

(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.
raw docstring

dump!clj

(dump! conn dump-file compression?)

Exports database into a SQL file (server side).

Exports database into a SQL file (server side).
raw docstring

pump!clj

(pump! conn dump-file compression?)

Imports database from SQL file (server side).

Imports database from SQL file (server side).
raw docstring

raze!clj

(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.
raw docstring

retrieval-mode!clj

(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.
raw docstring

set-opts!clj

(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.
raw docstring

shutdown!clj

(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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close