Directories
¶
| Path | Synopsis |
|---|---|
|
Package dialect is the SQL layer that every SQL store is built on: the Dialect that describes what differs between engines, the unit of work that a context carries over one *sql.DB, the migrator of the modules' migration streams, Store, the handle whose helpers run statements, encode columns, page lists and seal secret columns, and the registration through which the migrator and key rotation reach every module's stream and sealed columns.
|
Package dialect is the SQL layer that every SQL store is built on: the Dialect that describes what differs between engines, the unit of work that a context carries over one *sql.DB, the migrator of the modules' migration streams, Store, the handle whose helpers run statements, encode columns, page lists and seal secret columns, and the registration through which the migrator and key rotation reach every module's stream and sealed columns. |
|
Package mysql will open MySQL databases for the SQL layer, beside the SQLite and PostgreSQL driver packages.
|
Package mysql will open MySQL databases for the SQL layer, beside the SQLite and PostgreSQL driver packages. |
|
Package postgres opens PostgreSQL databases for the SQL layer: OpenDB returns a configured *sql.DB over pgx's database/sql adapter, and Dialect describes the engine to platform/sql/dialect.
|
Package postgres opens PostgreSQL databases for the SQL layer: OpenDB returns a configured *sql.DB over pgx's database/sql adapter, and Dialect describes the engine to platform/sql/dialect. |
|
Package sqlite opens SQLite databases for the SQL layer: OpenDB returns a configured *sql.DB over the pure-Go modernc.org/sqlite driver, and Dialect describes the engine to platform/sql/dialect.
|
Package sqlite opens SQLite databases for the SQL layer: OpenDB returns a configured *sql.DB over the pure-Go modernc.org/sqlite driver, and Dialect describes the engine to platform/sql/dialect. |
|
Package sqltest is the SQL harness that runs a module's store suite on each dialect: RunModule hands the suite fresh databases, on SQLite in memory and in a file and, when asked, on PostgreSQL, each migrated with the module's streams alone.
|
Package sqltest is the SQL harness that runs a module's store suite on each dialect: RunModule hands the suite fresh databases, on SQLite in memory and in a file and, when asked, on PostgreSQL, each migrated with the module's streams alone. |
Click to show internal directories.
Click to hide internal directories.