platform-sql
JDBC adapters for PostgreSQL, MySQL, SQLite and H2, migrations, seeding, leases and the transit wire format. platform depends on it, so an application on platform already has it.
Depend on it directly when you want Wagoe’s data access without Jetty, Reitit or Muuntaja: next to your own HTTP wiring, or in a library. jobs, events and storage reach no HTTP stack through it.
Coordinates
{:deps {com.wagoe/wagoe-platform-sql {:mvn/version "1.2.0"}}}
Key namespaces
The namespaces kept their wagoe.platform.* names when they moved out of
platform.
| Namespace | Purpose |
|---|---|
|
Queries, transactions, |
|
|
|
The four engine adapters and connection pooling. |
|
Migrations, seeding and |
|
A lease row replicas take turns holding, timed by the database clock. |
|
Transit JSON for events and jobs that leave the process. |
migrate skips the migrations of a framework module the config does not
switch on in :active, with or without platform on the classpath
(wagoe.platform.shell.module-registry).