Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DialectName ¶
type DialectName string
DialectName is a compiler enforced type used that maps to gorm's dialect names.
const ( // Postgres represents the postgres dialect. Postgres DialectName = "pgx" // TransactionWrappedPostgres is useful for tests. // When the connection is opened, it starts a transaction and all // operations performed on the DB will be within that transaction. // TransactionWrappedPostgres DialectName = "txdb" // PostgresWithoutLock represents the postgres dialect but it does not // wait for a lock to connect. Intended to be used for read only access, or in tests. PostgresWithoutLock DialectName = "postgresWithoutLock" )
Click to show internal directories.
Click to hide internal directories.