mysql_queries

package
v0.4.49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminPrivilege added in v0.4.48

type AdminPrivilege struct {
	PrivilegeType string
	Grantee       string
}

type DBTX

type DBTX interface {
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
	PrepareContext(context.Context, string) (*sql.Stmt, error)
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}

type DbPrivilege added in v0.4.48

type DbPrivilege struct {
	TableSchema   string
	PrivilegeType string
	Grantee       string
}

type GetCustomFunctionsBySchemasRow added in v0.4.48

type GetCustomFunctionsBySchemasRow struct {
	FunctionName    string
	SchemaName      string
	ReturnDataType  string
	Definition      string
	IsDeterministic int32
}

type GetCustomTriggersBySchemaAndTablesParams added in v0.4.48

type GetCustomTriggersBySchemaAndTablesParams struct {
	Schema string
	Tables []string
}

type GetCustomTriggersBySchemaAndTablesRow added in v0.4.48

type GetCustomTriggersBySchemaAndTablesRow struct {
	TriggerName   string
	TriggerSchema string
	SchemaName    string
	TableName     string
	Statement     string
	EventType     string
	Orientation   string
	Timing        string
}

type GetDatabaseSchemaRow

type GetDatabaseSchemaRow struct {
	TableSchema            string
	TableName              string
	ColumnName             string
	OrdinalPosition        int64
	ColumnDefault          interface{}
	IsNullable             string
	DataType               string
	CharacterMaximumLength sql.NullInt64
	NumericPrecision       sql.NullInt64
	NumericScale           sql.NullInt64
	Extra                  sql.NullString
}

type GetDatabaseTableSchemasBySchemasAndTablesParams added in v0.4.48

type GetDatabaseTableSchemasBySchemasAndTablesParams struct {
	Schema string
	Tables []string
}

type GetDatabaseTableSchemasBySchemasAndTablesRow added in v0.4.48

type GetDatabaseTableSchemasBySchemasAndTablesRow struct {
	SchemaName              string
	TableName               string
	ColumnName              string
	DataType                string
	ColumnDefault           interface{}
	IsNullable              int32
	CharacterMaximumLength  interface{}
	NumericPrecision        interface{}
	NumericScale            interface{}
	OrdinalPosition         int64
	IdentityGeneration      sql.NullString
	GenerationExp           interface{}
	AutoIncrementStartValue sql.NullInt64
}

type GetIndicesBySchemasAndTablesParams added in v0.4.48

type GetIndicesBySchemasAndTablesParams struct {
	Schema string
	Tables []string
}

type GetIndicesBySchemasAndTablesRow added in v0.4.48

type GetIndicesBySchemasAndTablesRow struct {
	SchemaName string
	TableName  string
	ColumnName string
	IndexName  string
	IndexType  string
	SeqInIndex sql.NullInt64
	Nullable   string
}

type GetMysqlRolePermissionsRow

type GetMysqlRolePermissionsRow struct {
	TableSchema   string
	TableName     string
	PrivilegeType string
}

type GetTableConstraintsBySchemasRow added in v0.4.48

type GetTableConstraintsBySchemasRow struct {
	SchemaName            string
	TableName             string
	ConstraintColumns     json.RawMessage
	NotNullable           json.RawMessage
	ConstraintName        string
	ConstraintType        string
	ReferencedSchemaName  string
	ReferencedTableName   string
	ReferencedColumnNames json.RawMessage
	UpdateRule            sql.NullString
	DeleteRule            sql.NullString
	CheckClause           interface{}
}

type GetTableConstraintsParams added in v0.4.48

type GetTableConstraintsParams struct {
	Schema string
	Tables []string
}

type GetTableConstraintsRow added in v0.4.48

type GetTableConstraintsRow struct {
	SchemaName            string
	TableName             string
	ConstraintColumns     json.RawMessage
	NotNullable           json.RawMessage
	ConstraintName        string
	ConstraintType        string
	ReferencedSchemaName  string
	ReferencedTableName   string
	ReferencedColumnNames json.RawMessage
	UpdateRule            sql.NullString
	DeleteRule            sql.NullString
	CheckClause           interface{}
}

type MockDBTX

type MockDBTX struct {
	mock.Mock
}

MockDBTX is an autogenerated mock type for the DBTX type

func NewMockDBTX

