Documentation
¶
Index ¶
- type SqlxDBConnectorI
- func (_m *SqlxDBConnectorI) BeginTxx(ctx context.Context, opts *sql.TxOptions) (*sqlx.Tx, error)
- func (_m *SqlxDBConnectorI) BindNamed(_a0 string, _a1 interface{}) (string, []interface{}, error)
- func (_m *SqlxDBConnectorI) DriverName() string
- func (_m *SqlxDBConnectorI) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func (_m *SqlxDBConnectorI) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)
- func (_m *SqlxDBConnectorI) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func (_m *SqlxDBConnectorI) QueryRowxContext(ctx context.Context, query string, args ...interface{}) *sqlx.Row
- func (_m *SqlxDBConnectorI) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)
- func (_m *SqlxDBConnectorI) Rebind(_a0 string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqlxDBConnectorI ¶
SqlxDBConnectorI is an autogenerated mock type for the SqlxDBConnectorI type
func (*SqlxDBConnectorI) BindNamed ¶
func (_m *SqlxDBConnectorI) BindNamed(_a0 string, _a1 interface{}) (string, []interface{}, error)
BindNamed provides a mock function with given fields: _a0, _a1
func (*SqlxDBConnectorI) DriverName ¶
func (_m *SqlxDBConnectorI) DriverName() string
DriverName provides a mock function with given fields:
func (*SqlxDBConnectorI) ExecContext ¶
func (_m *SqlxDBConnectorI) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
ExecContext provides a mock function with given fields: ctx, query, args
func (*SqlxDBConnectorI) PrepareContext ¶
PrepareContext provides a mock function with given fields: ctx, query
func (*SqlxDBConnectorI) QueryContext ¶
func (_m *SqlxDBConnectorI) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
QueryContext provides a mock function with given fields: ctx, query, args
func (*SqlxDBConnectorI) QueryRowxContext ¶
func (_m *SqlxDBConnectorI) QueryRowxContext(ctx context.Context, query string, args ...interface{}) *sqlx.Row
QueryRowxContext provides a mock function with given fields: ctx, query, args
func (*SqlxDBConnectorI) QueryxContext ¶
func (_m *SqlxDBConnectorI) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)
QueryxContext provides a mock function with given fields: ctx, query, args
func (*SqlxDBConnectorI) Rebind ¶
func (_m *SqlxDBConnectorI) Rebind(_a0 string) string
Rebind provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.