Documentation ¶
Index ¶
- func ClearTableFromSnapshot(snap dbSnapshot, schemaName, tableName string) dbSnapshot
- func GetDbInfoIgnoringTable(t *testing.T, container testcontainers.Container, dbName, outputDir string, ...) dbSnapshot
- func PrintDbSnapshotDifferences(t *testing.T, before dbSnapshot, after dbSnapshot)
- func SnapshotDB(t *testing.T, container testcontainers.Container, dbName, outputDir string, ...) (info dbSnapshot)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearTableFromSnapshot ¶
func ClearTableFromSnapshot(snap dbSnapshot, schemaName, tableName string) dbSnapshot
func GetDbInfoIgnoringTable ¶
func GetDbInfoIgnoringTable(t *testing.T, container testcontainers.Container, dbName, outputDir string, db *pgxpool.Pool, ignoreTableSchema string, ignoreTableName string, extState testhelpers.TestOptions) dbSnapshot
func SnapshotDB ¶
func SnapshotDB(t *testing.T, container testcontainers.Container, dbName, outputDir string, db *pgxpool.Pool, extstate testhelpers.TestOptions) (info dbSnapshot)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.