Documentation ¶
Index ¶
- type FabricCADB
- func (_m *FabricCADB) BeginTx() dbutil.FabricCATx
- func (_m *FabricCADB) IsInitialized() bool
- func (_m *FabricCADB) MustBegin() *sqlx.Tx
- func (_m *FabricCADB) NamedExec(query string, arg interface{}) (sql.Result, error)
- func (_m *FabricCADB) Rebind(query string) string
- func (_m *FabricCADB) Select(dest interface{}, query string, args ...interface{}) error
- type FabricCATx
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FabricCADB ¶
FabricCADB is an autogenerated mock type for the FabricCADB type
func (*FabricCADB) BeginTx ¶
func (_m *FabricCADB) BeginTx() dbutil.FabricCATx
BeginTx provides a mock function with given fields:
func (*FabricCADB) IsInitialized ¶
func (_m *FabricCADB) IsInitialized() bool
IsInitialized provides a mock function with given fields:
func (*FabricCADB) MustBegin ¶
func (_m *FabricCADB) MustBegin() *sqlx.Tx
MustBegin provides a mock function with given fields:
func (*FabricCADB) NamedExec ¶
func (_m *FabricCADB) NamedExec(query string, arg interface{}) (sql.Result, error)
NamedExec provides a mock function with given fields: query, arg
func (*FabricCADB) Rebind ¶
func (_m *FabricCADB) Rebind(query string) string
Rebind provides a mock function with given fields: query
func (*FabricCADB) Select ¶
func (_m *FabricCADB) Select(dest interface{}, query string, args ...interface{}) error
Select provides a mock function with given fields: dest, query, args
type FabricCATx ¶
FabricCATx is an autogenerated mock type for the FabricCATx type
func (*FabricCATx) Commit ¶
func (_m *FabricCATx) Commit() error
Commit provides a mock function with given fields:
func (*FabricCATx) Exec ¶
func (_m *FabricCATx) Exec(query string, args ...interface{}) (sql.Result, error)
Exec provides a mock function with given fields: query, args
func (*FabricCATx) Rebind ¶
func (_m *FabricCATx) Rebind(query string) string
Rebind provides a mock function with given fields: query
func (*FabricCATx) Rollback ¶
func (_m *FabricCATx) Rollback() error
Rollback provides a mock function with given fields:
func (*FabricCATx) Select ¶
func (_m *FabricCATx) Select(dest interface{}, query string, args ...interface{}) error
Select provides a mock function with given fields: dest, query, args
type Result ¶
Result is an autogenerated mock type for the Result type
func (*Result) LastInsertId ¶
LastInsertId provides a mock function with given fields:
func (*Result) RowsAffected ¶
RowsAffected provides a mock function with given fields: