MCPcopy Create free account

hub / github.com/adlio/schema / types & classes

Types & classes27 in github.com/adlio/schema

↓ 1 callersTypeAliasStrLog
options_test.go:89
StructAppliedMigration
AppliedMigration represents a successfully-executed migration. It embeds Migration, and adds fields for execution results. This type is what records p
applied-migration.go:11
StructBadDB
BadDB implements the interface for the *sql.DB Conn() method in a way that always fails
errors_test.go:39
StructBadQueryer
BadQueryer implements the Connection interface, but fails on every call to Exec or Query. The error message will include the SQL statement to help ver
errors_test.go:27
InterfaceConnection
Connection defines the interface for a *sql.Conn, which can both start a new transaction and run queries.
schema.go:24
InterfaceDB
DB defines the interface for a *sql.DB, which can be used to get a concrete connection to the database.
schema.go:18
InterfaceDialect
Dialect defines the minimal interface for a database dialect. All dialects must implement functions to create the migrations table, get all applied mi
dialect.go:9
InterfaceFile
File wraps the standard library io.Read and os.File.Name methods
file.go:59
InterfaceLocker
Locker defines an optional Dialect extension for obtaining and releasing a global database lock during the running of migrations. This feature is supp
dialect.go:20
InterfaceLogger
Logger is the interface for logging operations of the logger. By default the migrator operates silently. Providing a Logger enables output of the migr
options.go:52
StructMigration
Migration is a yet-to-be-run change to the schema. This is the type which is provided to Migrator.Apply to request a schema change.
migration.go:11
StructMigrator
Migrator is an instance customized to perform migrations on a particular database against a particular tracking table and with a particular dialect de
migrator.go:12
FuncTypeOption
Option supports option chaining when creating a Migrator. An Option is a function which takes a Migrator and returns a Migrator with an Option modifie
options.go:8
InterfaceQueryer
Queryer is something which can execute a Query (either a sql.DB or a sql.Tx)
schema.go:31
StructTestDB
TestDB represents a specific database instance against which we would like to run database migration tests.
testdb_test.go:18
InterfaceTransactor
Transactor defines the interface for the Begin method from the *sql.DB
schema.go:37
TypeAliasfailedReader
file_test.go:77
StructmssqlBadQueryer
mssqlBadQueryer implements the Queryer interface but fails on specific queries
mssql_test.go:67
StructmssqlDialect
mssql.go:17
StructmysqlDialect
mysql.go:16
StructmysqlTime
mysql.go:121
StructnullMySQLLogger
mysql_test.go:87
StructpostgresDialect
postgres.go:18
StructqtnTest
mssql_test.go:21
StructqtnTest
mysql_test.go:18
StructqtnTest
postgres_test.go:17
StructsqliteDialect
sqlite.go:14