Documentation ¶
Index ¶
- type DBTX
- type GetDatabaseSchemaRow
- type GetForeignKeyConstraintsRow
- type GetMysqlRolePermissionsRow
- type GetPrimaryKeyConstraintsRow
- type GetUniqueConstraintsRow
- type MockDBTX
- func (_m *MockDBTX) EXPECT() *MockDBTX_Expecter
- func (_m *MockDBTX) ExecContext(_a0 context.Context, _a1 string, _a2 ...interface{}) (sql.Result, error)
- func (_m *MockDBTX) PrepareContext(_a0 context.Context, _a1 string) (*sql.Stmt, error)
- func (_m *MockDBTX) QueryContext(_a0 context.Context, _a1 string, _a2 ...interface{}) (*sql.Rows, error)
- func (_m *MockDBTX) QueryRowContext(_a0 context.Context, _a1 string, _a2 ...interface{}) *sql.Row
- type MockDBTX_ExecContext_Call
- func (_c *MockDBTX_ExecContext_Call) Return(_a0 sql.Result, _a1 error) *MockDBTX_ExecContext_Call
- func (_c *MockDBTX_ExecContext_Call) Run(run func(_a0 context.Context, _a1 string, _a2 ...interface{})) *MockDBTX_ExecContext_Call
- func (_c *MockDBTX_ExecContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (sql.Result, error)) *MockDBTX_ExecContext_Call
- type MockDBTX_Expecter
- func (_e *MockDBTX_Expecter) ExecContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockDBTX_ExecContext_Call
- func (_e *MockDBTX_Expecter) PrepareContext(_a0 interface{}, _a1 interface{}) *MockDBTX_PrepareContext_Call
- func (_e *MockDBTX_Expecter) QueryContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockDBTX_QueryContext_Call
- func (_e *MockDBTX_Expecter) QueryRowContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockDBTX_QueryRowContext_Call
- type MockDBTX_PrepareContext_Call
- func (_c *MockDBTX_PrepareContext_Call) Return(_a0 *sql.Stmt, _a1 error) *MockDBTX_PrepareContext_Call
- func (_c *MockDBTX_PrepareContext_Call) Run(run func(_a0 context.Context, _a1 string)) *MockDBTX_PrepareContext_Call
- func (_c *MockDBTX_PrepareContext_Call) RunAndReturn(run func(context.Context, string) (*sql.Stmt, error)) *MockDBTX_PrepareContext_Call
- type MockDBTX_QueryContext_Call
- func (_c *MockDBTX_QueryContext_Call) Return(_a0 *sql.Rows, _a1 error) *MockDBTX_QueryContext_Call
- func (_c *MockDBTX_QueryContext_Call) Run(run func(_a0 context.Context, _a1 string, _a2 ...interface{})) *MockDBTX_QueryContext_Call
- func (_c *MockDBTX_QueryContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (*sql.Rows, error)) *MockDBTX_QueryContext_Call
- type MockDBTX_QueryRowContext_Call
- func (_c *MockDBTX_QueryRowContext_Call) Return(_a0 *sql.Row) *MockDBTX_QueryRowContext_Call
- func (_c *MockDBTX_QueryRowContext_Call) Run(run func(_a0 context.Context, _a1 string, _a2 ...interface{})) *MockDBTX_QueryRowContext_Call
- func (_c *MockDBTX_QueryRowContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) *sql.Row) *MockDBTX_QueryRowContext_Call
- type MockQuerier
- func (_m *MockQuerier) EXPECT() *MockQuerier_Expecter
- func (_m *MockQuerier) GetDatabaseSchema(ctx context.Context, db DBTX) ([]*GetDatabaseSchemaRow, error)
- func (_m *MockQuerier) GetForeignKeyConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetForeignKeyConstraintsRow, error)
- func (_m *MockQuerier) GetMysqlRolePermissions(ctx context.Context, db DBTX, role string) ([]*GetMysqlRolePermissionsRow, error)
- func (_m *MockQuerier) GetPrimaryKeyConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetPrimaryKeyConstraintsRow, error)
- func (_m *MockQuerier) GetUniqueConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetUniqueConstraintsRow, error)
- type MockQuerier_Expecter
- func (_e *MockQuerier_Expecter) GetDatabaseSchema(ctx interface{}, db interface{}) *MockQuerier_GetDatabaseSchema_Call
- func (_e *MockQuerier_Expecter) GetForeignKeyConstraints(ctx interface{}, db interface{}, tableSchema interface{}) *MockQuerier_GetForeignKeyConstraints_Call
- func (_e *MockQuerier_Expecter) GetMysqlRolePermissions(ctx interface{}, db interface{}, role interface{}) *MockQuerier_GetMysqlRolePermissions_Call
- func (_e *MockQuerier_Expecter) GetPrimaryKeyConstraints(ctx interface{}, db interface{}, tableSchema interface{}) *MockQuerier_GetPrimaryKeyConstraints_Call
- func (_e *MockQuerier_Expecter) GetUniqueConstraints(ctx interface{}, db interface{}, tableSchema interface{}) *MockQuerier_GetUniqueConstraints_Call
- type MockQuerier_GetDatabaseSchema_Call
- func (_c *MockQuerier_GetDatabaseSchema_Call) Return(_a0 []*GetDatabaseSchemaRow, _a1 error) *MockQuerier_GetDatabaseSchema_Call
- func (_c *MockQuerier_GetDatabaseSchema_Call) Run(run func(ctx context.Context, db DBTX)) *MockQuerier_GetDatabaseSchema_Call
- func (_c *MockQuerier_GetDatabaseSchema_Call) RunAndReturn(run func(context.Context, DBTX) ([]*GetDatabaseSchemaRow, error)) *MockQuerier_GetDatabaseSchema_Call
- type MockQuerier_GetForeignKeyConstraints_Call
- func (_c *MockQuerier_GetForeignKeyConstraints_Call) Return(_a0 []*GetForeignKeyConstraintsRow, _a1 error) *MockQuerier_GetForeignKeyConstraints_Call
- func (_c *MockQuerier_GetForeignKeyConstraints_Call) Run(run func(ctx context.Context, db DBTX, tableSchema string)) *MockQuerier_GetForeignKeyConstraints_Call
- func (_c *MockQuerier_GetForeignKeyConstraints_Call) RunAndReturn(...) *MockQuerier_GetForeignKeyConstraints_Call
- type MockQuerier_GetMysqlRolePermissions_Call
- func (_c *MockQuerier_GetMysqlRolePermissions_Call) Return(_a0 []*GetMysqlRolePermissionsRow, _a1 error) *MockQuerier_GetMysqlRolePermissions_Call
- func (_c *MockQuerier_GetMysqlRolePermissions_Call) Run(run func(ctx context.Context, db DBTX, role string)) *MockQuerier_GetMysqlRolePermissions_Call
- func (_c *MockQuerier_GetMysqlRolePermissions_Call) RunAndReturn(run func(context.Context, DBTX, string) ([]*GetMysqlRolePermissionsRow, error)) *MockQuerier_GetMysqlRolePermissions_Call
- type MockQuerier_GetPrimaryKeyConstraints_Call
- func (_c *MockQuerier_GetPrimaryKeyConstraints_Call) Return(_a0 []*GetPrimaryKeyConstraintsRow, _a1 error) *MockQuerier_GetPrimaryKeyConstraints_Call
- func (_c *MockQuerier_GetPrimaryKeyConstraints_Call) Run(run func(ctx context.Context, db DBTX, tableSchema string)) *MockQuerier_GetPrimaryKeyConstraints_Call
- func (_c *MockQuerier_GetPrimaryKeyConstraints_Call) RunAndReturn(...) *MockQuerier_GetPrimaryKeyConstraints_Call
- type MockQuerier_GetUniqueConstraints_Call
- func (_c *MockQuerier_GetUniqueConstraints_Call) Return(_a0 []*GetUniqueConstraintsRow, _a1 error) *MockQuerier_GetUniqueConstraints_Call
- func (_c *MockQuerier_GetUniqueConstraints_Call) Run(run func(ctx context.Context, db DBTX, tableSchema string)) *MockQuerier_GetUniqueConstraints_Call
- func (_c *MockQuerier_GetUniqueConstraints_Call) RunAndReturn(run func(context.Context, DBTX, string) ([]*GetUniqueConstraintsRow, error)) *MockQuerier_GetUniqueConstraints_Call
- type Querier
- type Queries
- func (q *Queries) GetDatabaseSchema(ctx context.Context, db DBTX) ([]*GetDatabaseSchemaRow, error)
- func (q *Queries) GetForeignKeyConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetForeignKeyConstraintsRow, error)
- func (q *Queries) GetMysqlRolePermissions(ctx context.Context, db DBTX, role string) ([]*GetMysqlRolePermissionsRow, error)
- func (q *Queries) GetPrimaryKeyConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetPrimaryKeyConstraintsRow, error)
- func (q *Queries) GetUniqueConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetUniqueConstraintsRow, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDatabaseSchemaRow ¶
type GetUniqueConstraintsRow ¶
type MockDBTX ¶
MockDBTX is an autogenerated mock type for the DBTX type
func NewMockDBTX ¶
NewMockDBTX creates a new instance of MockDBTX. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockDBTX) EXPECT ¶
func (_m *MockDBTX) EXPECT() *MockDBTX_Expecter
func (*MockDBTX) ExecContext ¶
func (_m *MockDBTX) ExecContext(_a0 context.Context, _a1 string, _a2 ...interface{}) (sql.Result, error)
ExecContext provides a mock function with given fields: _a0, _a1, _a2
func (*MockDBTX) PrepareContext ¶
PrepareContext provides a mock function with given fields: _a0, _a1
type MockDBTX_ExecContext_Call ¶
MockDBTX_ExecContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecContext'
func (*MockDBTX_ExecContext_Call) Return ¶
func (_c *MockDBTX_ExecContext_Call) Return(_a0 sql.Result, _a1 error) *MockDBTX_ExecContext_Call
func (*MockDBTX_ExecContext_Call) Run ¶
func (_c *MockDBTX_ExecContext_Call) Run(run func(_a0 context.Context, _a1 string, _a2 ...interface{})) *MockDBTX_ExecContext_Call
func (*MockDBTX_ExecContext_Call) RunAndReturn ¶
func (_c *MockDBTX_ExecContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (sql.Result, error)) *MockDBTX_ExecContext_Call
type MockDBTX_Expecter ¶
type MockDBTX_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDBTX_Expecter) ExecContext ¶
func (_e *MockDBTX_Expecter) ExecContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockDBTX_ExecContext_Call
ExecContext is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
- _a2 ...interface{}
func (*MockDBTX_Expecter) PrepareContext ¶
func (_e *MockDBTX_Expecter) PrepareContext(_a0 interface{}, _a1 interface{}) *MockDBTX_PrepareContext_Call
PrepareContext is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
func (*MockDBTX_Expecter) QueryContext ¶
func (_e *MockDBTX_Expecter) QueryContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockDBTX_QueryContext_Call
QueryContext is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
- _a2 ...interface{}
func (*MockDBTX_Expecter) QueryRowContext ¶
func (_e *MockDBTX_Expecter) QueryRowContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockDBTX_QueryRowContext_Call
QueryRowContext is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
- _a2 ...interface{}
type MockDBTX_PrepareContext_Call ¶
MockDBTX_PrepareContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrepareContext'
func (*MockDBTX_PrepareContext_Call) Return ¶
func (_c *MockDBTX_PrepareContext_Call) Return(_a0 *sql.Stmt, _a1 error) *MockDBTX_PrepareContext_Call
func (*MockDBTX_PrepareContext_Call) Run ¶
func (_c *MockDBTX_PrepareContext_Call) Run(run func(_a0 context.Context, _a1 string)) *MockDBTX_PrepareContext_Call
func (*MockDBTX_PrepareContext_Call) RunAndReturn ¶
func (_c *MockDBTX_PrepareContext_Call) RunAndReturn(run func(context.Context, string) (*sql.Stmt, error)) *MockDBTX_PrepareContext_Call
type MockDBTX_QueryContext_Call ¶
MockDBTX_QueryContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryContext'
func (*MockDBTX_QueryContext_Call) Return ¶
func (_c *MockDBTX_QueryContext_Call) Return(_a0 *sql.Rows, _a1 error) *MockDBTX_QueryContext_Call
func (*MockDBTX_QueryContext_Call) Run ¶
func (_c *MockDBTX_QueryContext_Call) Run(run func(_a0 context.Context, _a1 string, _a2 ...interface{})) *MockDBTX_QueryContext_Call
func (*MockDBTX_QueryContext_Call) RunAndReturn ¶
func (_c *MockDBTX_QueryContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (*sql.Rows, error)) *MockDBTX_QueryContext_Call
type MockDBTX_QueryRowContext_Call ¶
MockDBTX_QueryRowContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryRowContext'
func (*MockDBTX_QueryRowContext_Call) Return ¶
func (_c *MockDBTX_QueryRowContext_Call) Return(_a0 *sql.Row) *MockDBTX_QueryRowContext_Call
func (*MockDBTX_QueryRowContext_Call) Run ¶
func (_c *MockDBTX_QueryRowContext_Call) Run(run func(_a0 context.Context, _a1 string, _a2 ...interface{})) *MockDBTX_QueryRowContext_Call
func (*MockDBTX_QueryRowContext_Call) RunAndReturn ¶
func (_c *MockDBTX_QueryRowContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) *sql.Row) *MockDBTX_QueryRowContext_Call
type MockQuerier ¶
MockQuerier is an autogenerated mock type for the Querier type
func NewMockQuerier ¶
func NewMockQuerier(t interface { mock.TestingT Cleanup(func()) }) *MockQuerier
NewMockQuerier creates a new instance of MockQuerier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockQuerier) EXPECT ¶
func (_m *MockQuerier) EXPECT() *MockQuerier_Expecter
func (*MockQuerier) GetDatabaseSchema ¶
func (_m *MockQuerier) GetDatabaseSchema(ctx context.Context, db DBTX) ([]*GetDatabaseSchemaRow, error)
GetDatabaseSchema provides a mock function with given fields: ctx, db
func (*MockQuerier) GetForeignKeyConstraints ¶
func (_m *MockQuerier) GetForeignKeyConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetForeignKeyConstraintsRow, error)
GetForeignKeyConstraints provides a mock function with given fields: ctx, db, tableSchema
func (*MockQuerier) GetMysqlRolePermissions ¶
func (_m *MockQuerier) GetMysqlRolePermissions(ctx context.Context, db DBTX, role string) ([]*GetMysqlRolePermissionsRow, error)
GetMysqlRolePermissions provides a mock function with given fields: ctx, db, role
func (*MockQuerier) GetPrimaryKeyConstraints ¶
func (_m *MockQuerier) GetPrimaryKeyConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetPrimaryKeyConstraintsRow, error)
GetPrimaryKeyConstraints provides a mock function with given fields: ctx, db, tableSchema
func (*MockQuerier) GetUniqueConstraints ¶
func (_m *MockQuerier) GetUniqueConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetUniqueConstraintsRow, error)
GetUniqueConstraints provides a mock function with given fields: ctx, db, tableSchema
type MockQuerier_Expecter ¶
type MockQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*MockQuerier_Expecter) GetDatabaseSchema ¶
func (_e *MockQuerier_Expecter) GetDatabaseSchema(ctx interface{}, db interface{}) *MockQuerier_GetDatabaseSchema_Call
GetDatabaseSchema is a helper method to define mock.On call
- ctx context.Context
- db DBTX
func (*MockQuerier_Expecter) GetForeignKeyConstraints ¶
func (_e *MockQuerier_Expecter) GetForeignKeyConstraints(ctx interface{}, db interface{}, tableSchema interface{}) *MockQuerier_GetForeignKeyConstraints_Call
GetForeignKeyConstraints is a helper method to define mock.On call
- ctx context.Context
- db DBTX
- tableSchema string
func (*MockQuerier_Expecter) GetMysqlRolePermissions ¶
func (_e *MockQuerier_Expecter) GetMysqlRolePermissions(ctx interface{}, db interface{}, role interface{}) *MockQuerier_GetMysqlRolePermissions_Call
GetMysqlRolePermissions is a helper method to define mock.On call
- ctx context.Context
- db DBTX
- role string
func (*MockQuerier_Expecter) GetPrimaryKeyConstraints ¶
func (_e *MockQuerier_Expecter) GetPrimaryKeyConstraints(ctx interface{}, db interface{}, tableSchema interface{}) *MockQuerier_GetPrimaryKeyConstraints_Call
GetPrimaryKeyConstraints is a helper method to define mock.On call
- ctx context.Context
- db DBTX
- tableSchema string
func (*MockQuerier_Expecter) GetUniqueConstraints ¶
func (_e *MockQuerier_Expecter) GetUniqueConstraints(ctx interface{}, db interface{}, tableSchema interface{}) *MockQuerier_GetUniqueConstraints_Call
GetUniqueConstraints is a helper method to define mock.On call
- ctx context.Context
- db DBTX
- tableSchema string
type MockQuerier_GetDatabaseSchema_Call ¶
MockQuerier_GetDatabaseSchema_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDatabaseSchema'
func (*MockQuerier_GetDatabaseSchema_Call) Return ¶
func (_c *MockQuerier_GetDatabaseSchema_Call) Return(_a0 []*GetDatabaseSchemaRow, _a1 error) *MockQuerier_GetDatabaseSchema_Call
func (*MockQuerier_GetDatabaseSchema_Call) Run ¶
func (_c *MockQuerier_GetDatabaseSchema_Call) Run(run func(ctx context.Context, db DBTX)) *MockQuerier_GetDatabaseSchema_Call
func (*MockQuerier_GetDatabaseSchema_Call) RunAndReturn ¶
func (_c *MockQuerier_GetDatabaseSchema_Call) RunAndReturn(run func(context.Context, DBTX) ([]*GetDatabaseSchemaRow, error)) *MockQuerier_GetDatabaseSchema_Call
type MockQuerier_GetForeignKeyConstraints_Call ¶
MockQuerier_GetForeignKeyConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForeignKeyConstraints'
func (*MockQuerier_GetForeignKeyConstraints_Call) Return ¶
func (_c *MockQuerier_GetForeignKeyConstraints_Call) Return(_a0 []*GetForeignKeyConstraintsRow, _a1 error) *MockQuerier_GetForeignKeyConstraints_Call
func (*MockQuerier_GetForeignKeyConstraints_Call) Run ¶
func (_c *MockQuerier_GetForeignKeyConstraints_Call) Run(run func(ctx context.Context, db DBTX, tableSchema string)) *MockQuerier_GetForeignKeyConstraints_Call
func (*MockQuerier_GetForeignKeyConstraints_Call) RunAndReturn ¶
func (_c *MockQuerier_GetForeignKeyConstraints_Call) RunAndReturn(run func(context.Context, DBTX, string) ([]*GetForeignKeyConstraintsRow, error)) *MockQuerier_GetForeignKeyConstraints_Call
type MockQuerier_GetMysqlRolePermissions_Call ¶
MockQuerier_GetMysqlRolePermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMysqlRolePermissions'
func (*MockQuerier_GetMysqlRolePermissions_Call) Return ¶
func (_c *MockQuerier_GetMysqlRolePermissions_Call) Return(_a0 []*GetMysqlRolePermissionsRow, _a1 error) *MockQuerier_GetMysqlRolePermissions_Call
func (*MockQuerier_GetMysqlRolePermissions_Call) Run ¶
func (_c *MockQuerier_GetMysqlRolePermissions_Call) Run(run func(ctx context.Context, db DBTX, role string)) *MockQuerier_GetMysqlRolePermissions_Call
func (*MockQuerier_GetMysqlRolePermissions_Call) RunAndReturn ¶
func (_c *MockQuerier_GetMysqlRolePermissions_Call) RunAndReturn(run func(context.Context, DBTX, string) ([]*GetMysqlRolePermissionsRow, error)) *MockQuerier_GetMysqlRolePermissions_Call
type MockQuerier_GetPrimaryKeyConstraints_Call ¶
MockQuerier_GetPrimaryKeyConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPrimaryKeyConstraints'
func (*MockQuerier_GetPrimaryKeyConstraints_Call) Return ¶
func (_c *MockQuerier_GetPrimaryKeyConstraints_Call) Return(_a0 []*GetPrimaryKeyConstraintsRow, _a1 error) *MockQuerier_GetPrimaryKeyConstraints_Call
func (*MockQuerier_GetPrimaryKeyConstraints_Call) Run ¶
func (_c *MockQuerier_GetPrimaryKeyConstraints_Call) Run(run func(ctx context.Context, db DBTX, tableSchema string)) *MockQuerier_GetPrimaryKeyConstraints_Call
func (*MockQuerier_GetPrimaryKeyConstraints_Call) RunAndReturn ¶
func (_c *MockQuerier_GetPrimaryKeyConstraints_Call) RunAndReturn(run func(context.Context, DBTX, string) ([]*GetPrimaryKeyConstraintsRow, error)) *MockQuerier_GetPrimaryKeyConstraints_Call
type MockQuerier_GetUniqueConstraints_Call ¶
MockQuerier_GetUniqueConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUniqueConstraints'
func (*MockQuerier_GetUniqueConstraints_Call) Return ¶
func (_c *MockQuerier_GetUniqueConstraints_Call) Return(_a0 []*GetUniqueConstraintsRow, _a1 error) *MockQuerier_GetUniqueConstraints_Call
func (*MockQuerier_GetUniqueConstraints_Call) Run ¶
func (_c *MockQuerier_GetUniqueConstraints_Call) Run(run func(ctx context.Context, db DBTX, tableSchema string)) *MockQuerier_GetUniqueConstraints_Call
func (*MockQuerier_GetUniqueConstraints_Call) RunAndReturn ¶
func (_c *MockQuerier_GetUniqueConstraints_Call) RunAndReturn(run func(context.Context, DBTX, string) ([]*GetUniqueConstraintsRow, error)) *MockQuerier_GetUniqueConstraints_Call
type Querier ¶
type Querier interface { GetDatabaseSchema(ctx context.Context, db DBTX) ([]*GetDatabaseSchemaRow, error) GetForeignKeyConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetForeignKeyConstraintsRow, error) GetMysqlRolePermissions(ctx context.Context, db DBTX, role string) ([]*GetMysqlRolePermissionsRow, error) GetPrimaryKeyConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetPrimaryKeyConstraintsRow, error) GetUniqueConstraints(ctx context.Context, db DBTX, tableSchema string) ([]*GetUniqueConstraintsRow, error) }
type Queries ¶
type Queries struct { }