Database¶
module
Defined in src/ralph/backends/postgres.cr:7
Abstract database backend interface
All database backends must implement this interface to provide a common API for database operations.
Backend Loading¶
Backends are NOT loaded automatically. Users must explicitly require the backend they want to use:
This allows backends to be truly optional - you only need the database driver shard for the backend you're actually using.
Nested Types¶
PoolStats-Connection pool statistics
PostgresBackend-PostgreSQL database backend implementation
SqliteBackend-SQLite database backend implementation