Documentation
¶
Index ¶
- type Conn
- func (_m *Conn) Begin(_a0 context.Context) (pgx.Tx, error)
- func (_m *Conn) Close()
- func (_m *Conn) Exec(_a0 context.Context, _a1 string, _a2 ...interface{}) (pgconn.CommandTag, error)
- func (_m *Conn) Query(_a0 context.Context, _a1 string, _a2 ...interface{}) (pgx.Rows, error)
- func (_m *Conn) QueryFunc(_a0 context.Context, _a1 string, _a2 []interface{}, _a3 []interface{}, ...) (pgconn.CommandTag, error)
- func (_m *Conn) QueryRow(_a0 context.Context, _a1 string, _a2 ...interface{}) pgx.Row
- func (_m *Conn) SendBatch(_a0 context.Context, _a1 *pgx.Batch) pgx.BatchResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
Conn is an autogenerated mock type for the Conn type
func (*Conn) Exec ¶
func (_m *Conn) Exec(_a0 context.Context, _a1 string, _a2 ...interface{}) (pgconn.CommandTag, error)
Exec provides a mock function with given fields: _a0, _a1, _a2
func (*Conn) QueryFunc ¶
func (_m *Conn) QueryFunc(_a0 context.Context, _a1 string, _a2 []interface{}, _a3 []interface{}, _a4 func(pgx.QueryFuncRow) error) (pgconn.CommandTag, error)
QueryFunc provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
Click to show internal directories.
Click to hide internal directories.