func NewMockDBTX(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDBTX

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

func (_m *MockDBTX) PrepareContext(_a0 context.Context, _a1 string) (*sql.Stmt, error)

PrepareContext provides a mock function with given fields: _a0, _a1

func (*MockDBTX) QueryContext

func (_m *MockDBTX) QueryContext(_a0 context.Context, _a1 string, _a2 ...interface{}) (*sql.Rows, error)

QueryContext provides a mock function with given fields: _a0, _a1, _a2

func (*MockDBTX) QueryRowContext

func (_m *MockDBTX) QueryRowContext(_a0 context.Context, _a1 string, _a2 ...interface{}) *sql.Row

QueryRowContext provides a mock function with given fields: _a0, _a1, _a2

type MockDBTX_ExecContext_Call

type MockDBTX_ExecContext_Call struct {
	*mock.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 (*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

type MockDBTX_PrepareContext_Call struct {
	*mock.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 (*MockDBTX_PrepareContext_Call) Run

func (*MockDBTX_PrepareContext_Call) RunAndReturn

type MockDBTX_QueryContext_Call

type MockDBTX_QueryContext_Call struct {
	*mock.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 (*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

type MockDBTX_QueryRowContext_Call struct {
	*mock.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 (*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

type MockQuerier struct {
	mock.Mock
}

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) GetCustomFunctionsBySchemas added in v0.4.48

func (_m *MockQuerier) GetCustomFunctionsBySchemas(ctx context.Context, db DBTX, schemas []string) ([]*GetCustomFunctionsBySchemasRow, error)

GetCustomFunctionsBySchemas provides a mock function with given fields: ctx, db, schemas

func (*MockQuerier) GetCustomTriggersBySchemaAndTables added in v0.4.48

func (_m *MockQuerier) GetCustomTriggersBySchemaAndTables(ctx context.Context, db DBTX, arg *GetCustomTriggersBySchemaAndTablesParams) ([]*GetCustomTriggersBySchemaAndTablesRow, error)

GetCustomTriggersBySchemaAndTables provides a mock function with given fields: ctx, db, arg

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) GetDatabaseTableSchemasBySchemasAndTables added in v0.4.48

GetDatabaseTableSchemasBySchemasAndTables provides a mock function with given fields: ctx, db, arg

func (*MockQuerier) GetIndicesBySchemasAndTables added in v0.4.48

func (_m *MockQuerier) GetIndicesBySchemasAndTables(ctx context.Context, db DBTX, arg *GetIndicesBySchemasAndTablesParams) ([]*GetIndicesBySchemasAndTablesRow, error)

GetIndicesBySchemasAndTables provides a mock function with given fields: ctx, db, arg

func (*MockQuerier) GetMysqlRolePermissions

func (_m *MockQuerier) GetMysqlRolePermissions(ctx context.Context, db DBTX) ([]*GetMysqlRolePermissionsRow, error)

GetMysqlRolePermissions provides a mock function with given fields: ctx, db

func (*MockQuerier) GetTableConstraints added in v0.4.48

func (_m *MockQuerier) GetTableConstraints(ctx context.Context, db DBTX, arg *GetTableConstraintsParams) ([]*GetTableConstraintsRow, error)

GetTableConstraints provides a mock function with given fields: ctx, db, arg

func (*MockQuerier) GetTableConstraintsBySchemas added in v0.4.48

func (_m *MockQuerier) GetTableConstraintsBySchemas(ctx context.Context, db DBTX, schemas []string) ([]*GetTableConstraintsBySchemasRow, error)

GetTableConstraintsBySchemas provides a mock function with given fields: ctx, db, schemas

type MockQuerier_Expecter

type MockQuerier_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockQuerier_Expecter) GetCustomFunctionsBySchemas added in v0.4.48

func (_e *MockQuerier_Expecter) GetCustomFunctionsBySchemas(ctx interface{}, db interface{}, schemas interface{}) *MockQuerier_GetCustomFunctionsBySchemas_Call

GetCustomFunctionsBySchemas is a helper method to define mock.On call

  • ctx context.Context
  • db DBTX
  • schemas []string

func (*MockQuerier_Expecter) GetCustomTriggersBySchemaAndTables added in v0.4.48

func (_e *MockQuerier_Expecter) GetCustomTriggersBySchemaAndTables(ctx interface{}, db interface{}, arg interface{}) *MockQuerier_GetCustomTriggersBySchemaAndTables_Call

GetCustomTriggersBySchemaAndTables is a helper method to define mock.On call

  • ctx context.Context
  • db DBTX
  • arg *GetCustomTriggersBySchemaAndTablesParams

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) GetDatabaseTableSchemasBySchemasAndTables added in v0.4.48

func (_e *MockQuerier_Expecter) GetDatabaseTableSchemasBySchemasAndTables(ctx interface{}, db interface{}, arg interface{}) *MockQuerier_GetDatabaseTableSchemasBySchemasAndTables_Call

GetDatabaseTableSchemasBySchemasAndTables is a helper method to define mock.On call

  • ctx context.Context
  • db DBTX
  • arg *GetDatabaseTableSchemasBySchemasAndTablesParams

func (*MockQuerier_Expecter) GetIndicesBySchemasAndTables added in v0.4.48

func (_e *MockQuerier_Expecter) GetIndicesBySchemasAndTables(ctx interface{}, db interface{}, arg interface{}) *MockQuerier_GetIndicesBySchemasAndTables_Call

GetIndicesBySchemasAndTables is a helper method to define mock.On call

  • ctx context.Context
  • db DBTX
  • arg *GetIndicesBySchemasAndTablesParams

func (*MockQuerier_Expecter) GetMysqlRolePermissions

func (_e *MockQuerier_Expecter) GetMysqlRolePermissions(ctx interface{}, db interface{}) *MockQuerier_GetMysqlRolePermissions_Call

GetMysqlRolePermissions is a helper method to define mock.On call

  • ctx context.Context
  • db DBTX

func (*MockQuerier_Expecter) GetTableConstraints added in v0.4.48

func (_e *MockQuerier_Expecter) GetTableConstraints(ctx interface{}, db interface{}, arg interface{}) *MockQuerier_GetTableConstraints_Call

GetTableConstraints is a helper method to define mock.On call

  • ctx context.Context
  • db DBTX
  • arg *GetTableConstraintsParams

func (*MockQuerier_Expecter) GetTableConstraintsBySchemas added in v0.4.48

func (_e *MockQuerier_Expecter) GetTableConstraintsBySchemas(ctx interface{}, db interface{}, schemas interface{}) *MockQuerier_GetTableConstraintsBySchemas_Call

GetTableConstraintsBySchemas is a helper method to define mock.On call

  • ctx context.Context
  • db DBTX
  • schemas []string

type MockQuerier_GetCustomFunctionsBySchemas_Call added in v0.4.48

type MockQuerier_GetCustomFunctionsBySchemas_Call struct {
	*mock.Call
}

MockQuerier_GetCustomFunctionsBySchemas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCustomFunctionsBySchemas'

func (*MockQuerier_GetCustomFunctionsBySchemas_Call) Return added in v0.4.48

func (*MockQuerier_GetCustomFunctionsBySchemas_Call) Run added in v0.4.48

func (*MockQuerier_GetCustomFunctionsBySchemas_Call) RunAndReturn added in v0.4.48

type MockQuerier_GetCustomTriggersBySchemaAndTables_Call added in v0.4.48

type MockQuerier_GetCustomTriggersBySchemaAndTables_Call struct {
	*mock.Call
}

MockQuerier_GetCustomTriggersBySchemaAndTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCustomTriggersBySchemaAndTables'

func (*MockQuerier_GetCustomTriggersBySchemaAndTables_Call) Return added in v0.4.48

func (*MockQuerier_GetCustomTriggersBySchemaAndTables_Call) Run added in v0.4.48

type MockQuerier_GetDatabaseSchema_Call

type MockQuerier_GetDatabaseSchema_Call struct {
	*mock.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 (*MockQuerier_GetDatabaseSchema_Call) Run

func (*MockQuerier_GetDatabaseSchema_Call) RunAndReturn

type MockQuerier_GetDatabaseTableSchemasBySchemasAndTables_Call added in v0.4.48

type MockQuerier_GetDatabaseTableSchemasBySchemasAndTables_Call struct {
	*mock.Call
}

MockQuerier_GetDatabaseTableSchemasBySchemasAndTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDatabaseTableSchemasBySchemasAndTables'

func (*MockQuerier_GetDatabaseTableSchemasBySchemasAndTables_Call) Return added in v0.4.48

func (*MockQuerier_GetDatabaseTableSchemasBySchemasAndTables_Call) Run added in v0.4.48

type MockQuerier_GetIndicesBySchemasAndTables_Call added in v0.4.48

type MockQuerier_GetIndicesBySchemasAndTables_Call struct {
	*mock.Call
}

MockQuerier_GetIndicesBySchemasAndTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndicesBySchemasAndTables'

func (*MockQuerier_GetIndicesBySchemasAndTables_Call) Return added in v0.4.48

func (*MockQuerier_GetIndicesBySchemasAndTables_Call) Run added in v0.4.48

type MockQuerier_GetMysqlRolePermissions_Call

type MockQuerier_GetMysqlRolePermissions_Call struct {
	*mock.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 (*MockQuerier_GetMysqlRolePermissions_Call) Run

func (*MockQuerier_GetMysqlRolePermissions_Call) RunAndReturn

type MockQuerier_GetTableConstraintsBySchemas_Call added in v0.4.48

type MockQuerier_GetTableConstraintsBySchemas_Call struct {
	*mock.Call
}

MockQuerier_GetTableConstraintsBySchemas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTableConstraintsBySchemas'

func (*MockQuerier_GetTableConstraintsBySchemas_Call) Return added in v0.4.48

func (*MockQuerier_GetTableConstraintsBySchemas_Call) Run added in v0.4.48

func (*MockQuerier_GetTableConstraintsBySchemas_Call) RunAndReturn added in v0.4.48

type MockQuerier_GetTableConstraints_Call added in v0.4.48

type MockQuerier_GetTableConstraints_Call struct {
	*mock.Call
}

MockQuerier_GetTableConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTableConstraints'

func (*MockQuerier_GetTableConstraints_Call) Return added in v0.4.48

func (*MockQuerier_GetTableConstraints_Call) Run added in v0.4.48

func (*MockQuerier_GetTableConstraints_Call) RunAndReturn added in v0.4.48

type Querier

type Querier interface {
	GetCustomFunctionsBySchemas(ctx context.Context, db DBTX, schemas []string) ([]*GetCustomFunctionsBySchemasRow, error)
	// sqlc is broken for mysql so can't do CONCAT(EVENT_OBJECT_SCHEMA, '.', EVENT_OBJECT_TABLE) IN (sqlc.slice('schematables'))
	GetCustomTriggersBySchemaAndTables(ctx context.Context, db DBTX, arg *GetCustomTriggersBySchemaAndTablesParams) ([]*GetCustomTriggersBySchemaAndTablesRow, error)
	GetDatabaseSchema(ctx context.Context, db DBTX) ([]*GetDatabaseSchemaRow, error)
	GetDatabaseTableSchemasBySchemasAndTables(ctx context.Context, db DBTX, arg *GetDatabaseTableSchemasBySchemasAndTablesParams) ([]*GetDatabaseTableSchemasBySchemasAndTablesRow, error)
	GetIndicesBySchemasAndTables(ctx context.Context, db DBTX, arg *GetIndicesBySchemasAndTablesParams) ([]*GetIndicesBySchemasAndTablesRow, error)
	GetMysqlRolePermissions(ctx context.Context, db DBTX) ([]*GetMysqlRolePermissionsRow, error)
	GetTableConstraints(ctx context.Context, db DBTX, arg *GetTableConstraintsParams) ([]*GetTableConstraintsRow, error)
	GetTableConstraintsBySchemas(ctx context.Context, db DBTX, schemas []string) ([]*GetTableConstraintsBySchemasRow, error)
}

type Queries

type Queries struct {
}

func New

func New() *Queries

func (*Queries) GetCustomFunctionsBySchemas added in v0.4.48

func (q *Queries) GetCustomFunctionsBySchemas(ctx context.Context, db DBTX, schemas []string) ([]*GetCustomFunctionsBySchemasRow, error)

func (*Queries) GetCustomTriggersBySchemaAndTables added in v0.4.48

func (q *Queries) GetCustomTriggersBySchemaAndTables(ctx context.Context, db DBTX, arg *GetCustomTriggersBySchemaAndTablesParams) ([]*GetCustomTriggersBySchemaAndTablesRow, error)

sqlc is broken for mysql so can't do CONCAT(EVENT_OBJECT_SCHEMA, '.', EVENT_OBJECT_TABLE) IN (sqlc.slice('schematables'))

func (*Queries) GetDatabaseSchema

func (q *Queries) GetDatabaseSchema(ctx context.Context, db DBTX) ([]*GetDatabaseSchemaRow, error)

func (*Queries) GetDatabaseTableSchemasBySchemasAndTables added in v0.4.48

func (q *Queries) GetDatabaseTableSchemasBySchemasAndTables(ctx context.Context, db DBTX, arg *GetDatabaseTableSchemasBySchemasAndTablesParams) ([]*GetDatabaseTableSchemasBySchemasAndTablesRow, error)

func (*Queries) GetIndicesBySchemasAndTables added in v0.4.48

func (q *Queries) GetIndicesBySchemasAndTables(ctx context.Context, db DBTX, arg *GetIndicesBySchemasAndTablesParams) ([]*GetIndicesBySchemasAndTablesRow, error)

func (*Queries) GetMysqlRolePermissions

func (q *Queries) GetMysqlRolePermissions(ctx context.Context, db DBTX) ([]*GetMysqlRolePermissionsRow, error)

func (*Queries) GetTableConstraints added in v0.4.48

func (q *Queries) GetTableConstraints(ctx context.Context, db DBTX, arg *GetTableConstraintsParams) ([]*GetTableConstraintsRow, error)

func (*Queries) GetTableConstraintsBySchemas added in v0.4.48

func (q *Queries) GetTableConstraintsBySchemas(ctx context.Context, db DBTX, schemas []string) ([]*GetTableConstraintsBySchemasRow, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL