pg_queries

package
v0.4.29 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 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 DBTX

type DBTX interface {
	Exec(context.Context, string, ...interface{}) (pgconn.CommandTag, error)
	Query(context.Context, string, ...interface{}) (pgx.Rows, error)
	QueryRow(context.Context, string, ...interface{}) pgx.Row
}

type GetCustomFunctionsBySchemaAndTablesParams added in v0.4.25

type GetCustomFunctionsBySchemaAndTablesParams struct {
	Schema string
	Tables []string
}

type GetCustomFunctionsBySchemaAndTablesRow added in v0.4.25

type GetCustomFunctionsBySchemaAndTablesRow struct {
	SchemaName        string
	FunctionName      string
	FunctionSignature string
	Definition        string
}

type GetCustomSequencesBySchemaAndTablesParams added in v0.4.25

type GetCustomSequencesBySchemaAndTablesParams struct {
	Schema string
	Tables []string
}

type GetCustomSequencesBySchemaAndTablesRow added in v0.4.25

type GetCustomSequencesBySchemaAndTablesRow struct {
	SchemaName   string
	SequenceName string
	Definition   string
}

type GetCustomTriggersBySchemaAndTablesRow added in v0.4.25

type GetCustomTriggersBySchemaAndTablesRow struct {
	SchemaName  string
	TableName   string
	TriggerName string
	Definition  string
}

type GetDataTypesBySchemaAndTablesParams added in v0.4.25

type GetDataTypesBySchemaAndTablesParams struct {
	Schema string
	Tables []string
}

type GetDataTypesBySchemaAndTablesRow added in v0.4.25

type GetDataTypesBySchemaAndTablesRow struct {
	SchemaName string
	TypeName   string
	Type       string
	Definition string
}

type GetDatabaseSchemaRow

type GetDatabaseSchemaRow struct {
	SchemaName             string
	TableName              string
	ColumnName             string
	DataType               string
	ColumnDefault          string
	IsNullable             string
	CharacterMaximumLength int32
	NumericPrecision       int32
	NumericScale           int32
	OrdinalPosition        int16
	GeneratedType          string
	TableOid               pgtype.Uint32
	SequenceType           string
}

type GetDatabaseTableSchemasBySchemasAndTablesRow added in v0.4.24

type GetDatabaseTableSchemasBySchemasAndTablesRow struct {
	SchemaName             string
	TableName              string
	ColumnName             string
	DataType               string
	ColumnDefault          string
	IsNullable             string
	CharacterMaximumLength int32
	NumericPrecision       int32
	NumericScale           int32
	OrdinalPosition        int16
	GeneratedType          string
	TableOid               pgtype.Uint32
	SequenceType           string
}

type GetIndicesBySchemasAndTablesRow added in v0.4.24

type GetIndicesBySchemasAndTablesRow struct {
	SchemaName      string
	TableName       string
	IndexName       string
	IndexDefinition string
}

type GetPostgresRolePermissionsRow

type GetPostgresRolePermissionsRow struct {
	TableSchema   string
	TableName     string
	PrivilegeType string
}

type GetTableConstraintsBySchemaRow

type GetTableConstraintsBySchemaRow struct {
	ConstraintName       string
	ConstraintType       string
	SchemaName           string
	TableName            string
	ConstraintColumns    []string
	Notnullable          []bool
	ForeignSchemaName    string
	ForeignTableName     string
	ForeignColumnNames   []string
	ConstraintDefinition string
}

type GetTableConstraintsParams

type GetTableConstraintsParams struct {
	Schema string
	Table  string
}

type GetTableConstraintsRow

type GetTableConstraintsRow struct {
	ConstraintName       string
	ConstraintType       string
	SchemaName           string
	TableName            string
	ConstraintColumns    []string
	Notnullable          []bool
	ForeignSchemaName    string
	ForeignTableName     string
	ForeignColumnNames   []string
	ConstraintDefinition string
}

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) Exec

func (_m *MockDBTX) Exec(_a0 context.Context, _a1 string, _a2 ...interface{}) (pgconn.CommandTag, error)

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

func (*MockDBTX) Query

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

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

func (*MockDBTX) QueryRow

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

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

type MockDBTX_Exec_Call

type MockDBTX_Exec_Call struct {
	*mock.Call
}

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

func (*MockDBTX_Exec_Call) Return

func (*MockDBTX_Exec_Call) Run

func (_c *MockDBTX_Exec_Call) Run(run func(_a0 context.Context, _a1 string, _a2 ...interface{})) *MockDBTX_Exec_Call

