Liking cljdoc? Tell your friends :D

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.

NamespacePurpose

wagoe.platform.database

Queries, transactions, upsert!, after-commit.

wagoe.platform.ports.database

DBAdapter and the capability protocols every engine answers.

wagoe.platform.shell.adapters.database.*

The four engine adapters and connection pooling.

wagoe.platform.shell.database.*

Migrations, seeding and db:reset, with their CLIs.

wagoe.platform.lease

A lease row replicas take turns holding, timed by the database clock.

wagoe.platform.transit

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).

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close