Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Transaction
- func (fake *Transaction) Commit() error
- func (fake *Transaction) CommitCallCount() int
- func (fake *Transaction) CommitReturns(result1 error)
- func (fake *Transaction) CommitReturnsOnCall(i int, result1 error)
- func (fake *Transaction) DriverName() string
- func (fake *Transaction) DriverNameCallCount() int
- func (fake *Transaction) DriverNameReturns(result1 string)
- func (fake *Transaction) DriverNameReturnsOnCall(i int, result1 string)
- func (fake *Transaction) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *Transaction) ExecArgsForCall(i int) (string, []interface{})
- func (fake *Transaction) ExecCallCount() int
- func (fake *Transaction) ExecReturns(result1 sql.Result, result2 error)
- func (fake *Transaction) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *Transaction) Invocations() map[string][][]interface{}
- func (fake *Transaction) QueryRow(query string, args ...interface{}) db.RowScanner
- func (fake *Transaction) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *Transaction) QueryRowCallCount() int
- func (fake *Transaction) QueryRowReturns(result1 db.RowScanner)
- func (fake *Transaction) QueryRowReturnsOnCall(i int, result1 db.RowScanner)
- func (fake *Transaction) Queryx(query string, args ...interface{}) (*sqlx.Rows, error)
- func (fake *Transaction) QueryxArgsForCall(i int) (string, []interface{})
- func (fake *Transaction) QueryxCallCount() int
- func (fake *Transaction) QueryxReturns(result1 *sqlx.Rows, result2 error)
- func (fake *Transaction) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *Transaction) Rebind(arg1 string) string
- func (fake *Transaction) RebindArgsForCall(i int) string
- func (fake *Transaction) RebindCallCount() int
- func (fake *Transaction) RebindReturns(result1 string)
- func (fake *Transaction) RebindReturnsOnCall(i int, result1 string)
- func (fake *Transaction) Rollback() error
- func (fake *Transaction) RollbackCallCount() int
- func (fake *Transaction) RollbackReturns(result1 error)
- func (fake *Transaction) RollbackReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct { ExecStub func(query string, args ...interface{}) (sql.Result, error) QueryRowStub func(query string, args ...interface{}) db.RowScanner QueryxStub func(query string, args ...interface{}) (*sqlx.Rows, error) CommitStub func() error RollbackStub func() error RebindStub func(string) string DriverNameStub func() string // contains filtered or unexported fields }
func (*Transaction) Commit ¶
func (fake *Transaction) Commit() error
func (*Transaction) CommitCallCount ¶
func (fake *Transaction) CommitCallCount() int
func (*Transaction) CommitReturns ¶
func (fake *Transaction) CommitReturns(result1 error)
func (*Transaction) CommitReturnsOnCall ¶
func (fake *Transaction) CommitReturnsOnCall(i int, result1 error)
func (*Transaction) DriverName ¶
func (fake *Transaction) DriverName() string
func (*Transaction) DriverNameCallCount ¶
func (fake *Transaction) DriverNameCallCount() int
func (*Transaction) DriverNameReturns ¶
func (fake *Transaction) DriverNameReturns(result1 string)
func (*Transaction) DriverNameReturnsOnCall ¶
func (fake *Transaction) DriverNameReturnsOnCall(i int, result1 string)
func (*Transaction) Exec ¶
func (fake *Transaction) Exec(query string, args ...interface{}) (sql.Result, error)
func (*Transaction) ExecArgsForCall ¶
func (fake *Transaction) ExecArgsForCall(i int) (string, []interface{})
func (*Transaction) ExecCallCount ¶
func (fake *Transaction) ExecCallCount() int
func (*Transaction) ExecReturns ¶
func (fake *Transaction) ExecReturns(result1 sql.Result, result2 error)
func (*Transaction) ExecReturnsOnCall ¶
func (fake *Transaction) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
func (*Transaction) Invocations ¶
func (fake *Transaction) Invocations() map[string][][]interface{}
func (*Transaction) QueryRow ¶
func (fake *Transaction) QueryRow(query string, args ...interface{}) db.RowScanner
func (*Transaction) QueryRowArgsForCall ¶
func (fake *Transaction) QueryRowArgsForCall(i int) (string, []interface{})
func (*Transaction) QueryRowCallCount ¶
func (fake *Transaction) QueryRowCallCount() int
func (*Transaction) QueryRowReturns ¶
func (fake *Transaction) QueryRowReturns(result1 db.RowScanner)
func (*Transaction) QueryRowReturnsOnCall ¶
func (fake *Transaction) QueryRowReturnsOnCall(i int, result1 db.RowScanner)
func (*Transaction) Queryx ¶
func (fake *Transaction) Queryx(query string, args ...interface{}) (*sqlx.Rows, error)
func (*Transaction) QueryxArgsForCall ¶
func (fake *Transaction) QueryxArgsForCall(i int) (string, []interface{})
func (*Transaction) QueryxCallCount ¶
func (fake *Transaction) QueryxCallCount() int
func (*Transaction) QueryxReturns ¶
func (fake *Transaction) QueryxReturns(result1 *sqlx.Rows, result2 error)
func (*Transaction) QueryxReturnsOnCall ¶
func (fake *Transaction) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
func (*Transaction) Rebind ¶
func (fake *Transaction) Rebind(arg1 string) string
func (*Transaction) RebindArgsForCall ¶
func (fake *Transaction) RebindArgsForCall(i int) string
func (*Transaction) RebindCallCount ¶
func (fake *Transaction) RebindCallCount() int
func (*Transaction) RebindReturns ¶
func (fake *Transaction) RebindReturns(result1 string)
func (*Transaction) RebindReturnsOnCall ¶
func (fake *Transaction) RebindReturnsOnCall(i int, result1 string)
func (*Transaction) Rollback ¶
func (fake *Transaction) Rollback() error
func (*Transaction) RollbackCallCount ¶
func (fake *Transaction) RollbackCallCount() int
func (*Transaction) RollbackReturns ¶
func (fake *Transaction) RollbackReturns(result1 error)
func (*Transaction) RollbackReturnsOnCall ¶
func (fake *Transaction) RollbackReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.