func (*MockDBTX_Exec_Call) RunAndReturn

func (_c *MockDBTX_Exec_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgconn.CommandTag, error)) *MockDBTX_Exec_Call

type MockDBTX_Expecter

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

func (*MockDBTX_Expecter) Exec

func (_e *MockDBTX_Expecter) Exec(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockDBTX_Exec_Call

Exec is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 string
  • _a2 ...interface{}

func (*MockDBTX_Expecter) Query

func (_e *MockDBTX_Expecter) Query(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockDBTX_Query_Call

Query is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 string
  • _a2 ...interface{}

func (*MockDBTX_Expecter) QueryRow

func (_e *MockDBTX_Expecter) QueryRow(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockDBTX_QueryRow_Call

QueryRow is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 string
  • _a2 ...interface{}

type MockDBTX_QueryRow_Call

type MockDBTX_QueryRow_Call struct {
	*mock.Call
}

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

func (*MockDBTX_QueryRow_Call) Return

func (*MockDBTX_QueryRow_Call) Run

func (_c *MockDBTX_QueryRow_Call) Run(run func(_a0 context.Context, _a1 string, _a2 ...interface{})) *MockDBTX_QueryRow_Call

func (*MockDBTX_QueryRow_Call) RunAndReturn

func (_c *MockDBTX_QueryRow_Call) RunAndReturn(run func(context.Context, string, ...interface{}) pgx.Row) *MockDBTX_QueryRow_Call

type MockDBTX_Query_Call

type MockDBTX_Query_Call struct {
	*mock.Call
}

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

func (*MockDBTX_Query_Call) Return

func (_c *MockDBTX_Query_Call) Return(_a0 pgx.Rows, _a1 error) *MockDBTX_Query_Call

func (*MockDBTX_Query_Call) Run

func (_c *MockDBTX_Query_Call) Run(run func(_a0 context.Context, _a1 string, _a2 ...interface{})) *MockDBTX_Query_Call

func (*MockDBTX_Query_Call) RunAndReturn

func (_c *MockDBTX_Query_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgx.Rows, error)) *MockDBTX_Query_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) GetCustomFunctionsBySchemaAndTables added in v0.4.25

func (_m *MockQuerier) GetCustomFunctionsBySchemaAndTables(ctx context.Context, db DBTX, arg *GetCustomFunctionsBySchemaAndTablesParams) ([]*GetCustomFunctionsBySchemaAndTablesRow, error)

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

func (*MockQuerier) GetCustomSequencesBySchemaAndTables added in v0.4.25

func (_m *MockQuerier) GetCustomSequencesBySchemaAndTables(ctx context.Context, db DBTX, arg *GetCustomSequencesBySchemaAndTablesParams) ([]*GetCustomSequencesBySchemaAndTablesRow, error)

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

func (*MockQuerier) GetCustomTriggersBySchemaAndTables added in v0.4.25

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

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

func (*MockQuerier) GetDataTypesBySchemaAndTables added in v0.4.25

func (_m *MockQuerier) GetDataTypesBySchemaAndTables(ctx context.Context, db DBTX, arg *GetDataTypesBySchemaAndTablesParams) ([]*GetDataTypesBySchemaAndTablesRow, error)

GetDataTypesBySchemaAndTables 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.24

func (_m *MockQuerier) GetDatabaseTableSchemasBySchemasAndTables(ctx context.Context, db DBTX, schematables []string) ([]*GetDatabaseTableSchemasBySchemasAndTablesRow, error)

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

func (*MockQuerier) GetIndicesBySchemasAndTables added in v0.4.24

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

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

func (*MockQuerier) GetPostgresRolePermissions

func (_m *MockQuerier) GetPostgresRolePermissions(ctx context.Context, db DBTX, role interface{}) ([]*GetPostgresRolePermissionsRow, error)

GetPostgresRolePermissions provides a mock function with given fields: ctx, db, role

func (*MockQuerier) GetTableConstraints

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) GetTableConstraintsBySchema

func (_m *MockQuerier) GetTableConstraintsBySchema(ctx context.Context, db DBTX, schema []string) ([]*GetTableConstraintsBySchemaRow, error)

GetTableConstraintsBySchema provides a mock function with given fields: ctx, db, schema

type MockQuerier_Expecter

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

func (*MockQuerier_Expecter) GetCustomFunctionsBySchemaAndTables added in v0.4.25

func (_e *MockQuerier_Expecter) GetCustomFunctionsBySchemaAndTables(ctx interface{}, db interface{}, arg interface{}) *MockQuerier_GetCustomFunctionsBySchemaAndTables_Call

GetCustomFunctionsBySchemaAndTables is a helper method to define mock.On call

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

func (*MockQuerier_Expecter) GetCustomSequencesBySchemaAndTables added in v0.4.25

func (_e *MockQuerier_Expecter) GetCustomSequencesBySchemaAndTables(ctx interface{}, db interface{}, arg interface{}) *MockQuerier_GetCustomSequencesBySchemaAndTables_Call

GetCustomSequencesBySchemaAndTables is a helper method to define mock.On call

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

func (*MockQuerier_Expecter) GetCustomTriggersBySchemaAndTables added in v0.4.25

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

GetCustomTriggersBySchemaAndTables is a helper method to define mock.On call

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

func (*MockQuerier_Expecter) GetDataTypesBySchemaAndTables added in v0.4.25

func (_e *MockQuerier_Expecter) GetDataTypesBySchemaAndTables(ctx interface{}, db interface{}, arg interface{}) *MockQuerier_GetDataTypesBySchemaAndTables_Call

GetDataTypesBySchemaAndTables is a helper method to define mock.On call

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

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.24

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

GetDatabaseTableSchemasBySchemasAndTables is a helper method to define mock.On call

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

func (*MockQuerier_Expecter) GetIndicesBySchemasAndTables added in v0.4.24

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

GetIndicesBySchemasAndTables is a helper method to define mock.On call

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

func (*MockQuerier_Expecter) GetPostgresRolePermissions

func (_e *MockQuerier_Expecter) GetPostgresRolePermissions(ctx interface{}, db interface{}, role interface{}) *MockQuerier_GetPostgresRolePermissions_Call

GetPostgresRolePermissions is a helper method to define mock.On call

  • ctx context.Context
  • db DBTX
  • role interface{}

func (*MockQuerier_Expecter) GetTableConstraints

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) GetTableConstraintsBySchema

func (_e *MockQuerier_Expecter) GetTableConstraintsBySchema(ctx interface{}, db interface{}, schema interface{}) *MockQuerier_GetTableConstraintsBySchema_Call

GetTableConstraintsBySchema is a helper method to define mock.On call

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

type MockQuerier_GetCustomFunctionsBySchemaAndTables_Call added in v0.4.25

type MockQuerier_GetCustomFunctionsBySchemaAndTables_Call struct {
	*mock.Call
}

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

func (*MockQuerier_GetCustomFunctionsBySchemaAndTables_Call) Return added in v0.4.25

func (*MockQuerier_GetCustomFunctionsBySchemaAndTables_Call) Run added in v0.4.25

type MockQuerier_GetCustomSequencesBySchemaAndTables_Call added in v0.4.25

type MockQuerier_GetCustomSequencesBySchemaAndTables_Call struct {
	*mock.Call
}

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

func (*MockQuerier_GetCustomSequencesBySchemaAndTables_Call) Return added in v0.4.25

func (*MockQuerier_GetCustomSequencesBySchemaAndTables_Call) Run added in v0.4.25

type MockQuerier_GetCustomTriggersBySchemaAndTables_Call added in v0.4.25

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.25

func (*MockQuerier_GetCustomTriggersBySchemaAndTables_Call) Run added in v0.4.25

func (*MockQuerier_GetCustomTriggersBySchemaAndTables_Call) RunAndReturn added in v0.4.25

type MockQuerier_GetDataTypesBySchemaAndTables_Call added in v0.4.25

type MockQuerier_GetDataTypesBySchemaAndTables_Call struct {
	*mock.Call
}

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

func (*MockQuerier_GetDataTypesBySchemaAndTables_Call) Return added in v0.4.25

func (*MockQuerier_GetDataTypesBySchemaAndTables_Call) Run added in v0.4.25

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.24

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.24

func (*MockQuerier_GetDatabaseTableSchemasBySchemasAndTables_Call) Run added in v0.4.24

func (*MockQuerier_GetDatabaseTableSchemasBySchemasAndTables_Call) RunAndReturn added in v0.4.24

type MockQuerier_GetIndicesBySchemasAndTables_Call added in v0.4.24

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.24

func (*MockQuerier_GetIndicesBySchemasAndTables_Call) Run added in v0.4.24

func (*MockQuerier_GetIndicesBySchemasAndTables_Call) RunAndReturn added in v0.4.24

type MockQuerier_GetPostgresRolePermissions_Call

