Crux nodes can use JDBC databases to store their transaction logs and document stores.
JDBC Nodes use next.jdbc
internally and pass through the relevant configuration options that you can find here.
Below is the minimal configuration you will need:
Property | Description |
---|---|
| One of: postgresql, oracle, mysql, h2, sqlite |
| Database Name |
Depending on the type of JDBC database used, you may also need some of the following properties:
Property | Description |
---|---|
| Database Host |
| Database Username |
| Database Password |
link:example$deps.edn[role=include]
link:example$deps.edn[role=include]
Use the API to start a JDBC node, configuring it with the required parameters:
link:example$src/docs/examples.clj[role=include]
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close