type MockQuerier_GetPostgresRolePermissions_Call struct {
	*mock.Call
}

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

func (*MockQuerier_GetPostgresRolePermissions_Call) Return

func (*MockQuerier_GetPostgresRolePermissions_Call) Run

func (*MockQuerier_GetPostgresRolePermissions_Call) RunAndReturn

type MockQuerier_GetTableConstraintsBySchema_Call

type MockQuerier_GetTableConstraintsBySchema_Call struct {
	*mock.Call
}

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

func (*MockQuerier_GetTableConstraintsBySchema_Call) Return

func (*MockQuerier_GetTableConstraintsBySchema_Call) Run

func (*MockQuerier_GetTableConstraintsBySchema_Call) RunAndReturn

type MockQuerier_GetTableConstraints_Call

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

func (*MockQuerier_GetTableConstraints_Call) Run

type Querier

type Querier interface {
	GetCustomFunctionsBySchemaAndTables(ctx context.Context, db DBTX, arg *GetCustomFunctionsBySchemaAndTablesParams) ([]*GetCustomFunctionsBySchemaAndTablesRow, error)
	GetCustomSequencesBySchemaAndTables(ctx context.Context, db DBTX, arg *GetCustomSequencesBySchemaAndTablesParams) ([]*GetCustomSequencesBySchemaAndTablesRow, error)
	GetCustomTriggersBySchemaAndTables(ctx context.Context, db DBTX, schematables []string) ([]*GetCustomTriggersBySchemaAndTablesRow, error)
	GetDataTypesBySchemaAndTables(ctx context.Context, db DBTX, arg *GetDataTypesBySchemaAndTablesParams) ([]*GetDataTypesBySchemaAndTablesRow, error)
	GetDatabaseSchema(ctx context.Context, db DBTX) ([]*GetDatabaseSchemaRow, error)
	GetDatabaseTableSchemasBySchemasAndTables(ctx context.Context, db DBTX, schematables []string) ([]*GetDatabaseTableSchemasBySchemasAndTablesRow, error)
	GetIndicesBySchemasAndTables(ctx context.Context, db DBTX, schematables []string) ([]*GetIndicesBySchemasAndTablesRow, error)
	GetPostgresRolePermissions(ctx context.Context, db DBTX, role interface{}) ([]*GetPostgresRolePermissionsRow, error)
	GetTableConstraints(ctx context.Context, db DBTX, arg *GetTableConstraintsParams) ([]*GetTableConstraintsRow, error)
	GetTableConstraintsBySchema(ctx context.Context, db DBTX, schema []string) ([]*GetTableConstraintsBySchemaRow, error)
}

type Queries

type Queries struct {
}

func New

func New() *Queries

func (*Queries) GetCustomFunctionsBySchemaAndTables added in v0.4.25

func (q *Queries) GetCustomFunctionsBySchemaAndTables(ctx context.Context, db DBTX, arg *GetCustomFunctionsBySchemaAndTablesParams) ([]*GetCustomFunctionsBySchemaAndTablesRow, error)

func (*Queries) GetCustomSequencesBySchemaAndTables added in v0.4.25

func (q *Queries) GetCustomSequencesBySchemaAndTables(ctx context.Context, db DBTX, arg *GetCustomSequencesBySchemaAndTablesParams) ([]*GetCustomSequencesBySchemaAndTablesRow, error)

func (*Queries) GetCustomTriggersBySchemaAndTables added in v0.4.25

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

func (*Queries) GetDataTypesBySchemaAndTables added in v0.4.25

func (q *Queries) GetDataTypesBySchemaAndTables(ctx context.Context, db DBTX, arg *GetDataTypesBySchemaAndTablesParams) ([]*GetDataTypesBySchemaAndTablesRow, error)

func (*Queries) GetDatabaseSchema

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

func (*Queries) GetDatabaseTableSchemasBySchemasAndTables added in v0.4.24

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

func (*Queries) GetIndicesBySchemasAndTables added in v0.4.24

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

func (*Queries) GetPostgresRolePermissions

func (q *Queries) GetPostgresRolePermissions(ctx context.Context, db DBTX, role interface{}) ([]*GetPostgresRolePermissionsRow, error)

func (*Queries) GetTableConstraints

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

func (*Queries) GetTableConstraintsBySchema

func (q *Queries) GetTableConstraintsBySchema(ctx context.Context, db DBTX, schema []string) ([]*GetTableConstraintsBySchemaRow, error)

Jump to

Keyboard shortcuts

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