Documentation
¶
Index ¶
- type Association
- func (_m *Association) Append(values ...interface{}) error
- func (_m *Association) Clear() error
- func (_m *Association) Count() int64
- func (_m *Association) Delete(values ...interface{}) error
- func (_m *Association) EXPECT() *Association_Expecter
- func (_m *Association) Find(out interface{}, conds ...interface{}) error
- func (_m *Association) Replace(values ...interface{}) error
- type Association_Append_Call
- type Association_Clear_Call
- type Association_Count_Call
- type Association_Delete_Call
- type Association_Expecter
- func (_e *Association_Expecter) Append(values ...interface{}) *Association_Append_Call
- func (_e *Association_Expecter) Clear() *Association_Clear_Call
- func (_e *Association_Expecter) Count() *Association_Count_Call
- func (_e *Association_Expecter) Delete(values ...interface{}) *Association_Delete_Call
- func (_e *Association_Expecter) Find(out interface{}, conds ...interface{}) *Association_Find_Call
- func (_e *Association_Expecter) Replace(values ...interface{}) *Association_Replace_Call
- type Association_Find_Call
- type Association_Replace_Call
- type ConnectionModel
- type ConnectionModel_Connection_Call
- type ConnectionModel_Expecter
- type Cursor
- type Cursor_Expecter
- type Cursor_Scan_Call
- type DispatchesEvents
- type DispatchesEvents_DispatchesEvents_Call
- func (_c *DispatchesEvents_DispatchesEvents_Call) Return(_a0 map[orm.EventType]func(orm.Event) error) *DispatchesEvents_DispatchesEvents_Call
- func (_c *DispatchesEvents_DispatchesEvents_Call) Run(run func()) *DispatchesEvents_DispatchesEvents_Call
- func (_c *DispatchesEvents_DispatchesEvents_Call) RunAndReturn(run func() map[orm.EventType]func(orm.Event) error) *DispatchesEvents_DispatchesEvents_Call
- type DispatchesEvents_Expecter
- type Event
- func (_m *Event) Context() context.Context
- func (_m *Event) EXPECT() *Event_Expecter
- func (_m *Event) GetAttribute(key string) interface{}
- func (_m *Event) GetOriginal(key string, def ...interface{}) interface{}
- func (_m *Event) IsClean(columns ...string) bool
- func (_m *Event) IsDirty(columns ...string) bool
- func (_m *Event) Query() orm.Query
- func (_m *Event) SetAttribute(key string, value interface{})
- type Event_Context_Call
- type Event_Expecter
- func (_e *Event_Expecter) Context() *Event_Context_Call
- func (_e *Event_Expecter) GetAttribute(key interface{}) *Event_GetAttribute_Call
- func (_e *Event_Expecter) GetOriginal(key interface{}, def ...interface{}) *Event_GetOriginal_Call
- func (_e *Event_Expecter) IsClean(columns ...interface{}) *Event_IsClean_Call
- func (_e *Event_Expecter) IsDirty(columns ...interface{}) *Event_IsDirty_Call
- func (_e *Event_Expecter) Query() *Event_Query_Call
- func (_e *Event_Expecter) SetAttribute(key interface{}, value interface{}) *Event_SetAttribute_Call
- type Event_GetAttribute_Call
- type Event_GetOriginal_Call
- func (_c *Event_GetOriginal_Call) Return(_a0 interface{}) *Event_GetOriginal_Call
- func (_c *Event_GetOriginal_Call) Run(run func(key string, def ...interface{})) *Event_GetOriginal_Call
- func (_c *Event_GetOriginal_Call) RunAndReturn(run func(string, ...interface{}) interface{}) *Event_GetOriginal_Call
- type Event_IsClean_Call
- type Event_IsDirty_Call
- type Event_Query_Call
- type Event_SetAttribute_Call
- type Factory
- func (_m *Factory) Count(count int) orm.Factory
- func (_m *Factory) Create(value interface{}, attributes ...map[string]interface{}) error
- func (_m *Factory) CreateQuietly(value interface{}, attributes ...map[string]interface{}) error
- func (_m *Factory) EXPECT() *Factory_Expecter
- func (_m *Factory) Make(value interface{}, attributes ...map[string]interface{}) error
- type Factory_Count_Call
- type Factory_CreateQuietly_Call
- func (_c *Factory_CreateQuietly_Call) Return(_a0 error) *Factory_CreateQuietly_Call
- func (_c *Factory_CreateQuietly_Call) Run(run func(value interface{}, attributes ...map[string]interface{})) *Factory_CreateQuietly_Call
- func (_c *Factory_CreateQuietly_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) error) *Factory_CreateQuietly_Call
- type Factory_Create_Call
- func (_c *Factory_Create_Call) Return(_a0 error) *Factory_Create_Call
- func (_c *Factory_Create_Call) Run(run func(value interface{}, attributes ...map[string]interface{})) *Factory_Create_Call
- func (_c *Factory_Create_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) error) *Factory_Create_Call
- type Factory_Expecter
- func (_e *Factory_Expecter) Count(count interface{}) *Factory_Count_Call
- func (_e *Factory_Expecter) Create(value interface{}, attributes ...interface{}) *Factory_Create_Call
- func (_e *Factory_Expecter) CreateQuietly(value interface{}, attributes ...interface{}) *Factory_CreateQuietly_Call
- func (_e *Factory_Expecter) Make(value interface{}, attributes ...interface{}) *Factory_Make_Call
- type Factory_Make_Call
- func (_c *Factory_Make_Call) Return(_a0 error) *Factory_Make_Call
- func (_c *Factory_Make_Call) Run(run func(value interface{}, attributes ...map[string]interface{})) *Factory_Make_Call
- func (_c *Factory_Make_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) error) *Factory_Make_Call
- type Observer
- func (_m *Observer) Created(_a0 orm.Event) error
- func (_m *Observer) Creating(_a0 orm.Event) error
- func (_m *Observer) Deleted(_a0 orm.Event) error
- func (_m *Observer) Deleting(_a0 orm.Event) error
- func (_m *Observer) EXPECT() *Observer_Expecter
- func (_m *Observer) ForceDeleted(_a0 orm.Event) error
- func (_m *Observer) ForceDeleting(_a0 orm.Event) error
- func (_m *Observer) Retrieved(_a0 orm.Event) error
- func (_m *Observer) Saved(_a0 orm.Event) error
- func (_m *Observer) Saving(_a0 orm.Event) error
- func (_m *Observer) Updated(_a0 orm.Event) error
- func (_m *Observer) Updating(_a0 orm.Event) error
- type Observer_Created_Call
- type Observer_Creating_Call
- type Observer_Deleted_Call
- type Observer_Deleting_Call
- type Observer_Expecter
- func (_e *Observer_Expecter) Created(_a0 interface{}) *Observer_Created_Call
- func (_e *Observer_Expecter) Creating(_a0 interface{}) *Observer_Creating_Call
- func (_e *Observer_Expecter) Deleted(_a0 interface{}) *Observer_Deleted_Call
- func (_e *Observer_Expecter) Deleting(_a0 interface{}) *Observer_Deleting_Call
- func (_e *Observer_Expecter) ForceDeleted(_a0 interface{}) *Observer_ForceDeleted_Call
- func (_e *Observer_Expecter) ForceDeleting(_a0 interface{}) *Observer_ForceDeleting_Call
- func (_e *Observer_Expecter) Retrieved(_a0 interface{}) *Observer_Retrieved_Call
- func (_e *Observer_Expecter) Saved(_a0 interface{}) *Observer_Saved_Call
- func (_e *Observer_Expecter) Saving(_a0 interface{}) *Observer_Saving_Call
- func (_e *Observer_Expecter) Updated(_a0 interface{}) *Observer_Updated_Call
- func (_e *Observer_Expecter) Updating(_a0 interface{}) *Observer_Updating_Call
- type Observer_ForceDeleted_Call
- type Observer_ForceDeleting_Call
- type Observer_Retrieved_Call
- type Observer_Saved_Call
- type Observer_Saving_Call
- type Observer_Updated_Call
- type Observer_Updating_Call
- type Orm
- func (_m *Orm) Connection(name string) orm.Orm
- func (_m *Orm) DB() (*sql.DB, error)
- func (_m *Orm) EXPECT() *Orm_Expecter
- func (_m *Orm) Factory() orm.Factory
- func (_m *Orm) Observe(model interface{}, observer orm.Observer)
- func (_m *Orm) Query() orm.Query
- func (_m *Orm) Transaction(txFunc func(orm.Transaction) error) error
- func (_m *Orm) WithContext(ctx context.Context) orm.Orm
- type Orm_Connection_Call
- type Orm_DB_Call
- type Orm_Expecter
- func (_e *Orm_Expecter) Connection(name interface{}) *Orm_Connection_Call
- func (_e *Orm_Expecter) DB() *Orm_DB_Call
- func (_e *Orm_Expecter) Factory() *Orm_Factory_Call
- func (_e *Orm_Expecter) Observe(model interface{}, observer interface{}) *Orm_Observe_Call
- func (_e *Orm_Expecter) Query() *Orm_Query_Call
- func (_e *Orm_Expecter) Transaction(txFunc interface{}) *Orm_Transaction_Call
- func (_e *Orm_Expecter) WithContext(ctx interface{}) *Orm_WithContext_Call
- type Orm_Factory_Call
- type Orm_Observe_Call
- type Orm_Query_Call
- type Orm_Transaction_Call
- type Orm_WithContext_Call
- type Query
- func (_m *Query) Association(association string) orm.Association
- func (_m *Query) Begin() (orm.Transaction, error)
- func (_m *Query) Count(count *int64) error
- func (_m *Query) Create(value interface{}) error
- func (_m *Query) Cursor() (chan orm.Cursor, error)
- func (_m *Query) Delete(value interface{}, conds ...interface{}) (*orm.Result, error)
- func (_m *Query) Distinct(args ...interface{}) orm.Query
- func (_m *Query) Driver() orm.Driver
- func (_m *Query) EXPECT() *Query_Expecter
- func (_m *Query) Exec(sql string, values ...interface{}) (*orm.Result, error)
- func (_m *Query) Exists(exists *bool) error
- func (_m *Query) Find(dest interface{}, conds ...interface{}) error
- func (_m *Query) FindOrFail(dest interface{}, conds ...interface{}) error
- func (_m *Query) First(dest interface{}) error
- func (_m *Query) FirstOr(dest interface{}, callback func() error) error
- func (_m *Query) FirstOrCreate(dest interface{}, conds ...interface{}) error
- func (_m *Query) FirstOrFail(dest interface{}) error
- func (_m *Query) FirstOrNew(dest interface{}, attributes interface{}, values ...interface{}) error
- func (_m *Query) ForceDelete(value interface{}, conds ...interface{}) (*orm.Result, error)
- func (_m *Query) Get(dest interface{}) error
- func (_m *Query) Group(name string) orm.Query
- func (_m *Query) Having(query interface{}, args ...interface{}) orm.Query
- func (_m *Query) InRandomOrder() orm.Query
- func (_m *Query) Join(query string, args ...interface{}) orm.Query
- func (_m *Query) Limit(limit int) orm.Query
- func (_m *Query) Load(dest interface{}, relation string, args ...interface{}) error
- func (_m *Query) LoadMissing(dest interface{}, relation string, args ...interface{}) error
- func (_m *Query) LockForUpdate() orm.Query
- func (_m *Query) Model(value interface{}) orm.Query
- func (_m *Query) Offset(offset int) orm.Query
- func (_m *Query) Omit(columns ...string) orm.Query
- func (_m *Query) OrWhere(query interface{}, args ...interface{}) orm.Query
- func (_m *Query) OrWhereBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Query) OrWhereIn(column string, values []interface{}) orm.Query
- func (_m *Query) OrWhereNotBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Query) OrWhereNotIn(column string, values []interface{}) orm.Query
- func (_m *Query) OrWhereNull(column string) orm.Query
- func (_m *Query) Order(value interface{}) orm.Query
- func (_m *Query) OrderBy(column string, direction ...string) orm.Query
- func (_m *Query) OrderByDesc(column string) orm.Query
- func (_m *Query) Paginate(page int, limit int, dest interface{}, total *int64) error
- func (_m *Query) Pluck(column string, dest interface{}) error
- func (_m *Query) Raw(sql string, values ...interface{}) orm.Query
- func (_m *Query) Save(value interface{}) error
- func (_m *Query) SaveQuietly(value interface{}) error
- func (_m *Query) Scan(dest interface{}) error
- func (_m *Query) Scopes(funcs ...func(orm.Query) orm.Query) orm.Query
- func (_m *Query) Select(query interface{}, args ...interface{}) orm.Query
- func (_m *Query) SharedLock() orm.Query
- func (_m *Query) Sum(column string, dest interface{}) error
- func (_m *Query) Table(name string, args ...interface{}) orm.Query
- func (_m *Query) ToRawSql() orm.ToSql
- func (_m *Query) ToSql() orm.ToSql
- func (_m *Query) Update(column interface{}, value ...interface{}) (*orm.Result, error)
- func (_m *Query) UpdateOrCreate(dest interface{}, attributes interface{}, values interface{}) error
- func (_m *Query) Where(query interface{}, args ...interface{}) orm.Query
- func (_m *Query) WhereBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Query) WhereIn(column string, values []interface{}) orm.Query
- func (_m *Query) WhereNotBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Query) WhereNotIn(column string, values []interface{}) orm.Query
- func (_m *Query) WhereNotNull(column string) orm.Query
- func (_m *Query) WhereNull(column string) orm.Query
- func (_m *Query) With(query string, args ...interface{}) orm.Query
- func (_m *Query) WithTrashed() orm.Query
- func (_m *Query) WithoutEvents() orm.Query
- type Query_Association_Call
- type Query_Begin_Call
- type Query_Count_Call
- type Query_Create_Call
- type Query_Cursor_Call
- type Query_Delete_Call
- func (_c *Query_Delete_Call) Return(_a0 *orm.Result, _a1 error) *Query_Delete_Call
- func (_c *Query_Delete_Call) Run(run func(value interface{}, conds ...interface{})) *Query_Delete_Call
- func (_c *Query_Delete_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Query_Delete_Call
- type Query_Distinct_Call
- type Query_Driver_Call
- type Query_Exec_Call
- type Query_Exists_Call
- type Query_Expecter
- func (_e *Query_Expecter) Association(association interface{}) *Query_Association_Call
- func (_e *Query_Expecter) Begin() *Query_Begin_Call
- func (_e *Query_Expecter) Count(count interface{}) *Query_Count_Call
- func (_e *Query_Expecter) Create(value interface{}) *Query_Create_Call
- func (_e *Query_Expecter) Cursor() *Query_Cursor_Call
- func (_e *Query_Expecter) Delete(value interface{}, conds ...interface{}) *Query_Delete_Call
- func (_e *Query_Expecter) Distinct(args ...interface{}) *Query_Distinct_Call
- func (_e *Query_Expecter) Driver() *Query_Driver_Call
- func (_e *Query_Expecter) Exec(sql interface{}, values ...interface{}) *Query_Exec_Call
- func (_e *Query_Expecter) Exists(exists interface{}) *Query_Exists_Call
- func (_e *Query_Expecter) Find(dest interface{}, conds ...interface{}) *Query_Find_Call
- func (_e *Query_Expecter) FindOrFail(dest interface{}, conds ...interface{}) *Query_FindOrFail_Call
- func (_e *Query_Expecter) First(dest interface{}) *Query_First_Call
- func (_e *Query_Expecter) FirstOr(dest interface{}, callback interface{}) *Query_FirstOr_Call
- func (_e *Query_Expecter) FirstOrCreate(dest interface{}, conds ...interface{}) *Query_FirstOrCreate_Call
- func (_e *Query_Expecter) FirstOrFail(dest interface{}) *Query_FirstOrFail_Call
- func (_e *Query_Expecter) FirstOrNew(dest interface{}, attributes interface{}, values ...interface{}) *Query_FirstOrNew_Call
- func (_e *Query_Expecter) ForceDelete(value interface{}, conds ...interface{}) *Query_ForceDelete_Call
- func (_e *Query_Expecter) Get(dest interface{}) *Query_Get_Call
- func (_e *Query_Expecter) Group(name interface{}) *Query_Group_Call
- func (_e *Query_Expecter) Having(query interface{}, args ...interface{}) *Query_Having_Call
- func (_e *Query_Expecter) InRandomOrder() *Query_InRandomOrder_Call
- func (_e *Query_Expecter) Join(query interface{}, args ...interface{}) *Query_Join_Call
- func (_e *Query_Expecter) Limit(limit interface{}) *Query_Limit_Call
- func (_e *Query_Expecter) Load(dest interface{}, relation interface{}, args ...interface{}) *Query_Load_Call
- func (_e *Query_Expecter) LoadMissing(dest interface{}, relation interface{}, args ...interface{}) *Query_LoadMissing_Call
- func (_e *Query_Expecter) LockForUpdate() *Query_LockForUpdate_Call
- func (_e *Query_Expecter) Model(value interface{}) *Query_Model_Call
- func (_e *Query_Expecter) Offset(offset interface{}) *Query_Offset_Call
- func (_e *Query_Expecter) Omit(columns ...interface{}) *Query_Omit_Call
- func (_e *Query_Expecter) OrWhere(query interface{}, args ...interface{}) *Query_OrWhere_Call
- func (_e *Query_Expecter) OrWhereBetween(column interface{}, x interface{}, y interface{}) *Query_OrWhereBetween_Call
- func (_e *Query_Expecter) OrWhereIn(column interface{}, values interface{}) *Query_OrWhereIn_Call
- func (_e *Query_Expecter) OrWhereNotBetween(column interface{}, x interface{}, y interface{}) *Query_OrWhereNotBetween_Call
- func (_e *Query_Expecter) OrWhereNotIn(column interface{}, values interface{}) *Query_OrWhereNotIn_Call
- func (_e *Query_Expecter) OrWhereNull(column interface{}) *Query_OrWhereNull_Call
- func (_e *Query_Expecter) Order(value interface{}) *Query_Order_Call
- func (_e *Query_Expecter) OrderBy(column interface{}, direction ...interface{}) *Query_OrderBy_Call
- func (_e *Query_Expecter) OrderByDesc(column interface{}) *Query_OrderByDesc_Call
- func (_e *Query_Expecter) Paginate(page interface{}, limit interface{}, dest interface{}, total interface{}) *Query_Paginate_Call
- func (_e *Query_Expecter) Pluck(column interface{}, dest interface{}) *Query_Pluck_Call
- func (_e *Query_Expecter) Raw(sql interface{}, values ...interface{}) *Query_Raw_Call
- func (_e *Query_Expecter) Save(value interface{}) *Query_Save_Call
- func (_e *Query_Expecter) SaveQuietly(value interface{}) *Query_SaveQuietly_Call
- func (_e *Query_Expecter) Scan(dest interface{}) *Query_Scan_Call
- func (_e *Query_Expecter) Scopes(funcs ...interface{}) *Query_Scopes_Call
- func (_e *Query_Expecter) Select(query interface{}, args ...interface{}) *Query_Select_Call
- func (_e *Query_Expecter) SharedLock() *Query_SharedLock_Call
- func (_e *Query_Expecter) Sum(column interface{}, dest interface{}) *Query_Sum_Call
- func (_e *Query_Expecter) Table(name interface{}, args ...interface{}) *Query_Table_Call
- func (_e *Query_Expecter) ToRawSql() *Query_ToRawSql_Call
- func (_e *Query_Expecter) ToSql() *Query_ToSql_Call
- func (_e *Query_Expecter) Update(column interface{}, value ...interface{}) *Query_Update_Call
- func (_e *Query_Expecter) UpdateOrCreate(dest interface{}, attributes interface{}, values interface{}) *Query_UpdateOrCreate_Call
- func (_e *Query_Expecter) Where(query interface{}, args ...interface{}) *Query_Where_Call
- func (_e *Query_Expecter) WhereBetween(column interface{}, x interface{}, y interface{}) *Query_WhereBetween_Call
- func (_e *Query_Expecter) WhereIn(column interface{}, values interface{}) *Query_WhereIn_Call
- func (_e *Query_Expecter) WhereNotBetween(column interface{}, x interface{}, y interface{}) *Query_WhereNotBetween_Call
- func (_e *Query_Expecter) WhereNotIn(column interface{}, values interface{}) *Query_WhereNotIn_Call
- func (_e *Query_Expecter) WhereNotNull(column interface{}) *Query_WhereNotNull_Call
- func (_e *Query_Expecter) WhereNull(column interface{}) *Query_WhereNull_Call
- func (_e *Query_Expecter) With(query interface{}, args ...interface{}) *Query_With_Call
- func (_e *Query_Expecter) WithTrashed() *Query_WithTrashed_Call
- func (_e *Query_Expecter) WithoutEvents() *Query_WithoutEvents_Call
- type Query_FindOrFail_Call
- type Query_Find_Call
- type Query_FirstOrCreate_Call
- func (_c *Query_FirstOrCreate_Call) Return(_a0 error) *Query_FirstOrCreate_Call
- func (_c *Query_FirstOrCreate_Call) Run(run func(dest interface{}, conds ...interface{})) *Query_FirstOrCreate_Call
- func (_c *Query_FirstOrCreate_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Query_FirstOrCreate_Call
- type Query_FirstOrFail_Call
- type Query_FirstOrNew_Call
- func (_c *Query_FirstOrNew_Call) Return(_a0 error) *Query_FirstOrNew_Call
- func (_c *Query_FirstOrNew_Call) Run(run func(dest interface{}, attributes interface{}, values ...interface{})) *Query_FirstOrNew_Call
- func (_c *Query_FirstOrNew_Call) RunAndReturn(run func(interface{}, interface{}, ...interface{}) error) *Query_FirstOrNew_Call
- type Query_FirstOr_Call
- type Query_First_Call
- type Query_ForceDelete_Call
- func (_c *Query_ForceDelete_Call) Return(_a0 *orm.Result, _a1 error) *Query_ForceDelete_Call
- func (_c *Query_ForceDelete_Call) Run(run func(value interface{}, conds ...interface{})) *Query_ForceDelete_Call
- func (_c *Query_ForceDelete_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Query_ForceDelete_Call
- type Query_Get_Call
- type Query_Group_Call
- type Query_Having_Call
- type Query_InRandomOrder_Call
- type Query_Join_Call
- type Query_Limit_Call
- type Query_LoadMissing_Call
- func (_c *Query_LoadMissing_Call) Return(_a0 error) *Query_LoadMissing_Call
- func (_c *Query_LoadMissing_Call) Run(run func(dest interface{}, relation string, args ...interface{})) *Query_LoadMissing_Call
- func (_c *Query_LoadMissing_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Query_LoadMissing_Call
- type Query_Load_Call
- type Query_LockForUpdate_Call
- type Query_Model_Call
- type Query_Offset_Call
- type Query_Omit_Call
- type Query_OrWhereBetween_Call
- func (_c *Query_OrWhereBetween_Call) Return(_a0 orm.Query) *Query_OrWhereBetween_Call
- func (_c *Query_OrWhereBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Query_OrWhereBetween_Call
- func (_c *Query_OrWhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Query_OrWhereBetween_Call
- type Query_OrWhereIn_Call
- type Query_OrWhereNotBetween_Call
- func (_c *Query_OrWhereNotBetween_Call) Return(_a0 orm.Query) *Query_OrWhereNotBetween_Call
- func (_c *Query_OrWhereNotBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Query_OrWhereNotBetween_Call
- func (_c *Query_OrWhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Query_OrWhereNotBetween_Call
- type Query_OrWhereNotIn_Call
- func (_c *Query_OrWhereNotIn_Call) Return(_a0 orm.Query) *Query_OrWhereNotIn_Call
- func (_c *Query_OrWhereNotIn_Call) Run(run func(column string, values []interface{})) *Query_OrWhereNotIn_Call
- func (_c *Query_OrWhereNotIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Query_OrWhereNotIn_Call
- type Query_OrWhereNull_Call
- type Query_OrWhere_Call
- type Query_OrderByDesc_Call
- type Query_OrderBy_Call
- type Query_Order_Call
- type Query_Paginate_Call
- func (_c *Query_Paginate_Call) Return(_a0 error) *Query_Paginate_Call
- func (_c *Query_Paginate_Call) Run(run func(page int, limit int, dest interface{}, total *int64)) *Query_Paginate_Call
- func (_c *Query_Paginate_Call) RunAndReturn(run func(int, int, interface{}, *int64) error) *Query_Paginate_Call
- type Query_Pluck_Call
- type Query_Raw_Call
- type Query_SaveQuietly_Call
- type Query_Save_Call
- type Query_Scan_Call
- type Query_Scopes_Call
- type Query_Select_Call
- type Query_SharedLock_Call
- type Query_Sum_Call
- type Query_Table_Call
- type Query_ToRawSql_Call
- type Query_ToSql_Call
- type Query_UpdateOrCreate_Call
- func (_c *Query_UpdateOrCreate_Call) Return(_a0 error) *Query_UpdateOrCreate_Call
- func (_c *Query_UpdateOrCreate_Call) Run(run func(dest interface{}, attributes interface{}, values interface{})) *Query_UpdateOrCreate_Call
- func (_c *Query_UpdateOrCreate_Call) RunAndReturn(run func(interface{}, interface{}, interface{}) error) *Query_UpdateOrCreate_Call
- type Query_Update_Call
- func (_c *Query_Update_Call) Return(_a0 *orm.Result, _a1 error) *Query_Update_Call
- func (_c *Query_Update_Call) Run(run func(column interface{}, value ...interface{})) *Query_Update_Call
- func (_c *Query_Update_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Query_Update_Call
- type Query_WhereBetween_Call
- func (_c *Query_WhereBetween_Call) Return(_a0 orm.Query) *Query_WhereBetween_Call
- func (_c *Query_WhereBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Query_WhereBetween_Call
- func (_c *Query_WhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Query_WhereBetween_Call
- type Query_WhereIn_Call
- type Query_WhereNotBetween_Call
- func (_c *Query_WhereNotBetween_Call) Return(_a0 orm.Query) *Query_WhereNotBetween_Call
- func (_c *Query_WhereNotBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Query_WhereNotBetween_Call
- func (_c *Query_WhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Query_WhereNotBetween_Call
- type Query_WhereNotIn_Call
- type Query_WhereNotNull_Call
- type Query_WhereNull_Call
- type Query_Where_Call
- type Query_WithTrashed_Call
- type Query_With_Call
- type Query_WithoutEvents_Call
- type ToSql
- func (_m *ToSql) Count() string
- func (_m *ToSql) Create(value interface{}) string
- func (_m *ToSql) Delete(value interface{}, conds ...interface{}) string
- func (_m *ToSql) EXPECT() *ToSql_Expecter
- func (_m *ToSql) Find(dest interface{}, conds ...interface{}) string
- func (_m *ToSql) First(dest interface{}) string
- func (_m *ToSql) Get(dest interface{}) string
- func (_m *ToSql) Pluck(column string, dest interface{}) string
- func (_m *ToSql) Save(value interface{}) string
- func (_m *ToSql) Sum(column string, dest interface{}) string
- func (_m *ToSql) Update(column interface{}, value ...interface{}) string
- type ToSql_Count_Call
- type ToSql_Create_Call
- type ToSql_Delete_Call
- type ToSql_Expecter
- func (_e *ToSql_Expecter) Count() *ToSql_Count_Call
- func (_e *ToSql_Expecter) Create(value interface{}) *ToSql_Create_Call
- func (_e *ToSql_Expecter) Delete(value interface{}, conds ...interface{}) *ToSql_Delete_Call
- func (_e *ToSql_Expecter) Find(dest interface{}, conds ...interface{}) *ToSql_Find_Call
- func (_e *ToSql_Expecter) First(dest interface{}) *ToSql_First_Call
- func (_e *ToSql_Expecter) Get(dest interface{}) *ToSql_Get_Call
- func (_e *ToSql_Expecter) Pluck(column interface{}, dest interface{}) *ToSql_Pluck_Call
- func (_e *ToSql_Expecter) Save(value interface{}) *ToSql_Save_Call
- func (_e *ToSql_Expecter) Sum(column interface{}, dest interface{}) *ToSql_Sum_Call
- func (_e *ToSql_Expecter) Update(column interface{}, value ...interface{}) *ToSql_Update_Call
- type ToSql_Find_Call
- type ToSql_First_Call
- type ToSql_Get_Call
- type ToSql_Pluck_Call
- type ToSql_Save_Call
- type ToSql_Sum_Call
- type ToSql_Update_Call
- type Transaction
- func (_m *Transaction) Association(association string) orm.Association
- func (_m *Transaction) Begin() (orm.Transaction, error)
- func (_m *Transaction) Commit() error
- func (_m *Transaction) Count(count *int64) error
- func (_m *Transaction) Create(value interface{}) error
- func (_m *Transaction) Cursor() (chan orm.Cursor, error)
- func (_m *Transaction) Delete(value interface{}, conds ...interface{}) (*orm.Result, error)
- func (_m *Transaction) Distinct(args ...interface{}) orm.Query
- func (_m *Transaction) Driver() orm.Driver
- func (_m *Transaction) EXPECT() *Transaction_Expecter
- func (_m *Transaction) Exec(sql string, values ...interface{}) (*orm.Result, error)
- func (_m *Transaction) Exists(exists *bool) error
- func (_m *Transaction) Find(dest interface{}, conds ...interface{}) error
- func (_m *Transaction) FindOrFail(dest interface{}, conds ...interface{}) error
- func (_m *Transaction) First(dest interface{}) error
- func (_m *Transaction) FirstOr(dest interface{}, callback func() error) error
- func (_m *Transaction) FirstOrCreate(dest interface{}, conds ...interface{}) error
- func (_m *Transaction) FirstOrFail(dest interface{}) error
- func (_m *Transaction) FirstOrNew(dest interface{}, attributes interface{}, values ...interface{}) error
- func (_m *Transaction) ForceDelete(value interface{}, conds ...interface{}) (*orm.Result, error)
- func (_m *Transaction) Get(dest interface{}) error
- func (_m *Transaction) Group(name string) orm.Query
- func (_m *Transaction) Having(query interface{}, args ...interface{}) orm.Query
- func (_m *Transaction) InRandomOrder() orm.Query
- func (_m *Transaction) Join(query string, args ...interface{}) orm.Query
- func (_m *Transaction) Limit(limit int) orm.Query
- func (_m *Transaction) Load(dest interface{}, relation string, args ...interface{}) error
- func (_m *Transaction) LoadMissing(dest interface{}, relation string, args ...interface{}) error
- func (_m *Transaction) LockForUpdate() orm.Query
- func (_m *Transaction) Model(value interface{}) orm.Query
- func (_m *Transaction) Offset(offset int) orm.Query
- func (_m *Transaction) Omit(columns ...string) orm.Query
- func (_m *Transaction) OrWhere(query interface{}, args ...interface{}) orm.Query
- func (_m *Transaction) OrWhereBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Transaction) OrWhereIn(column string, values []interface{}) orm.Query
- func (_m *Transaction) OrWhereNotBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Transaction) OrWhereNotIn(column string, values []interface{}) orm.Query
- func (_m *Transaction) OrWhereNull(column string) orm.Query
- func (_m *Transaction) Order(value interface{}) orm.Query
- func (_m *Transaction) OrderBy(column string, direction ...string) orm.Query
- func (_m *Transaction) OrderByDesc(column string) orm.Query
- func (_m *Transaction) Paginate(page int, limit int, dest interface{}, total *int64) error
- func (_m *Transaction) Pluck(column string, dest interface{}) error
- func (_m *Transaction) Raw(sql string, values ...interface{}) orm.Query
- func (_m *Transaction) Rollback() error
- func (_m *Transaction) Save(value interface{}) error
- func (_m *Transaction) SaveQuietly(value interface{}) error
- func (_m *Transaction) Scan(dest interface{}) error
- func (_m *Transaction) Scopes(funcs ...func(orm.Query) orm.Query) orm.Query
- func (_m *Transaction) Select(query interface{}, args ...interface{}) orm.Query
- func (_m *Transaction) SharedLock() orm.Query
- func (_m *Transaction) Sum(column string, dest interface{}) error
- func (_m *Transaction) Table(name string, args ...interface{}) orm.Query
- func (_m *Transaction) ToRawSql() orm.ToSql
- func (_m *Transaction) ToSql() orm.ToSql
- func (_m *Transaction) Update(column interface{}, value ...interface{}) (*orm.Result, error)
- func (_m *Transaction) UpdateOrCreate(dest interface{}, attributes interface{}, values interface{}) error
- func (_m *Transaction) Where(query interface{}, args ...interface{}) orm.Query
- func (_m *Transaction) WhereBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Transaction) WhereIn(column string, values []interface{}) orm.Query
- func (_m *Transaction) WhereNotBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Transaction) WhereNotIn(column string, values []interface{}) orm.Query
- func (_m *Transaction) WhereNotNull(column string) orm.Query
- func (_m *Transaction) WhereNull(column string) orm.Query
- func (_m *Transaction) With(query string, args ...interface{}) orm.Query
- func (_m *Transaction) WithTrashed() orm.Query
- func (_m *Transaction) WithoutEvents() orm.Query
- type Transaction_Association_Call
- func (_c *Transaction_Association_Call) Return(_a0 orm.Association) *Transaction_Association_Call
- func (_c *Transaction_Association_Call) Run(run func(association string)) *Transaction_Association_Call
- func (_c *Transaction_Association_Call) RunAndReturn(run func(string) orm.Association) *Transaction_Association_Call
- type Transaction_Begin_Call
- type Transaction_Commit_Call
- type Transaction_Count_Call
- type Transaction_Create_Call
- type Transaction_Cursor_Call
- type Transaction_Delete_Call
- func (_c *Transaction_Delete_Call) Return(_a0 *orm.Result, _a1 error) *Transaction_Delete_Call
- func (_c *Transaction_Delete_Call) Run(run func(value interface{}, conds ...interface{})) *Transaction_Delete_Call
- func (_c *Transaction_Delete_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Transaction_Delete_Call
- type Transaction_Distinct_Call
- type Transaction_Driver_Call
- type Transaction_Exec_Call
- func (_c *Transaction_Exec_Call) Return(_a0 *orm.Result, _a1 error) *Transaction_Exec_Call
- func (_c *Transaction_Exec_Call) Run(run func(sql string, values ...interface{})) *Transaction_Exec_Call
- func (_c *Transaction_Exec_Call) RunAndReturn(run func(string, ...interface{}) (*orm.Result, error)) *Transaction_Exec_Call
- type Transaction_Exists_Call
- type Transaction_Expecter
- func (_e *Transaction_Expecter) Association(association interface{}) *Transaction_Association_Call
- func (_e *Transaction_Expecter) Begin() *Transaction_Begin_Call
- func (_e *Transaction_Expecter) Commit() *Transaction_Commit_Call
- func (_e *Transaction_Expecter) Count(count interface{}) *Transaction_Count_Call
- func (_e *Transaction_Expecter) Create(value interface{}) *Transaction_Create_Call
- func (_e *Transaction_Expecter) Cursor() *Transaction_Cursor_Call
- func (_e *Transaction_Expecter) Delete(value interface{}, conds ...interface{}) *Transaction_Delete_Call
- func (_e *Transaction_Expecter) Distinct(args ...interface{}) *Transaction_Distinct_Call
- func (_e *Transaction_Expecter) Driver() *Transaction_Driver_Call
- func (_e *Transaction_Expecter) Exec(sql interface{}, values ...interface{}) *Transaction_Exec_Call
- func (_e *Transaction_Expecter) Exists(exists interface{}) *Transaction_Exists_Call
- func (_e *Transaction_Expecter) Find(dest interface{}, conds ...interface{}) *Transaction_Find_Call
- func (_e *Transaction_Expecter) FindOrFail(dest interface{}, conds ...interface{}) *Transaction_FindOrFail_Call
- func (_e *Transaction_Expecter) First(dest interface{}) *Transaction_First_Call
- func (_e *Transaction_Expecter) FirstOr(dest interface{}, callback interface{}) *Transaction_FirstOr_Call
- func (_e *Transaction_Expecter) FirstOrCreate(dest interface{}, conds ...interface{}) *Transaction_FirstOrCreate_Call
- func (_e *Transaction_Expecter) FirstOrFail(dest interface{}) *Transaction_FirstOrFail_Call
- func (_e *Transaction_Expecter) FirstOrNew(dest interface{}, attributes interface{}, values ...interface{}) *Transaction_FirstOrNew_Call
- func (_e *Transaction_Expecter) ForceDelete(value interface{}, conds ...interface{}) *Transaction_ForceDelete_Call
- func (_e *Transaction_Expecter) Get(dest interface{}) *Transaction_Get_Call
- func (_e *Transaction_Expecter) Group(name interface{}) *Transaction_Group_Call
- func (_e *Transaction_Expecter) Having(query interface{}, args ...interface{}) *Transaction_Having_Call
- func (_e *Transaction_Expecter) InRandomOrder() *Transaction_InRandomOrder_Call
- func (_e *Transaction_Expecter) Join(query interface{}, args ...interface{}) *Transaction_Join_Call
- func (_e *Transaction_Expecter) Limit(limit interface{}) *Transaction_Limit_Call
- func (_e *Transaction_Expecter) Load(dest interface{}, relation interface{}, args ...interface{}) *Transaction_Load_Call
- func (_e *Transaction_Expecter) LoadMissing(dest interface{}, relation interface{}, args ...interface{}) *Transaction_LoadMissing_Call
- func (_e *Transaction_Expecter) LockForUpdate() *Transaction_LockForUpdate_Call
- func (_e *Transaction_Expecter) Model(value interface{}) *Transaction_Model_Call
- func (_e *Transaction_Expecter) Offset(offset interface{}) *Transaction_Offset_Call
- func (_e *Transaction_Expecter) Omit(columns ...interface{}) *Transaction_Omit_Call
- func (_e *Transaction_Expecter) OrWhere(query interface{}, args ...interface{}) *Transaction_OrWhere_Call
- func (_e *Transaction_Expecter) OrWhereBetween(column interface{}, x interface{}, y interface{}) *Transaction_OrWhereBetween_Call
- func (_e *Transaction_Expecter) OrWhereIn(column interface{}, values interface{}) *Transaction_OrWhereIn_Call
- func (_e *Transaction_Expecter) OrWhereNotBetween(column interface{}, x interface{}, y interface{}) *Transaction_OrWhereNotBetween_Call
- func (_e *Transaction_Expecter) OrWhereNotIn(column interface{}, values interface{}) *Transaction_OrWhereNotIn_Call
- func (_e *Transaction_Expecter) OrWhereNull(column interface{}) *Transaction_OrWhereNull_Call
- func (_e *Transaction_Expecter) Order(value interface{}) *Transaction_Order_Call
- func (_e *Transaction_Expecter) OrderBy(column interface{}, direction ...interface{}) *Transaction_OrderBy_Call
- func (_e *Transaction_Expecter) OrderByDesc(column interface{}) *Transaction_OrderByDesc_Call
- func (_e *Transaction_Expecter) Paginate(page interface{}, limit interface{}, dest interface{}, total interface{}) *Transaction_Paginate_Call
- func (_e *Transaction_Expecter) Pluck(column interface{}, dest interface{}) *Transaction_Pluck_Call
- func (_e *Transaction_Expecter) Raw(sql interface{}, values ...interface{}) *Transaction_Raw_Call
- func (_e *Transaction_Expecter) Rollback() *Transaction_Rollback_Call
- func (_e *Transaction_Expecter) Save(value interface{}) *Transaction_Save_Call
- func (_e *Transaction_Expecter) SaveQuietly(value interface{}) *Transaction_SaveQuietly_Call
- func (_e *Transaction_Expecter) Scan(dest interface{}) *Transaction_Scan_Call
- func (_e *Transaction_Expecter) Scopes(funcs ...interface{}) *Transaction_Scopes_Call
- func (_e *Transaction_Expecter) Select(query interface{}, args ...interface{}) *Transaction_Select_Call
- func (_e *Transaction_Expecter) SharedLock() *Transaction_SharedLock_Call
- func (_e *Transaction_Expecter) Sum(column interface{}, dest interface{}) *Transaction_Sum_Call
- func (_e *Transaction_Expecter) Table(name interface{}, args ...interface{}) *Transaction_Table_Call
- func (_e *Transaction_Expecter) ToRawSql() *Transaction_ToRawSql_Call
- func (_e *Transaction_Expecter) ToSql() *Transaction_ToSql_Call
- func (_e *Transaction_Expecter) Update(column interface{}, value ...interface{}) *Transaction_Update_Call
- func (_e *Transaction_Expecter) UpdateOrCreate(dest interface{}, attributes interface{}, values interface{}) *Transaction_UpdateOrCreate_Call
- func (_e *Transaction_Expecter) Where(query interface{}, args ...interface{}) *Transaction_Where_Call
- func (_e *Transaction_Expecter) WhereBetween(column interface{}, x interface{}, y interface{}) *Transaction_WhereBetween_Call
- func (_e *Transaction_Expecter) WhereIn(column interface{}, values interface{}) *Transaction_WhereIn_Call
- func (_e *Transaction_Expecter) WhereNotBetween(column interface{}, x interface{}, y interface{}) *Transaction_WhereNotBetween_Call
- func (_e *Transaction_Expecter) WhereNotIn(column interface{}, values interface{}) *Transaction_WhereNotIn_Call
- func (_e *Transaction_Expecter) WhereNotNull(column interface{}) *Transaction_WhereNotNull_Call
- func (_e *Transaction_Expecter) WhereNull(column interface{}) *Transaction_WhereNull_Call
- func (_e *Transaction_Expecter) With(query interface{}, args ...interface{}) *Transaction_With_Call
- func (_e *Transaction_Expecter) WithTrashed() *Transaction_WithTrashed_Call
- func (_e *Transaction_Expecter) WithoutEvents() *Transaction_WithoutEvents_Call
- type Transaction_FindOrFail_Call
- func (_c *Transaction_FindOrFail_Call) Return(_a0 error) *Transaction_FindOrFail_Call
- func (_c *Transaction_FindOrFail_Call) Run(run func(dest interface{}, conds ...interface{})) *Transaction_FindOrFail_Call
- func (_c *Transaction_FindOrFail_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Transaction_FindOrFail_Call
- type Transaction_Find_Call
- type Transaction_FirstOrCreate_Call
- func (_c *Transaction_FirstOrCreate_Call) Return(_a0 error) *Transaction_FirstOrCreate_Call
- func (_c *Transaction_FirstOrCreate_Call) Run(run func(dest interface{}, conds ...interface{})) *Transaction_FirstOrCreate_Call
- func (_c *Transaction_FirstOrCreate_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Transaction_FirstOrCreate_Call
- type Transaction_FirstOrFail_Call
- func (_c *Transaction_FirstOrFail_Call) Return(_a0 error) *Transaction_FirstOrFail_Call
- func (_c *Transaction_FirstOrFail_Call) Run(run func(dest interface{})) *Transaction_FirstOrFail_Call
- func (_c *Transaction_FirstOrFail_Call) RunAndReturn(run func(interface{}) error) *Transaction_FirstOrFail_Call
- type Transaction_FirstOrNew_Call
- func (_c *Transaction_FirstOrNew_Call) Return(_a0 error) *Transaction_FirstOrNew_Call
- func (_c *Transaction_FirstOrNew_Call) Run(run func(dest interface{}, attributes interface{}, values ...interface{})) *Transaction_FirstOrNew_Call
- func (_c *Transaction_FirstOrNew_Call) RunAndReturn(run func(interface{}, interface{}, ...interface{}) error) *Transaction_FirstOrNew_Call
- type Transaction_FirstOr_Call
- func (_c *Transaction_FirstOr_Call) Return(_a0 error) *Transaction_FirstOr_Call
- func (_c *Transaction_FirstOr_Call) Run(run func(dest interface{}, callback func() error)) *Transaction_FirstOr_Call
- func (_c *Transaction_FirstOr_Call) RunAndReturn(run func(interface{}, func() error) error) *Transaction_FirstOr_Call
- type Transaction_First_Call
- type Transaction_ForceDelete_Call
- func (_c *Transaction_ForceDelete_Call) Return(_a0 *orm.Result, _a1 error) *Transaction_ForceDelete_Call
- func (_c *Transaction_ForceDelete_Call) Run(run func(value interface{}, conds ...interface{})) *Transaction_ForceDelete_Call
- func (_c *Transaction_ForceDelete_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Transaction_ForceDelete_Call
- type Transaction_Get_Call
- type Transaction_Group_Call
- type Transaction_Having_Call
- func (_c *Transaction_Having_Call) Return(_a0 orm.Query) *Transaction_Having_Call
- func (_c *Transaction_Having_Call) Run(run func(query interface{}, args ...interface{})) *Transaction_Having_Call
- func (_c *Transaction_Having_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Transaction_Having_Call
- type Transaction_InRandomOrder_Call
- type Transaction_Join_Call
- type Transaction_Limit_Call
- type Transaction_LoadMissing_Call
- func (_c *Transaction_LoadMissing_Call) Return(_a0 error) *Transaction_LoadMissing_Call
- func (_c *Transaction_LoadMissing_Call) Run(run func(dest interface{}, relation string, args ...interface{})) *Transaction_LoadMissing_Call
- func (_c *Transaction_LoadMissing_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Transaction_LoadMissing_Call
- type Transaction_Load_Call
- func (_c *Transaction_Load_Call) Return(_a0 error) *Transaction_Load_Call
- func (_c *Transaction_Load_Call) Run(run func(dest interface{}, relation string, args ...interface{})) *Transaction_Load_Call
- func (_c *Transaction_Load_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Transaction_Load_Call
- type Transaction_LockForUpdate_Call
- type Transaction_Model_Call
- type Transaction_Offset_Call
- type Transaction_Omit_Call
- type Transaction_OrWhereBetween_Call
- func (_c *Transaction_OrWhereBetween_Call) Return(_a0 orm.Query) *Transaction_OrWhereBetween_Call
- func (_c *Transaction_OrWhereBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Transaction_OrWhereBetween_Call
- func (_c *Transaction_OrWhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Transaction_OrWhereBetween_Call
- type Transaction_OrWhereIn_Call
- func (_c *Transaction_OrWhereIn_Call) Return(_a0 orm.Query) *Transaction_OrWhereIn_Call
- func (_c *Transaction_OrWhereIn_Call) Run(run func(column string, values []interface{})) *Transaction_OrWhereIn_Call
- func (_c *Transaction_OrWhereIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Transaction_OrWhereIn_Call
- type Transaction_OrWhereNotBetween_Call
- func (_c *Transaction_OrWhereNotBetween_Call) Return(_a0 orm.Query) *Transaction_OrWhereNotBetween_Call
- func (_c *Transaction_OrWhereNotBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Transaction_OrWhereNotBetween_Call
- func (_c *Transaction_OrWhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Transaction_OrWhereNotBetween_Call
- type Transaction_OrWhereNotIn_Call
- func (_c *Transaction_OrWhereNotIn_Call) Return(_a0 orm.Query) *Transaction_OrWhereNotIn_Call
- func (_c *Transaction_OrWhereNotIn_Call) Run(run func(column string, values []interface{})) *Transaction_OrWhereNotIn_Call
- func (_c *Transaction_OrWhereNotIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Transaction_OrWhereNotIn_Call
- type Transaction_OrWhereNull_Call
- func (_c *Transaction_OrWhereNull_Call) Return(_a0 orm.Query) *Transaction_OrWhereNull_Call
- func (_c *Transaction_OrWhereNull_Call) Run(run func(column string)) *Transaction_OrWhereNull_Call
- func (_c *Transaction_OrWhereNull_Call) RunAndReturn(run func(string) orm.Query) *Transaction_OrWhereNull_Call
- type Transaction_OrWhere_Call
- func (_c *Transaction_OrWhere_Call) Return(_a0 orm.Query) *Transaction_OrWhere_Call
- func (_c *Transaction_OrWhere_Call) Run(run func(query interface{}, args ...interface{})) *Transaction_OrWhere_Call
- func (_c *Transaction_OrWhere_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Transaction_OrWhere_Call
- type Transaction_OrderByDesc_Call
- func (_c *Transaction_OrderByDesc_Call) Return(_a0 orm.Query) *Transaction_OrderByDesc_Call
- func (_c *Transaction_OrderByDesc_Call) Run(run func(column string)) *Transaction_OrderByDesc_Call
- func (_c *Transaction_OrderByDesc_Call) RunAndReturn(run func(string) orm.Query) *Transaction_OrderByDesc_Call
- type Transaction_OrderBy_Call
- func (_c *Transaction_OrderBy_Call) Return(_a0 orm.Query) *Transaction_OrderBy_Call
- func (_c *Transaction_OrderBy_Call) Run(run func(column string, direction ...string)) *Transaction_OrderBy_Call
- func (_c *Transaction_OrderBy_Call) RunAndReturn(run func(string, ...string) orm.Query) *Transaction_OrderBy_Call
- type Transaction_Order_Call
- type Transaction_Paginate_Call
- func (_c *Transaction_Paginate_Call) Return(_a0 error) *Transaction_Paginate_Call
- func (_c *Transaction_Paginate_Call) Run(run func(page int, limit int, dest interface{}, total *int64)) *Transaction_Paginate_Call
- func (_c *Transaction_Paginate_Call) RunAndReturn(run func(int, int, interface{}, *int64) error) *Transaction_Paginate_Call
- type Transaction_Pluck_Call
- type Transaction_Raw_Call
- type Transaction_Rollback_Call
- type Transaction_SaveQuietly_Call
- func (_c *Transaction_SaveQuietly_Call) Return(_a0 error) *Transaction_SaveQuietly_Call
- func (_c *Transaction_SaveQuietly_Call) Run(run func(value interface{})) *Transaction_SaveQuietly_Call
- func (_c *Transaction_SaveQuietly_Call) RunAndReturn(run func(interface{}) error) *Transaction_SaveQuietly_Call
- type Transaction_Save_Call
- type Transaction_Scan_Call
- type Transaction_Scopes_Call
- func (_c *Transaction_Scopes_Call) Return(_a0 orm.Query) *Transaction_Scopes_Call
- func (_c *Transaction_Scopes_Call) Run(run func(funcs ...func(orm.Query) orm.Query)) *Transaction_Scopes_Call
- func (_c *Transaction_Scopes_Call) RunAndReturn(run func(...func(orm.Query) orm.Query) orm.Query) *Transaction_Scopes_Call
- type Transaction_Select_Call
- func (_c *Transaction_Select_Call) Return(_a0 orm.Query) *Transaction_Select_Call
- func (_c *Transaction_Select_Call) Run(run func(query interface{}, args ...interface{})) *Transaction_Select_Call
- func (_c *Transaction_Select_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Transaction_Select_Call
- type Transaction_SharedLock_Call
- type Transaction_Sum_Call
- type Transaction_Table_Call
- func (_c *Transaction_Table_Call) Return(_a0 orm.Query) *Transaction_Table_Call
- func (_c *Transaction_Table_Call) Run(run func(name string, args ...interface{})) *Transaction_Table_Call
- func (_c *Transaction_Table_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Transaction_Table_Call
- type Transaction_ToRawSql_Call
- type Transaction_ToSql_Call
- type Transaction_UpdateOrCreate_Call
- func (_c *Transaction_UpdateOrCreate_Call) Return(_a0 error) *Transaction_UpdateOrCreate_Call
- func (_c *Transaction_UpdateOrCreate_Call) Run(run func(dest interface{}, attributes interface{}, values interface{})) *Transaction_UpdateOrCreate_Call
- func (_c *Transaction_UpdateOrCreate_Call) RunAndReturn(run func(interface{}, interface{}, interface{}) error) *Transaction_UpdateOrCreate_Call
- type Transaction_Update_Call
- func (_c *Transaction_Update_Call) Return(_a0 *orm.Result, _a1 error) *Transaction_Update_Call
- func (_c *Transaction_Update_Call) Run(run func(column interface{}, value ...interface{})) *Transaction_Update_Call
- func (_c *Transaction_Update_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Transaction_Update_Call
- type Transaction_WhereBetween_Call
- func (_c *Transaction_WhereBetween_Call) Return(_a0 orm.Query) *Transaction_WhereBetween_Call
- func (_c *Transaction_WhereBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Transaction_WhereBetween_Call
- func (_c *Transaction_WhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Transaction_WhereBetween_Call
- type Transaction_WhereIn_Call
- func (_c *Transaction_WhereIn_Call) Return(_a0 orm.Query) *Transaction_WhereIn_Call
- func (_c *Transaction_WhereIn_Call) Run(run func(column string, values []interface{})) *Transaction_WhereIn_Call
- func (_c *Transaction_WhereIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Transaction_WhereIn_Call
- type Transaction_WhereNotBetween_Call
- func (_c *Transaction_WhereNotBetween_Call) Return(_a0 orm.Query) *Transaction_WhereNotBetween_Call
- func (_c *Transaction_WhereNotBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Transaction_WhereNotBetween_Call
- func (_c *Transaction_WhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Transaction_WhereNotBetween_Call
- type Transaction_WhereNotIn_Call
- func (_c *Transaction_WhereNotIn_Call) Return(_a0 orm.Query) *Transaction_WhereNotIn_Call
- func (_c *Transaction_WhereNotIn_Call) Run(run func(column string, values []interface{})) *Transaction_WhereNotIn_Call
- func (_c *Transaction_WhereNotIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Transaction_WhereNotIn_Call
- type Transaction_WhereNotNull_Call
- func (_c *Transaction_WhereNotNull_Call) Return(_a0 orm.Query) *Transaction_WhereNotNull_Call
- func (_c *Transaction_WhereNotNull_Call) Run(run func(column string)) *Transaction_WhereNotNull_Call
- func (_c *Transaction_WhereNotNull_Call) RunAndReturn(run func(string) orm.Query) *Transaction_WhereNotNull_Call
- type Transaction_WhereNull_Call
- type Transaction_Where_Call
- func (_c *Transaction_Where_Call) Return(_a0 orm.Query) *Transaction_Where_Call
- func (_c *Transaction_Where_Call) Run(run func(query interface{}, args ...interface{})) *Transaction_Where_Call
- func (_c *Transaction_Where_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Transaction_Where_Call
- type Transaction_WithTrashed_Call
- type Transaction_With_Call
- type Transaction_WithoutEvents_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Association ¶
Association is an autogenerated mock type for the Association type
func NewAssociation ¶
func NewAssociation(t interface { mock.TestingT Cleanup(func()) }) *Association
NewAssociation creates a new instance of Association. 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 (*Association) Append ¶
func (_m *Association) Append(values ...interface{}) error
Append provides a mock function with given fields: values
func (*Association) Clear ¶
func (_m *Association) Clear() error
Clear provides a mock function with given fields:
func (*Association) Count ¶
func (_m *Association) Count() int64
Count provides a mock function with given fields:
func (*Association) Delete ¶
func (_m *Association) Delete(values ...interface{}) error
Delete provides a mock function with given fields: values
func (*Association) EXPECT ¶
func (_m *Association) EXPECT() *Association_Expecter
func (*Association) Find ¶
func (_m *Association) Find(out interface{}, conds ...interface{}) error
Find provides a mock function with given fields: out, conds
func (*Association) Replace ¶
func (_m *Association) Replace(values ...interface{}) error
Replace provides a mock function with given fields: values
type Association_Append_Call ¶
Association_Append_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Append'
func (*Association_Append_Call) Return ¶
func (_c *Association_Append_Call) Return(_a0 error) *Association_Append_Call
func (*Association_Append_Call) Run ¶
func (_c *Association_Append_Call) Run(run func(values ...interface{})) *Association_Append_Call
func (*Association_Append_Call) RunAndReturn ¶
func (_c *Association_Append_Call) RunAndReturn(run func(...interface{}) error) *Association_Append_Call
type Association_Clear_Call ¶
Association_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'
func (*Association_Clear_Call) Return ¶
func (_c *Association_Clear_Call) Return(_a0 error) *Association_Clear_Call
func (*Association_Clear_Call) Run ¶
func (_c *Association_Clear_Call) Run(run func()) *Association_Clear_Call
func (*Association_Clear_Call) RunAndReturn ¶
func (_c *Association_Clear_Call) RunAndReturn(run func() error) *Association_Clear_Call
type Association_Count_Call ¶
Association_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*Association_Count_Call) Return ¶
func (_c *Association_Count_Call) Return(_a0 int64) *Association_Count_Call
func (*Association_Count_Call) Run ¶
func (_c *Association_Count_Call) Run(run func()) *Association_Count_Call
func (*Association_Count_Call) RunAndReturn ¶
func (_c *Association_Count_Call) RunAndReturn(run func() int64) *Association_Count_Call
type Association_Delete_Call ¶
Association_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Association_Delete_Call) Return ¶
func (_c *Association_Delete_Call) Return(_a0 error) *Association_Delete_Call
func (*Association_Delete_Call) Run ¶
func (_c *Association_Delete_Call) Run(run func(values ...interface{})) *Association_Delete_Call
func (*Association_Delete_Call) RunAndReturn ¶
func (_c *Association_Delete_Call) RunAndReturn(run func(...interface{}) error) *Association_Delete_Call
type Association_Expecter ¶
type Association_Expecter struct {
// contains filtered or unexported fields
}
func (*Association_Expecter) Append ¶
func (_e *Association_Expecter) Append(values ...interface{}) *Association_Append_Call
Append is a helper method to define mock.On call
- values ...interface{}
func (*Association_Expecter) Clear ¶
func (_e *Association_Expecter) Clear() *Association_Clear_Call
Clear is a helper method to define mock.On call
func (*Association_Expecter) Count ¶
func (_e *Association_Expecter) Count() *Association_Count_Call
Count is a helper method to define mock.On call
func (*Association_Expecter) Delete ¶
func (_e *Association_Expecter) Delete(values ...interface{}) *Association_Delete_Call
Delete is a helper method to define mock.On call
- values ...interface{}
func (*Association_Expecter) Find ¶
func (_e *Association_Expecter) Find(out interface{}, conds ...interface{}) *Association_Find_Call
Find is a helper method to define mock.On call
- out interface{}
- conds ...interface{}
func (*Association_Expecter) Replace ¶
func (_e *Association_Expecter) Replace(values ...interface{}) *Association_Replace_Call
Replace is a helper method to define mock.On call
- values ...interface{}
type Association_Find_Call ¶
Association_Find_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Find'
func (*Association_Find_Call) Return ¶
func (_c *Association_Find_Call) Return(_a0 error) *Association_Find_Call
func (*Association_Find_Call) Run ¶
func (_c *Association_Find_Call) Run(run func(out interface{}, conds ...interface{})) *Association_Find_Call
func (*Association_Find_Call) RunAndReturn ¶
func (_c *Association_Find_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Association_Find_Call
type Association_Replace_Call ¶
Association_Replace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Replace'
func (*Association_Replace_Call) Return ¶
func (_c *Association_Replace_Call) Return(_a0 error) *Association_Replace_Call
func (*Association_Replace_Call) Run ¶
func (_c *Association_Replace_Call) Run(run func(values ...interface{})) *Association_Replace_Call
func (*Association_Replace_Call) RunAndReturn ¶
func (_c *Association_Replace_Call) RunAndReturn(run func(...interface{}) error) *Association_Replace_Call
type ConnectionModel ¶
ConnectionModel is an autogenerated mock type for the ConnectionModel type
func NewConnectionModel ¶
func NewConnectionModel(t interface { mock.TestingT Cleanup(func()) }) *ConnectionModel
NewConnectionModel creates a new instance of ConnectionModel. 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 (*ConnectionModel) Connection ¶
func (_m *ConnectionModel) Connection() string
Connection provides a mock function with given fields:
func (*ConnectionModel) EXPECT ¶
func (_m *ConnectionModel) EXPECT() *ConnectionModel_Expecter
type ConnectionModel_Connection_Call ¶
ConnectionModel_Connection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connection'
func (*ConnectionModel_Connection_Call) Return ¶
func (_c *ConnectionModel_Connection_Call) Return(_a0 string) *ConnectionModel_Connection_Call
func (*ConnectionModel_Connection_Call) Run ¶
func (_c *ConnectionModel_Connection_Call) Run(run func()) *ConnectionModel_Connection_Call
func (*ConnectionModel_Connection_Call) RunAndReturn ¶
func (_c *ConnectionModel_Connection_Call) RunAndReturn(run func() string) *ConnectionModel_Connection_Call
type ConnectionModel_Expecter ¶
type ConnectionModel_Expecter struct {
// contains filtered or unexported fields
}
func (*ConnectionModel_Expecter) Connection ¶
func (_e *ConnectionModel_Expecter) Connection() *ConnectionModel_Connection_Call
Connection is a helper method to define mock.On call
type Cursor ¶
Cursor is an autogenerated mock type for the Cursor type
func NewCursor ¶
NewCursor creates a new instance of Cursor. 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 (*Cursor) EXPECT ¶
func (_m *Cursor) EXPECT() *Cursor_Expecter
type Cursor_Expecter ¶
type Cursor_Expecter struct {
// contains filtered or unexported fields
}
func (*Cursor_Expecter) Scan ¶
func (_e *Cursor_Expecter) Scan(value interface{}) *Cursor_Scan_Call
Scan is a helper method to define mock.On call
- value interface{}
type Cursor_Scan_Call ¶
Cursor_Scan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scan'
func (*Cursor_Scan_Call) Return ¶
func (_c *Cursor_Scan_Call) Return(_a0 error) *Cursor_Scan_Call
func (*Cursor_Scan_Call) Run ¶
func (_c *Cursor_Scan_Call) Run(run func(value interface{})) *Cursor_Scan_Call
func (*Cursor_Scan_Call) RunAndReturn ¶
func (_c *Cursor_Scan_Call) RunAndReturn(run func(interface{}) error) *Cursor_Scan_Call
type DispatchesEvents ¶
DispatchesEvents is an autogenerated mock type for the DispatchesEvents type
func NewDispatchesEvents ¶
func NewDispatchesEvents(t interface { mock.TestingT Cleanup(func()) }) *DispatchesEvents
NewDispatchesEvents creates a new instance of DispatchesEvents. 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 (*DispatchesEvents) DispatchesEvents ¶
DispatchesEvents provides a mock function with given fields:
func (*DispatchesEvents) EXPECT ¶
func (_m *DispatchesEvents) EXPECT() *DispatchesEvents_Expecter
type DispatchesEvents_DispatchesEvents_Call ¶
DispatchesEvents_DispatchesEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchesEvents'
func (*DispatchesEvents_DispatchesEvents_Call) Return ¶
func (_c *DispatchesEvents_DispatchesEvents_Call) Return(_a0 map[orm.EventType]func(orm.Event) error) *DispatchesEvents_DispatchesEvents_Call
func (*DispatchesEvents_DispatchesEvents_Call) Run ¶
func (_c *DispatchesEvents_DispatchesEvents_Call) Run(run func()) *DispatchesEvents_DispatchesEvents_Call
func (*DispatchesEvents_DispatchesEvents_Call) RunAndReturn ¶
func (_c *DispatchesEvents_DispatchesEvents_Call) RunAndReturn(run func() map[orm.EventType]func(orm.Event) error) *DispatchesEvents_DispatchesEvents_Call
type DispatchesEvents_Expecter ¶
type DispatchesEvents_Expecter struct {
// contains filtered or unexported fields
}
func (*DispatchesEvents_Expecter) DispatchesEvents ¶
func (_e *DispatchesEvents_Expecter) DispatchesEvents() *DispatchesEvents_DispatchesEvents_Call
DispatchesEvents is a helper method to define mock.On call
type Event ¶
Event is an autogenerated mock type for the Event type
func NewEvent ¶
NewEvent creates a new instance of Event. 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 (*Event) EXPECT ¶
func (_m *Event) EXPECT() *Event_Expecter
func (*Event) GetAttribute ¶
GetAttribute provides a mock function with given fields: key
func (*Event) GetOriginal ¶
GetOriginal provides a mock function with given fields: key, def
func (*Event) SetAttribute ¶
SetAttribute provides a mock function with given fields: key, value
type Event_Context_Call ¶
Event_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*Event_Context_Call) Return ¶
func (_c *Event_Context_Call) Return(_a0 context.Context) *Event_Context_Call
func (*Event_Context_Call) Run ¶
func (_c *Event_Context_Call) Run(run func()) *Event_Context_Call
func (*Event_Context_Call) RunAndReturn ¶
func (_c *Event_Context_Call) RunAndReturn(run func() context.Context) *Event_Context_Call
type Event_Expecter ¶
type Event_Expecter struct {
// contains filtered or unexported fields
}
func (*Event_Expecter) Context ¶
func (_e *Event_Expecter) Context() *Event_Context_Call
Context is a helper method to define mock.On call
func (*Event_Expecter) GetAttribute ¶
func (_e *Event_Expecter) GetAttribute(key interface{}) *Event_GetAttribute_Call
GetAttribute is a helper method to define mock.On call
- key string
func (*Event_Expecter) GetOriginal ¶
func (_e *Event_Expecter) GetOriginal(key interface{}, def ...interface{}) *Event_GetOriginal_Call
GetOriginal is a helper method to define mock.On call
- key string
- def ...interface{}
func (*Event_Expecter) IsClean ¶
func (_e *Event_Expecter) IsClean(columns ...interface{}) *Event_IsClean_Call
IsClean is a helper method to define mock.On call
- columns ...string
func (*Event_Expecter) IsDirty ¶
func (_e *Event_Expecter) IsDirty(columns ...interface{}) *Event_IsDirty_Call
IsDirty is a helper method to define mock.On call
- columns ...string
func (*Event_Expecter) Query ¶
func (_e *Event_Expecter) Query() *Event_Query_Call
Query is a helper method to define mock.On call
func (*Event_Expecter) SetAttribute ¶
func (_e *Event_Expecter) SetAttribute(key interface{}, value interface{}) *Event_SetAttribute_Call
SetAttribute is a helper method to define mock.On call
- key string
- value interface{}
type Event_GetAttribute_Call ¶
Event_GetAttribute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAttribute'
func (*Event_GetAttribute_Call) Return ¶
func (_c *Event_GetAttribute_Call) Return(_a0 interface{}) *Event_GetAttribute_Call
func (*Event_GetAttribute_Call) Run ¶
func (_c *Event_GetAttribute_Call) Run(run func(key string)) *Event_GetAttribute_Call
func (*Event_GetAttribute_Call) RunAndReturn ¶
func (_c *Event_GetAttribute_Call) RunAndReturn(run func(string) interface{}) *Event_GetAttribute_Call
type Event_GetOriginal_Call ¶
Event_GetOriginal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOriginal'
func (*Event_GetOriginal_Call) Return ¶
func (_c *Event_GetOriginal_Call) Return(_a0 interface{}) *Event_GetOriginal_Call
func (*Event_GetOriginal_Call) Run ¶
func (_c *Event_GetOriginal_Call) Run(run func(key string, def ...interface{})) *Event_GetOriginal_Call
func (*Event_GetOriginal_Call) RunAndReturn ¶
func (_c *Event_GetOriginal_Call) RunAndReturn(run func(string, ...interface{}) interface{}) *Event_GetOriginal_Call
type Event_IsClean_Call ¶
Event_IsClean_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsClean'
func (*Event_IsClean_Call) Return ¶
func (_c *Event_IsClean_Call) Return(_a0 bool) *Event_IsClean_Call
func (*Event_IsClean_Call) Run ¶
func (_c *Event_IsClean_Call) Run(run func(columns ...string)) *Event_IsClean_Call
func (*Event_IsClean_Call) RunAndReturn ¶
func (_c *Event_IsClean_Call) RunAndReturn(run func(...string) bool) *Event_IsClean_Call
type Event_IsDirty_Call ¶
Event_IsDirty_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsDirty'
func (*Event_IsDirty_Call) Return ¶
func (_c *Event_IsDirty_Call) Return(_a0 bool) *Event_IsDirty_Call
func (*Event_IsDirty_Call) Run ¶
func (_c *Event_IsDirty_Call) Run(run func(columns ...string)) *Event_IsDirty_Call
func (*Event_IsDirty_Call) RunAndReturn ¶
func (_c *Event_IsDirty_Call) RunAndReturn(run func(...string) bool) *Event_IsDirty_Call
type Event_Query_Call ¶
Event_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*Event_Query_Call) Return ¶
func (_c *Event_Query_Call) Return(_a0 orm.Query) *Event_Query_Call
func (*Event_Query_Call) Run ¶
func (_c *Event_Query_Call) Run(run func()) *Event_Query_Call
func (*Event_Query_Call) RunAndReturn ¶
func (_c *Event_Query_Call) RunAndReturn(run func() orm.Query) *Event_Query_Call
type Event_SetAttribute_Call ¶
Event_SetAttribute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAttribute'
func (*Event_SetAttribute_Call) Return ¶
func (_c *Event_SetAttribute_Call) Return() *Event_SetAttribute_Call
func (*Event_SetAttribute_Call) Run ¶
func (_c *Event_SetAttribute_Call) Run(run func(key string, value interface{})) *Event_SetAttribute_Call
func (*Event_SetAttribute_Call) RunAndReturn ¶
func (_c *Event_SetAttribute_Call) RunAndReturn(run func(string, interface{})) *Event_SetAttribute_Call
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func NewFactory ¶
NewFactory creates a new instance of Factory. 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 (*Factory) CreateQuietly ¶
CreateQuietly provides a mock function with given fields: value, attributes
func (*Factory) EXPECT ¶
func (_m *Factory) EXPECT() *Factory_Expecter
type Factory_Count_Call ¶
Factory_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*Factory_Count_Call) Return ¶
func (_c *Factory_Count_Call) Return(_a0 orm.Factory) *Factory_Count_Call
func (*Factory_Count_Call) Run ¶
func (_c *Factory_Count_Call) Run(run func(count int)) *Factory_Count_Call
func (*Factory_Count_Call) RunAndReturn ¶
func (_c *Factory_Count_Call) RunAndReturn(run func(int) orm.Factory) *Factory_Count_Call
type Factory_CreateQuietly_Call ¶
Factory_CreateQuietly_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateQuietly'
func (*Factory_CreateQuietly_Call) Return ¶
func (_c *Factory_CreateQuietly_Call) Return(_a0 error) *Factory_CreateQuietly_Call
func (*Factory_CreateQuietly_Call) Run ¶
func (_c *Factory_CreateQuietly_Call) Run(run func(value interface{}, attributes ...map[string]interface{})) *Factory_CreateQuietly_Call
func (*Factory_CreateQuietly_Call) RunAndReturn ¶
func (_c *Factory_CreateQuietly_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) error) *Factory_CreateQuietly_Call
type Factory_Create_Call ¶
Factory_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Factory_Create_Call) Return ¶
func (_c *Factory_Create_Call) Return(_a0 error) *Factory_Create_Call
func (*Factory_Create_Call) Run ¶
func (_c *Factory_Create_Call) Run(run func(value interface{}, attributes ...map[string]interface{})) *Factory_Create_Call
func (*Factory_Create_Call) RunAndReturn ¶
func (_c *Factory_Create_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) error) *Factory_Create_Call
type Factory_Expecter ¶
type Factory_Expecter struct {
// contains filtered or unexported fields
}
func (*Factory_Expecter) Count ¶
func (_e *Factory_Expecter) Count(count interface{}) *Factory_Count_Call
Count is a helper method to define mock.On call
- count int
func (*Factory_Expecter) Create ¶
func (_e *Factory_Expecter) Create(value interface{}, attributes ...interface{}) *Factory_Create_Call
Create is a helper method to define mock.On call
- value interface{}
- attributes ...map[string]interface{}
func (*Factory_Expecter) CreateQuietly ¶
func (_e *Factory_Expecter) CreateQuietly(value interface{}, attributes ...interface{}) *Factory_CreateQuietly_Call
CreateQuietly is a helper method to define mock.On call
- value interface{}
- attributes ...map[string]interface{}
func (*Factory_Expecter) Make ¶
func (_e *Factory_Expecter) Make(value interface{}, attributes ...interface{}) *Factory_Make_Call
Make is a helper method to define mock.On call
- value interface{}
- attributes ...map[string]interface{}
type Factory_Make_Call ¶
Factory_Make_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Make'
func (*Factory_Make_Call) Return ¶
func (_c *Factory_Make_Call) Return(_a0 error) *Factory_Make_Call
func (*Factory_Make_Call) Run ¶
func (_c *Factory_Make_Call) Run(run func(value interface{}, attributes ...map[string]interface{})) *Factory_Make_Call
func (*Factory_Make_Call) RunAndReturn ¶
func (_c *Factory_Make_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) error) *Factory_Make_Call
type Observer ¶
Observer is an autogenerated mock type for the Observer type
func NewObserver ¶
NewObserver creates a new instance of Observer. 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 (*Observer) EXPECT ¶
func (_m *Observer) EXPECT() *Observer_Expecter
func (*Observer) ForceDeleted ¶
ForceDeleted provides a mock function with given fields: _a0
func (*Observer) ForceDeleting ¶
ForceDeleting provides a mock function with given fields: _a0
type Observer_Created_Call ¶
Observer_Created_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Created'
func (*Observer_Created_Call) Return ¶
func (_c *Observer_Created_Call) Return(_a0 error) *Observer_Created_Call
func (*Observer_Created_Call) Run ¶
func (_c *Observer_Created_Call) Run(run func(_a0 orm.Event)) *Observer_Created_Call
func (*Observer_Created_Call) RunAndReturn ¶
func (_c *Observer_Created_Call) RunAndReturn(run func(orm.Event) error) *Observer_Created_Call
type Observer_Creating_Call ¶
Observer_Creating_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Creating'
func (*Observer_Creating_Call) Return ¶
func (_c *Observer_Creating_Call) Return(_a0 error) *Observer_Creating_Call
func (*Observer_Creating_Call) Run ¶
func (_c *Observer_Creating_Call) Run(run func(_a0 orm.Event)) *Observer_Creating_Call
func (*Observer_Creating_Call) RunAndReturn ¶
func (_c *Observer_Creating_Call) RunAndReturn(run func(orm.Event) error) *Observer_Creating_Call
type Observer_Deleted_Call ¶
Observer_Deleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deleted'
func (*Observer_Deleted_Call) Return ¶
func (_c *Observer_Deleted_Call) Return(_a0 error) *Observer_Deleted_Call
func (*Observer_Deleted_Call) Run ¶
func (_c *Observer_Deleted_Call) Run(run func(_a0 orm.Event)) *Observer_Deleted_Call
func (*Observer_Deleted_Call) RunAndReturn ¶
func (_c *Observer_Deleted_Call) RunAndReturn(run func(orm.Event) error) *Observer_Deleted_Call
type Observer_Deleting_Call ¶
Observer_Deleting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deleting'
func (*Observer_Deleting_Call) Return ¶
func (_c *Observer_Deleting_Call) Return(_a0 error) *Observer_Deleting_Call
func (*Observer_Deleting_Call) Run ¶
func (_c *Observer_Deleting_Call) Run(run func(_a0 orm.Event)) *Observer_Deleting_Call
func (*Observer_Deleting_Call) RunAndReturn ¶
func (_c *Observer_Deleting_Call) RunAndReturn(run func(orm.Event) error) *Observer_Deleting_Call
type Observer_Expecter ¶
type Observer_Expecter struct {
// contains filtered or unexported fields
}
func (*Observer_Expecter) Created ¶
func (_e *Observer_Expecter) Created(_a0 interface{}) *Observer_Created_Call
Created is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) Creating ¶
func (_e *Observer_Expecter) Creating(_a0 interface{}) *Observer_Creating_Call
Creating is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) Deleted ¶
func (_e *Observer_Expecter) Deleted(_a0 interface{}) *Observer_Deleted_Call
Deleted is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) Deleting ¶
func (_e *Observer_Expecter) Deleting(_a0 interface{}) *Observer_Deleting_Call
Deleting is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) ForceDeleted ¶
func (_e *Observer_Expecter) ForceDeleted(_a0 interface{}) *Observer_ForceDeleted_Call
ForceDeleted is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) ForceDeleting ¶
func (_e *Observer_Expecter) ForceDeleting(_a0 interface{}) *Observer_ForceDeleting_Call
ForceDeleting is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) Retrieved ¶
func (_e *Observer_Expecter) Retrieved(_a0 interface{}) *Observer_Retrieved_Call
Retrieved is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) Saved ¶
func (_e *Observer_Expecter) Saved(_a0 interface{}) *Observer_Saved_Call
Saved is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) Saving ¶
func (_e *Observer_Expecter) Saving(_a0 interface{}) *Observer_Saving_Call
Saving is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) Updated ¶
func (_e *Observer_Expecter) Updated(_a0 interface{}) *Observer_Updated_Call
Updated is a helper method to define mock.On call
- _a0 orm.Event
func (*Observer_Expecter) Updating ¶
func (_e *Observer_Expecter) Updating(_a0 interface{}) *Observer_Updating_Call
Updating is a helper method to define mock.On call
- _a0 orm.Event
type Observer_ForceDeleted_Call ¶
Observer_ForceDeleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceDeleted'
func (*Observer_ForceDeleted_Call) Return ¶
func (_c *Observer_ForceDeleted_Call) Return(_a0 error) *Observer_ForceDeleted_Call
func (*Observer_ForceDeleted_Call) Run ¶
func (_c *Observer_ForceDeleted_Call) Run(run func(_a0 orm.Event)) *Observer_ForceDeleted_Call
func (*Observer_ForceDeleted_Call) RunAndReturn ¶
func (_c *Observer_ForceDeleted_Call) RunAndReturn(run func(orm.Event) error) *Observer_ForceDeleted_Call
type Observer_ForceDeleting_Call ¶
Observer_ForceDeleting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceDeleting'
func (*Observer_ForceDeleting_Call) Return ¶
func (_c *Observer_ForceDeleting_Call) Return(_a0 error) *Observer_ForceDeleting_Call
func (*Observer_ForceDeleting_Call) Run ¶
func (_c *Observer_ForceDeleting_Call) Run(run func(_a0 orm.Event)) *Observer_ForceDeleting_Call
func (*Observer_ForceDeleting_Call) RunAndReturn ¶
func (_c *Observer_ForceDeleting_Call) RunAndReturn(run func(orm.Event) error) *Observer_ForceDeleting_Call
type Observer_Retrieved_Call ¶
Observer_Retrieved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Retrieved'
func (*Observer_Retrieved_Call) Return ¶
func (_c *Observer_Retrieved_Call) Return(_a0 error) *Observer_Retrieved_Call
func (*Observer_Retrieved_Call) Run ¶
func (_c *Observer_Retrieved_Call) Run(run func(_a0 orm.Event)) *Observer_Retrieved_Call
func (*Observer_Retrieved_Call) RunAndReturn ¶
func (_c *Observer_Retrieved_Call) RunAndReturn(run func(orm.Event) error) *Observer_Retrieved_Call
type Observer_Saved_Call ¶
Observer_Saved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Saved'
func (*Observer_Saved_Call) Return ¶
func (_c *Observer_Saved_Call) Return(_a0 error) *Observer_Saved_Call
func (*Observer_Saved_Call) Run ¶
func (_c *Observer_Saved_Call) Run(run func(_a0 orm.Event)) *Observer_Saved_Call
func (*Observer_Saved_Call) RunAndReturn ¶
func (_c *Observer_Saved_Call) RunAndReturn(run func(orm.Event) error) *Observer_Saved_Call
type Observer_Saving_Call ¶
Observer_Saving_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Saving'
func (*Observer_Saving_Call) Return ¶
func (_c *Observer_Saving_Call) Return(_a0 error) *Observer_Saving_Call
func (*Observer_Saving_Call) Run ¶
func (_c *Observer_Saving_Call) Run(run func(_a0 orm.Event)) *Observer_Saving_Call
func (*Observer_Saving_Call) RunAndReturn ¶
func (_c *Observer_Saving_Call) RunAndReturn(run func(orm.Event) error) *Observer_Saving_Call
type Observer_Updated_Call ¶
Observer_Updated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Updated'
func (*Observer_Updated_Call) Return ¶
func (_c *Observer_Updated_Call) Return(_a0 error) *Observer_Updated_Call
func (*Observer_Updated_Call) Run ¶
func (_c *Observer_Updated_Call) Run(run func(_a0 orm.Event)) *Observer_Updated_Call
func (*Observer_Updated_Call) RunAndReturn ¶
func (_c *Observer_Updated_Call) RunAndReturn(run func(orm.Event) error) *Observer_Updated_Call
type Observer_Updating_Call ¶
Observer_Updating_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Updating'
func (*Observer_Updating_Call) Return ¶
func (_c *Observer_Updating_Call) Return(_a0 error) *Observer_Updating_Call
func (*Observer_Updating_Call) Run ¶
func (_c *Observer_Updating_Call) Run(run func(_a0 orm.Event)) *Observer_Updating_Call
func (*Observer_Updating_Call) RunAndReturn ¶
func (_c *Observer_Updating_Call) RunAndReturn(run func(orm.Event) error) *Observer_Updating_Call
type Orm ¶
Orm is an autogenerated mock type for the Orm type
func NewOrm ¶
NewOrm creates a new instance of Orm. 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 (*Orm) Connection ¶
Connection provides a mock function with given fields: name
func (*Orm) EXPECT ¶
func (_m *Orm) EXPECT() *Orm_Expecter
func (*Orm) Transaction ¶
func (_m *Orm) Transaction(txFunc func(orm.Transaction) error) error
Transaction provides a mock function with given fields: txFunc
type Orm_Connection_Call ¶
Orm_Connection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connection'
func (*Orm_Connection_Call) Return ¶
func (_c *Orm_Connection_Call) Return(_a0 orm.Orm) *Orm_Connection_Call
func (*Orm_Connection_Call) Run ¶
func (_c *Orm_Connection_Call) Run(run func(name string)) *Orm_Connection_Call
func (*Orm_Connection_Call) RunAndReturn ¶
func (_c *Orm_Connection_Call) RunAndReturn(run func(string) orm.Orm) *Orm_Connection_Call
type Orm_DB_Call ¶
Orm_DB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DB'
func (*Orm_DB_Call) Return ¶
func (_c *Orm_DB_Call) Return(_a0 *sql.DB, _a1 error) *Orm_DB_Call
func (*Orm_DB_Call) Run ¶
func (_c *Orm_DB_Call) Run(run func()) *Orm_DB_Call
func (*Orm_DB_Call) RunAndReturn ¶
func (_c *Orm_DB_Call) RunAndReturn(run func() (*sql.DB, error)) *Orm_DB_Call
type Orm_Expecter ¶
type Orm_Expecter struct {
// contains filtered or unexported fields
}
func (*Orm_Expecter) Connection ¶
func (_e *Orm_Expecter) Connection(name interface{}) *Orm_Connection_Call
Connection is a helper method to define mock.On call
- name string
func (*Orm_Expecter) DB ¶
func (_e *Orm_Expecter) DB() *Orm_DB_Call
DB is a helper method to define mock.On call
func (*Orm_Expecter) Factory ¶
func (_e *Orm_Expecter) Factory() *Orm_Factory_Call
Factory is a helper method to define mock.On call
func (*Orm_Expecter) Observe ¶
func (_e *Orm_Expecter) Observe(model interface{}, observer interface{}) *Orm_Observe_Call
Observe is a helper method to define mock.On call
- model interface{}
- observer orm.Observer
func (*Orm_Expecter) Query ¶
func (_e *Orm_Expecter) Query() *Orm_Query_Call
Query is a helper method to define mock.On call
func (*Orm_Expecter) Transaction ¶
func (_e *Orm_Expecter) Transaction(txFunc interface{}) *Orm_Transaction_Call
Transaction is a helper method to define mock.On call
- txFunc func(orm.Transaction) error
func (*Orm_Expecter) WithContext ¶
func (_e *Orm_Expecter) WithContext(ctx interface{}) *Orm_WithContext_Call
WithContext is a helper method to define mock.On call
- ctx context.Context
type Orm_Factory_Call ¶
Orm_Factory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Factory'
func (*Orm_Factory_Call) Return ¶
func (_c *Orm_Factory_Call) Return(_a0 orm.Factory) *Orm_Factory_Call
func (*Orm_Factory_Call) Run ¶
func (_c *Orm_Factory_Call) Run(run func()) *Orm_Factory_Call
func (*Orm_Factory_Call) RunAndReturn ¶
func (_c *Orm_Factory_Call) RunAndReturn(run func() orm.Factory) *Orm_Factory_Call
type Orm_Observe_Call ¶
Orm_Observe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Observe'
func (*Orm_Observe_Call) Return ¶
func (_c *Orm_Observe_Call) Return() *Orm_Observe_Call
func (*Orm_Observe_Call) Run ¶
func (_c *Orm_Observe_Call) Run(run func(model interface{}, observer orm.Observer)) *Orm_Observe_Call
func (*Orm_Observe_Call) RunAndReturn ¶
func (_c *Orm_Observe_Call) RunAndReturn(run func(interface{}, orm.Observer)) *Orm_Observe_Call
type Orm_Query_Call ¶
Orm_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*Orm_Query_Call) Return ¶
func (_c *Orm_Query_Call) Return(_a0 orm.Query) *Orm_Query_Call
func (*Orm_Query_Call) Run ¶
func (_c *Orm_Query_Call) Run(run func()) *Orm_Query_Call
func (*Orm_Query_Call) RunAndReturn ¶
func (_c *Orm_Query_Call) RunAndReturn(run func() orm.Query) *Orm_Query_Call
type Orm_Transaction_Call ¶
Orm_Transaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transaction'
func (*Orm_Transaction_Call) Return ¶
func (_c *Orm_Transaction_Call) Return(_a0 error) *Orm_Transaction_Call
func (*Orm_Transaction_Call) Run ¶
func (_c *Orm_Transaction_Call) Run(run func(txFunc func(orm.Transaction) error)) *Orm_Transaction_Call
func (*Orm_Transaction_Call) RunAndReturn ¶
func (_c *Orm_Transaction_Call) RunAndReturn(run func(func(orm.Transaction) error) error) *Orm_Transaction_Call
type Orm_WithContext_Call ¶
Orm_WithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithContext'
func (*Orm_WithContext_Call) Return ¶
func (_c *Orm_WithContext_Call) Return(_a0 orm.Orm) *Orm_WithContext_Call
func (*Orm_WithContext_Call) Run ¶
func (_c *Orm_WithContext_Call) Run(run func(ctx context.Context)) *Orm_WithContext_Call
func (*Orm_WithContext_Call) RunAndReturn ¶
func (_c *Orm_WithContext_Call) RunAndReturn(run func(context.Context) orm.Orm) *Orm_WithContext_Call
type Query ¶
Query is an autogenerated mock type for the Query type
func NewQuery ¶
NewQuery creates a new instance of Query. 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 (*Query) Association ¶
func (_m *Query) Association(association string) orm.Association
Association provides a mock function with given fields: association
func (*Query) Begin ¶
func (_m *Query) Begin() (orm.Transaction, error)
Begin provides a mock function with given fields:
func (*Query) EXPECT ¶
func (_m *Query) EXPECT() *Query_Expecter
func (*Query) FindOrFail ¶
FindOrFail provides a mock function with given fields: dest, conds
func (*Query) FirstOrCreate ¶
FirstOrCreate provides a mock function with given fields: dest, conds
func (*Query) FirstOrFail ¶
FirstOrFail provides a mock function with given fields: dest
func (*Query) FirstOrNew ¶
FirstOrNew provides a mock function with given fields: dest, attributes, values
func (*Query) ForceDelete ¶
ForceDelete provides a mock function with given fields: value, conds
func (*Query) InRandomOrder ¶
InRandomOrder provides a mock function with given fields:
func (*Query) LoadMissing ¶
LoadMissing provides a mock function with given fields: dest, relation, args
func (*Query) LockForUpdate ¶
LockForUpdate provides a mock function with given fields:
func (*Query) OrWhereBetween ¶
OrWhereBetween provides a mock function with given fields: column, x, y
func (*Query) OrWhereNotBetween ¶
OrWhereNotBetween provides a mock function with given fields: column, x, y
func (*Query) OrWhereNotIn ¶
OrWhereNotIn provides a mock function with given fields: column, values
func (*Query) OrWhereNull ¶
OrWhereNull provides a mock function with given fields: column
func (*Query) OrderByDesc ¶
OrderByDesc provides a mock function with given fields: column
func (*Query) Paginate ¶
Paginate provides a mock function with given fields: page, limit, dest, total
func (*Query) SaveQuietly ¶
SaveQuietly provides a mock function with given fields: value
func (*Query) SharedLock ¶
SharedLock provides a mock function with given fields:
func (*Query) UpdateOrCreate ¶
UpdateOrCreate provides a mock function with given fields: dest, attributes, values
func (*Query) WhereBetween ¶
WhereBetween provides a mock function with given fields: column, x, y
func (*Query) WhereNotBetween ¶
WhereNotBetween provides a mock function with given fields: column, x, y
func (*Query) WhereNotIn ¶
WhereNotIn provides a mock function with given fields: column, values
func (*Query) WhereNotNull ¶
WhereNotNull provides a mock function with given fields: column
func (*Query) WithTrashed ¶
WithTrashed provides a mock function with given fields:
func (*Query) WithoutEvents ¶
WithoutEvents provides a mock function with given fields:
type Query_Association_Call ¶
Query_Association_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Association'
func (*Query_Association_Call) Return ¶
func (_c *Query_Association_Call) Return(_a0 orm.Association) *Query_Association_Call
func (*Query_Association_Call) Run ¶
func (_c *Query_Association_Call) Run(run func(association string)) *Query_Association_Call
func (*Query_Association_Call) RunAndReturn ¶
func (_c *Query_Association_Call) RunAndReturn(run func(string) orm.Association) *Query_Association_Call
type Query_Begin_Call ¶
Query_Begin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Begin'
func (*Query_Begin_Call) Return ¶
func (_c *Query_Begin_Call) Return(_a0 orm.Transaction, _a1 error) *Query_Begin_Call
func (*Query_Begin_Call) Run ¶
func (_c *Query_Begin_Call) Run(run func()) *Query_Begin_Call
func (*Query_Begin_Call) RunAndReturn ¶
func (_c *Query_Begin_Call) RunAndReturn(run func() (orm.Transaction, error)) *Query_Begin_Call
type Query_Count_Call ¶
Query_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*Query_Count_Call) Return ¶
func (_c *Query_Count_Call) Return(_a0 error) *Query_Count_Call
func (*Query_Count_Call) Run ¶
func (_c *Query_Count_Call) Run(run func(count *int64)) *Query_Count_Call
func (*Query_Count_Call) RunAndReturn ¶
func (_c *Query_Count_Call) RunAndReturn(run func(*int64) error) *Query_Count_Call
type Query_Create_Call ¶
Query_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Query_Create_Call) Return ¶
func (_c *Query_Create_Call) Return(_a0 error) *Query_Create_Call
func (*Query_Create_Call) Run ¶
func (_c *Query_Create_Call) Run(run func(value interface{})) *Query_Create_Call
func (*Query_Create_Call) RunAndReturn ¶
func (_c *Query_Create_Call) RunAndReturn(run func(interface{}) error) *Query_Create_Call
type Query_Cursor_Call ¶
Query_Cursor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cursor'
func (*Query_Cursor_Call) Return ¶
func (_c *Query_Cursor_Call) Return(_a0 chan orm.Cursor, _a1 error) *Query_Cursor_Call
func (*Query_Cursor_Call) Run ¶
func (_c *Query_Cursor_Call) Run(run func()) *Query_Cursor_Call
func (*Query_Cursor_Call) RunAndReturn ¶
func (_c *Query_Cursor_Call) RunAndReturn(run func() (chan orm.Cursor, error)) *Query_Cursor_Call
type Query_Delete_Call ¶
Query_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Query_Delete_Call) Return ¶
func (_c *Query_Delete_Call) Return(_a0 *orm.Result, _a1 error) *Query_Delete_Call
func (*Query_Delete_Call) Run ¶
func (_c *Query_Delete_Call) Run(run func(value interface{}, conds ...interface{})) *Query_Delete_Call
func (*Query_Delete_Call) RunAndReturn ¶
func (_c *Query_Delete_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Query_Delete_Call
type Query_Distinct_Call ¶
Query_Distinct_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Distinct'
func (*Query_Distinct_Call) Return ¶
func (_c *Query_Distinct_Call) Return(_a0 orm.Query) *Query_Distinct_Call
func (*Query_Distinct_Call) Run ¶
func (_c *Query_Distinct_Call) Run(run func(args ...interface{})) *Query_Distinct_Call
func (*Query_Distinct_Call) RunAndReturn ¶
func (_c *Query_Distinct_Call) RunAndReturn(run func(...interface{}) orm.Query) *Query_Distinct_Call
type Query_Driver_Call ¶
Query_Driver_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Driver'
func (*Query_Driver_Call) Return ¶
func (_c *Query_Driver_Call) Return(_a0 orm.Driver) *Query_Driver_Call
func (*Query_Driver_Call) Run ¶
func (_c *Query_Driver_Call) Run(run func()) *Query_Driver_Call
func (*Query_Driver_Call) RunAndReturn ¶
func (_c *Query_Driver_Call) RunAndReturn(run func() orm.Driver) *Query_Driver_Call
type Query_Exec_Call ¶
Query_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*Query_Exec_Call) Return ¶
func (_c *Query_Exec_Call) Return(_a0 *orm.Result, _a1 error) *Query_Exec_Call
func (*Query_Exec_Call) Run ¶
func (_c *Query_Exec_Call) Run(run func(sql string, values ...interface{})) *Query_Exec_Call
func (*Query_Exec_Call) RunAndReturn ¶
func (_c *Query_Exec_Call) RunAndReturn(run func(string, ...interface{}) (*orm.Result, error)) *Query_Exec_Call
type Query_Exists_Call ¶
Query_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*Query_Exists_Call) Return ¶
func (_c *Query_Exists_Call) Return(_a0 error) *Query_Exists_Call
func (*Query_Exists_Call) Run ¶
func (_c *Query_Exists_Call) Run(run func(exists *bool)) *Query_Exists_Call
func (*Query_Exists_Call) RunAndReturn ¶
func (_c *Query_Exists_Call) RunAndReturn(run func(*bool) error) *Query_Exists_Call
type Query_Expecter ¶
type Query_Expecter struct {
// contains filtered or unexported fields
}
func (*Query_Expecter) Association ¶
func (_e *Query_Expecter) Association(association interface{}) *Query_Association_Call
Association is a helper method to define mock.On call
- association string
func (*Query_Expecter) Begin ¶
func (_e *Query_Expecter) Begin() *Query_Begin_Call
Begin is a helper method to define mock.On call
func (*Query_Expecter) Count ¶
func (_e *Query_Expecter) Count(count interface{}) *Query_Count_Call
Count is a helper method to define mock.On call
- count *int64
func (*Query_Expecter) Create ¶
func (_e *Query_Expecter) Create(value interface{}) *Query_Create_Call
Create is a helper method to define mock.On call
- value interface{}
func (*Query_Expecter) Cursor ¶
func (_e *Query_Expecter) Cursor() *Query_Cursor_Call
Cursor is a helper method to define mock.On call
func (*Query_Expecter) Delete ¶
func (_e *Query_Expecter) Delete(value interface{}, conds ...interface{}) *Query_Delete_Call
Delete is a helper method to define mock.On call
- value interface{}
- conds ...interface{}
func (*Query_Expecter) Distinct ¶
func (_e *Query_Expecter) Distinct(args ...interface{}) *Query_Distinct_Call
Distinct is a helper method to define mock.On call
- args ...interface{}
func (*Query_Expecter) Driver ¶
func (_e *Query_Expecter) Driver() *Query_Driver_Call
Driver is a helper method to define mock.On call
func (*Query_Expecter) Exec ¶
func (_e *Query_Expecter) Exec(sql interface{}, values ...interface{}) *Query_Exec_Call
Exec is a helper method to define mock.On call
- sql string
- values ...interface{}
func (*Query_Expecter) Exists ¶
func (_e *Query_Expecter) Exists(exists interface{}) *Query_Exists_Call
Exists is a helper method to define mock.On call
- exists *bool
func (*Query_Expecter) Find ¶
func (_e *Query_Expecter) Find(dest interface{}, conds ...interface{}) *Query_Find_Call
Find is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*Query_Expecter) FindOrFail ¶
func (_e *Query_Expecter) FindOrFail(dest interface{}, conds ...interface{}) *Query_FindOrFail_Call
FindOrFail is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*Query_Expecter) First ¶
func (_e *Query_Expecter) First(dest interface{}) *Query_First_Call
First is a helper method to define mock.On call
- dest interface{}
func (*Query_Expecter) FirstOr ¶
func (_e *Query_Expecter) FirstOr(dest interface{}, callback interface{}) *Query_FirstOr_Call
FirstOr is a helper method to define mock.On call
- dest interface{}
- callback func() error
func (*Query_Expecter) FirstOrCreate ¶
func (_e *Query_Expecter) FirstOrCreate(dest interface{}, conds ...interface{}) *Query_FirstOrCreate_Call
FirstOrCreate is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*Query_Expecter) FirstOrFail ¶
func (_e *Query_Expecter) FirstOrFail(dest interface{}) *Query_FirstOrFail_Call
FirstOrFail is a helper method to define mock.On call
- dest interface{}
func (*Query_Expecter) FirstOrNew ¶
func (_e *Query_Expecter) FirstOrNew(dest interface{}, attributes interface{}, values ...interface{}) *Query_FirstOrNew_Call
FirstOrNew is a helper method to define mock.On call
- dest interface{}
- attributes interface{}
- values ...interface{}
func (*Query_Expecter) ForceDelete ¶
func (_e *Query_Expecter) ForceDelete(value interface{}, conds ...interface{}) *Query_ForceDelete_Call
ForceDelete is a helper method to define mock.On call
- value interface{}
- conds ...interface{}
func (*Query_Expecter) Get ¶
func (_e *Query_Expecter) Get(dest interface{}) *Query_Get_Call
Get is a helper method to define mock.On call
- dest interface{}
func (*Query_Expecter) Group ¶
func (_e *Query_Expecter) Group(name interface{}) *Query_Group_Call
Group is a helper method to define mock.On call
- name string
func (*Query_Expecter) Having ¶
func (_e *Query_Expecter) Having(query interface{}, args ...interface{}) *Query_Having_Call
Having is a helper method to define mock.On call
- query interface{}
- args ...interface{}
func (*Query_Expecter) InRandomOrder ¶
func (_e *Query_Expecter) InRandomOrder() *Query_InRandomOrder_Call
InRandomOrder is a helper method to define mock.On call
func (*Query_Expecter) Join ¶
func (_e *Query_Expecter) Join(query interface{}, args ...interface{}) *Query_Join_Call
Join is a helper method to define mock.On call
- query string
- args ...interface{}
func (*Query_Expecter) Limit ¶
func (_e *Query_Expecter) Limit(limit interface{}) *Query_Limit_Call
Limit is a helper method to define mock.On call
- limit int
func (*Query_Expecter) Load ¶
func (_e *Query_Expecter) Load(dest interface{}, relation interface{}, args ...interface{}) *Query_Load_Call
Load is a helper method to define mock.On call
- dest interface{}
- relation string
- args ...interface{}
func (*Query_Expecter) LoadMissing ¶
func (_e *Query_Expecter) LoadMissing(dest interface{}, relation interface{}, args ...interface{}) *Query_LoadMissing_Call
LoadMissing is a helper method to define mock.On call
- dest interface{}
- relation string
- args ...interface{}
func (*Query_Expecter) LockForUpdate ¶
func (_e *Query_Expecter) LockForUpdate() *Query_LockForUpdate_Call
LockForUpdate is a helper method to define mock.On call
func (*Query_Expecter) Model ¶
func (_e *Query_Expecter) Model(value interface{}) *Query_Model_Call
Model is a helper method to define mock.On call
- value interface{}
func (*Query_Expecter) Offset ¶
func (_e *Query_Expecter) Offset(offset interface{}) *Query_Offset_Call
Offset is a helper method to define mock.On call
- offset int
func (*Query_Expecter) Omit ¶
func (_e *Query_Expecter) Omit(columns ...interface{}) *Query_Omit_Call
Omit is a helper method to define mock.On call
- columns ...string
func (*Query_Expecter) OrWhere ¶
func (_e *Query_Expecter) OrWhere(query interface{}, args ...interface{}) *Query_OrWhere_Call
OrWhere is a helper method to define mock.On call
- query interface{}
- args ...interface{}
func (*Query_Expecter) OrWhereBetween ¶
func (_e *Query_Expecter) OrWhereBetween(column interface{}, x interface{}, y interface{}) *Query_OrWhereBetween_Call
OrWhereBetween is a helper method to define mock.On call
- column string
- x interface{}
- y interface{}
func (*Query_Expecter) OrWhereIn ¶
func (_e *Query_Expecter) OrWhereIn(column interface{}, values interface{}) *Query_OrWhereIn_Call
OrWhereIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*Query_Expecter) OrWhereNotBetween ¶
func (_e *Query_Expecter) OrWhereNotBetween(column interface{}, x interface{}, y interface{}) *Query_OrWhereNotBetween_Call
OrWhereNotBetween is a helper method to define mock.On call
- column string
- x interface{}
- y interface{}
func (*Query_Expecter) OrWhereNotIn ¶
func (_e *Query_Expecter) OrWhereNotIn(column interface{}, values interface{}) *Query_OrWhereNotIn_Call
OrWhereNotIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*Query_Expecter) OrWhereNull ¶
func (_e *Query_Expecter) OrWhereNull(column interface{}) *Query_OrWhereNull_Call
OrWhereNull is a helper method to define mock.On call
- column string
func (*Query_Expecter) Order ¶
func (_e *Query_Expecter) Order(value interface{}) *Query_Order_Call
Order is a helper method to define mock.On call
- value interface{}
func (*Query_Expecter) OrderBy ¶
func (_e *Query_Expecter) OrderBy(column interface{}, direction ...interface{}) *Query_OrderBy_Call
OrderBy is a helper method to define mock.On call
- column string
- direction ...string
func (*Query_Expecter) OrderByDesc ¶
func (_e *Query_Expecter) OrderByDesc(column interface{}) *Query_OrderByDesc_Call
OrderByDesc is a helper method to define mock.On call
- column string
func (*Query_Expecter) Paginate ¶
func (_e *Query_Expecter) Paginate(page interface{}, limit interface{}, dest interface{}, total interface{}) *Query_Paginate_Call
Paginate is a helper method to define mock.On call
- page int
- limit int
- dest interface{}
- total *int64
func (*Query_Expecter) Pluck ¶
func (_e *Query_Expecter) Pluck(column interface{}, dest interface{}) *Query_Pluck_Call
Pluck is a helper method to define mock.On call
- column string
- dest interface{}
func (*Query_Expecter) Raw ¶
func (_e *Query_Expecter) Raw(sql interface{}, values ...interface{}) *Query_Raw_Call
Raw is a helper method to define mock.On call
- sql string
- values ...interface{}
func (*Query_Expecter) Save ¶
func (_e *Query_Expecter) Save(value interface{}) *Query_Save_Call
Save is a helper method to define mock.On call
- value interface{}
func (*Query_Expecter) SaveQuietly ¶
func (_e *Query_Expecter) SaveQuietly(value interface{}) *Query_SaveQuietly_Call
SaveQuietly is a helper method to define mock.On call
- value interface{}
func (*Query_Expecter) Scan ¶
func (_e *Query_Expecter) Scan(dest interface{}) *Query_Scan_Call
Scan is a helper method to define mock.On call
- dest interface{}
func (*Query_Expecter) Scopes ¶
func (_e *Query_Expecter) Scopes(funcs ...interface{}) *Query_Scopes_Call
Scopes is a helper method to define mock.On call
- funcs ...func(orm.Query) orm.Query
func (*Query_Expecter) Select ¶
func (_e *Query_Expecter) Select(query interface{}, args ...interface{}) *Query_Select_Call
Select is a helper method to define mock.On call
- query interface{}
- args ...interface{}
func (*Query_Expecter) SharedLock ¶
func (_e *Query_Expecter) SharedLock() *Query_SharedLock_Call
SharedLock is a helper method to define mock.On call
func (*Query_Expecter) Sum ¶
func (_e *Query_Expecter) Sum(column interface{}, dest interface{}) *Query_Sum_Call
Sum is a helper method to define mock.On call
- column string
- dest interface{}
func (*Query_Expecter) Table ¶
func (_e *Query_Expecter) Table(name interface{}, args ...interface{}) *Query_Table_Call
Table is a helper method to define mock.On call
- name string
- args ...interface{}
func (*Query_Expecter) ToRawSql ¶
func (_e *Query_Expecter) ToRawSql() *Query_ToRawSql_Call
ToRawSql is a helper method to define mock.On call
func (*Query_Expecter) ToSql ¶
func (_e *Query_Expecter) ToSql() *Query_ToSql_Call
ToSql is a helper method to define mock.On call
func (*Query_Expecter) Update ¶
func (_e *Query_Expecter) Update(column interface{}, value ...interface{}) *Query_Update_Call
Update is a helper method to define mock.On call
- column interface{}
- value ...interface{}
func (*Query_Expecter) UpdateOrCreate ¶
func (_e *Query_Expecter) UpdateOrCreate(dest interface{}, attributes interface{}, values interface{}) *Query_UpdateOrCreate_Call
UpdateOrCreate is a helper method to define mock.On call
- dest interface{}
- attributes interface{}
- values interface{}
func (*Query_Expecter) Where ¶
func (_e *Query_Expecter) Where(query interface{}, args ...interface{}) *Query_Where_Call
Where is a helper method to define mock.On call
- query interface{}
- args ...interface{}
func (*Query_Expecter) WhereBetween ¶
func (_e *Query_Expecter) WhereBetween(column interface{}, x interface{}, y interface{}) *Query_WhereBetween_Call
WhereBetween is a helper method to define mock.On call
- column string
- x interface{}
- y interface{}
func (*Query_Expecter) WhereIn ¶
func (_e *Query_Expecter) WhereIn(column interface{}, values interface{}) *Query_WhereIn_Call
WhereIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*Query_Expecter) WhereNotBetween ¶
func (_e *Query_Expecter) WhereNotBetween(column interface{}, x interface{}, y interface{}) *Query_WhereNotBetween_Call
WhereNotBetween is a helper method to define mock.On call
- column string
- x interface{}
- y interface{}
func (*Query_Expecter) WhereNotIn ¶
func (_e *Query_Expecter) WhereNotIn(column interface{}, values interface{}) *Query_WhereNotIn_Call
WhereNotIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*Query_Expecter) WhereNotNull ¶
func (_e *Query_Expecter) WhereNotNull(column interface{}) *Query_WhereNotNull_Call
WhereNotNull is a helper method to define mock.On call
- column string
func (*Query_Expecter) WhereNull ¶
func (_e *Query_Expecter) WhereNull(column interface{}) *Query_WhereNull_Call
WhereNull is a helper method to define mock.On call
- column string
func (*Query_Expecter) With ¶
func (_e *Query_Expecter) With(query interface{}, args ...interface{}) *Query_With_Call
With is a helper method to define mock.On call
- query string
- args ...interface{}
func (*Query_Expecter) WithTrashed ¶
func (_e *Query_Expecter) WithTrashed() *Query_WithTrashed_Call
WithTrashed is a helper method to define mock.On call
func (*Query_Expecter) WithoutEvents ¶
func (_e *Query_Expecter) WithoutEvents() *Query_WithoutEvents_Call
WithoutEvents is a helper method to define mock.On call
type Query_FindOrFail_Call ¶
Query_FindOrFail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOrFail'
func (*Query_FindOrFail_Call) Return ¶
func (_c *Query_FindOrFail_Call) Return(_a0 error) *Query_FindOrFail_Call
func (*Query_FindOrFail_Call) Run ¶
func (_c *Query_FindOrFail_Call) Run(run func(dest interface{}, conds ...interface{})) *Query_FindOrFail_Call
func (*Query_FindOrFail_Call) RunAndReturn ¶
func (_c *Query_FindOrFail_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Query_FindOrFail_Call
type Query_Find_Call ¶
Query_Find_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Find'
func (*Query_Find_Call) Return ¶
func (_c *Query_Find_Call) Return(_a0 error) *Query_Find_Call
func (*Query_Find_Call) Run ¶
func (_c *Query_Find_Call) Run(run func(dest interface{}, conds ...interface{})) *Query_Find_Call
func (*Query_Find_Call) RunAndReturn ¶
func (_c *Query_Find_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Query_Find_Call
type Query_FirstOrCreate_Call ¶
Query_FirstOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrCreate'
func (*Query_FirstOrCreate_Call) Return ¶
func (_c *Query_FirstOrCreate_Call) Return(_a0 error) *Query_FirstOrCreate_Call
func (*Query_FirstOrCreate_Call) Run ¶
func (_c *Query_FirstOrCreate_Call) Run(run func(dest interface{}, conds ...interface{})) *Query_FirstOrCreate_Call
func (*Query_FirstOrCreate_Call) RunAndReturn ¶
func (_c *Query_FirstOrCreate_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Query_FirstOrCreate_Call
type Query_FirstOrFail_Call ¶
Query_FirstOrFail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrFail'
func (*Query_FirstOrFail_Call) Return ¶
func (_c *Query_FirstOrFail_Call) Return(_a0 error) *Query_FirstOrFail_Call
func (*Query_FirstOrFail_Call) Run ¶
func (_c *Query_FirstOrFail_Call) Run(run func(dest interface{})) *Query_FirstOrFail_Call
func (*Query_FirstOrFail_Call) RunAndReturn ¶
func (_c *Query_FirstOrFail_Call) RunAndReturn(run func(interface{}) error) *Query_FirstOrFail_Call
type Query_FirstOrNew_Call ¶
Query_FirstOrNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrNew'
func (*Query_FirstOrNew_Call) Return ¶
func (_c *Query_FirstOrNew_Call) Return(_a0 error) *Query_FirstOrNew_Call
func (*Query_FirstOrNew_Call) Run ¶
func (_c *Query_FirstOrNew_Call) Run(run func(dest interface{}, attributes interface{}, values ...interface{})) *Query_FirstOrNew_Call
func (*Query_FirstOrNew_Call) RunAndReturn ¶
func (_c *Query_FirstOrNew_Call) RunAndReturn(run func(interface{}, interface{}, ...interface{}) error) *Query_FirstOrNew_Call
type Query_FirstOr_Call ¶
Query_FirstOr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOr'
func (*Query_FirstOr_Call) Return ¶
func (_c *Query_FirstOr_Call) Return(_a0 error) *Query_FirstOr_Call
func (*Query_FirstOr_Call) Run ¶
func (_c *Query_FirstOr_Call) Run(run func(dest interface{}, callback func() error)) *Query_FirstOr_Call
func (*Query_FirstOr_Call) RunAndReturn ¶
func (_c *Query_FirstOr_Call) RunAndReturn(run func(interface{}, func() error) error) *Query_FirstOr_Call
type Query_First_Call ¶
Query_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'
func (*Query_First_Call) Return ¶
func (_c *Query_First_Call) Return(_a0 error) *Query_First_Call
func (*Query_First_Call) Run ¶
func (_c *Query_First_Call) Run(run func(dest interface{})) *Query_First_Call
func (*Query_First_Call) RunAndReturn ¶
func (_c *Query_First_Call) RunAndReturn(run func(interface{}) error) *Query_First_Call
type Query_ForceDelete_Call ¶
Query_ForceDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceDelete'
func (*Query_ForceDelete_Call) Return ¶
func (_c *Query_ForceDelete_Call) Return(_a0 *orm.Result, _a1 error) *Query_ForceDelete_Call
func (*Query_ForceDelete_Call) Run ¶
func (_c *Query_ForceDelete_Call) Run(run func(value interface{}, conds ...interface{})) *Query_ForceDelete_Call
func (*Query_ForceDelete_Call) RunAndReturn ¶
func (_c *Query_ForceDelete_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Query_ForceDelete_Call
type Query_Get_Call ¶
Query_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Query_Get_Call) Return ¶
func (_c *Query_Get_Call) Return(_a0 error) *Query_Get_Call
func (*Query_Get_Call) Run ¶
func (_c *Query_Get_Call) Run(run func(dest interface{})) *Query_Get_Call
func (*Query_Get_Call) RunAndReturn ¶
func (_c *Query_Get_Call) RunAndReturn(run func(interface{}) error) *Query_Get_Call
type Query_Group_Call ¶
Query_Group_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Group'
func (*Query_Group_Call) Return ¶
func (_c *Query_Group_Call) Return(_a0 orm.Query) *Query_Group_Call
func (*Query_Group_Call) Run ¶
func (_c *Query_Group_Call) Run(run func(name string)) *Query_Group_Call
func (*Query_Group_Call) RunAndReturn ¶
func (_c *Query_Group_Call) RunAndReturn(run func(string) orm.Query) *Query_Group_Call
type Query_Having_Call ¶
Query_Having_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Having'
func (*Query_Having_Call) Return ¶
func (_c *Query_Having_Call) Return(_a0 orm.Query) *Query_Having_Call
func (*Query_Having_Call) Run ¶
func (_c *Query_Having_Call) Run(run func(query interface{}, args ...interface{})) *Query_Having_Call
func (*Query_Having_Call) RunAndReturn ¶
func (_c *Query_Having_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Query_Having_Call
type Query_InRandomOrder_Call ¶
Query_InRandomOrder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InRandomOrder'
func (*Query_InRandomOrder_Call) Return ¶
func (_c *Query_InRandomOrder_Call) Return(_a0 orm.Query) *Query_InRandomOrder_Call
func (*Query_InRandomOrder_Call) Run ¶
func (_c *Query_InRandomOrder_Call) Run(run func()) *Query_InRandomOrder_Call
func (*Query_InRandomOrder_Call) RunAndReturn ¶
func (_c *Query_InRandomOrder_Call) RunAndReturn(run func() orm.Query) *Query_InRandomOrder_Call
type Query_Join_Call ¶
Query_Join_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Join'
func (*Query_Join_Call) Return ¶
func (_c *Query_Join_Call) Return(_a0 orm.Query) *Query_Join_Call
func (*Query_Join_Call) Run ¶
func (_c *Query_Join_Call) Run(run func(query string, args ...interface{})) *Query_Join_Call
func (*Query_Join_Call) RunAndReturn ¶
func (_c *Query_Join_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_Join_Call
type Query_Limit_Call ¶
Query_Limit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Limit'
func (*Query_Limit_Call) Return ¶
func (_c *Query_Limit_Call) Return(_a0 orm.Query) *Query_Limit_Call
func (*Query_Limit_Call) Run ¶
func (_c *Query_Limit_Call) Run(run func(limit int)) *Query_Limit_Call
func (*Query_Limit_Call) RunAndReturn ¶
func (_c *Query_Limit_Call) RunAndReturn(run func(int) orm.Query) *Query_Limit_Call
type Query_LoadMissing_Call ¶
Query_LoadMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadMissing'
func (*Query_LoadMissing_Call) Return ¶
func (_c *Query_LoadMissing_Call) Return(_a0 error) *Query_LoadMissing_Call
func (*Query_LoadMissing_Call) Run ¶
func (_c *Query_LoadMissing_Call) Run(run func(dest interface{}, relation string, args ...interface{})) *Query_LoadMissing_Call
func (*Query_LoadMissing_Call) RunAndReturn ¶
func (_c *Query_LoadMissing_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Query_LoadMissing_Call
type Query_Load_Call ¶
Query_Load_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Load'
func (*Query_Load_Call) Return ¶
func (_c *Query_Load_Call) Return(_a0 error) *Query_Load_Call
func (*Query_Load_Call) Run ¶
func (_c *Query_Load_Call) Run(run func(dest interface{}, relation string, args ...interface{})) *Query_Load_Call
func (*Query_Load_Call) RunAndReturn ¶
func (_c *Query_Load_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Query_Load_Call
type Query_LockForUpdate_Call ¶
Query_LockForUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LockForUpdate'
func (*Query_LockForUpdate_Call) Return ¶
func (_c *Query_LockForUpdate_Call) Return(_a0 orm.Query) *Query_LockForUpdate_Call
func (*Query_LockForUpdate_Call) Run ¶
func (_c *Query_LockForUpdate_Call) Run(run func()) *Query_LockForUpdate_Call
func (*Query_LockForUpdate_Call) RunAndReturn ¶
func (_c *Query_LockForUpdate_Call) RunAndReturn(run func() orm.Query) *Query_LockForUpdate_Call
type Query_Model_Call ¶
Query_Model_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Model'
func (*Query_Model_Call) Return ¶
func (_c *Query_Model_Call) Return(_a0 orm.Query) *Query_Model_Call
func (*Query_Model_Call) Run ¶
func (_c *Query_Model_Call) Run(run func(value interface{})) *Query_Model_Call
func (*Query_Model_Call) RunAndReturn ¶
func (_c *Query_Model_Call) RunAndReturn(run func(interface{}) orm.Query) *Query_Model_Call
type Query_Offset_Call ¶
Query_Offset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Offset'
func (*Query_Offset_Call) Return ¶
func (_c *Query_Offset_Call) Return(_a0 orm.Query) *Query_Offset_Call
func (*Query_Offset_Call) Run ¶
func (_c *Query_Offset_Call) Run(run func(offset int)) *Query_Offset_Call
func (*Query_Offset_Call) RunAndReturn ¶
func (_c *Query_Offset_Call) RunAndReturn(run func(int) orm.Query) *Query_Offset_Call
type Query_Omit_Call ¶
Query_Omit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Omit'
func (*Query_Omit_Call) Return ¶
func (_c *Query_Omit_Call) Return(_a0 orm.Query) *Query_Omit_Call
func (*Query_Omit_Call) Run ¶
func (_c *Query_Omit_Call) Run(run func(columns ...string)) *Query_Omit_Call
func (*Query_Omit_Call) RunAndReturn ¶
func (_c *Query_Omit_Call) RunAndReturn(run func(...string) orm.Query) *Query_Omit_Call
type Query_OrWhereBetween_Call ¶
Query_OrWhereBetween_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereBetween'
func (*Query_OrWhereBetween_Call) Return ¶
func (_c *Query_OrWhereBetween_Call) Return(_a0 orm.Query) *Query_OrWhereBetween_Call
func (*Query_OrWhereBetween_Call) Run ¶
func (_c *Query_OrWhereBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Query_OrWhereBetween_Call
func (*Query_OrWhereBetween_Call) RunAndReturn ¶
func (_c *Query_OrWhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Query_OrWhereBetween_Call
type Query_OrWhereIn_Call ¶
Query_OrWhereIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereIn'
func (*Query_OrWhereIn_Call) Return ¶
func (_c *Query_OrWhereIn_Call) Return(_a0 orm.Query) *Query_OrWhereIn_Call
func (*Query_OrWhereIn_Call) Run ¶
func (_c *Query_OrWhereIn_Call) Run(run func(column string, values []interface{})) *Query_OrWhereIn_Call
func (*Query_OrWhereIn_Call) RunAndReturn ¶
func (_c *Query_OrWhereIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Query_OrWhereIn_Call
type Query_OrWhereNotBetween_Call ¶
Query_OrWhereNotBetween_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereNotBetween'
func (*Query_OrWhereNotBetween_Call) Return ¶
func (_c *Query_OrWhereNotBetween_Call) Return(_a0 orm.Query) *Query_OrWhereNotBetween_Call
func (*Query_OrWhereNotBetween_Call) Run ¶
func (_c *Query_OrWhereNotBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Query_OrWhereNotBetween_Call
func (*Query_OrWhereNotBetween_Call) RunAndReturn ¶
func (_c *Query_OrWhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Query_OrWhereNotBetween_Call
type Query_OrWhereNotIn_Call ¶
Query_OrWhereNotIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereNotIn'
func (*Query_OrWhereNotIn_Call) Return ¶
func (_c *Query_OrWhereNotIn_Call) Return(_a0 orm.Query) *Query_OrWhereNotIn_Call
func (*Query_OrWhereNotIn_Call) Run ¶
func (_c *Query_OrWhereNotIn_Call) Run(run func(column string, values []interface{})) *Query_OrWhereNotIn_Call
func (*Query_OrWhereNotIn_Call) RunAndReturn ¶
func (_c *Query_OrWhereNotIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Query_OrWhereNotIn_Call
type Query_OrWhereNull_Call ¶
Query_OrWhereNull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereNull'
func (*Query_OrWhereNull_Call) Return ¶
func (_c *Query_OrWhereNull_Call) Return(_a0 orm.Query) *Query_OrWhereNull_Call
func (*Query_OrWhereNull_Call) Run ¶
func (_c *Query_OrWhereNull_Call) Run(run func(column string)) *Query_OrWhereNull_Call
func (*Query_OrWhereNull_Call) RunAndReturn ¶
func (_c *Query_OrWhereNull_Call) RunAndReturn(run func(string) orm.Query) *Query_OrWhereNull_Call
type Query_OrWhere_Call ¶
Query_OrWhere_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhere'
func (*Query_OrWhere_Call) Return ¶
func (_c *Query_OrWhere_Call) Return(_a0 orm.Query) *Query_OrWhere_Call
func (*Query_OrWhere_Call) Run ¶
func (_c *Query_OrWhere_Call) Run(run func(query interface{}, args ...interface{})) *Query_OrWhere_Call
func (*Query_OrWhere_Call) RunAndReturn ¶
func (_c *Query_OrWhere_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Query_OrWhere_Call
type Query_OrderByDesc_Call ¶
Query_OrderByDesc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrderByDesc'
func (*Query_OrderByDesc_Call) Return ¶
func (_c *Query_OrderByDesc_Call) Return(_a0 orm.Query) *Query_OrderByDesc_Call
func (*Query_OrderByDesc_Call) Run ¶
func (_c *Query_OrderByDesc_Call) Run(run func(column string)) *Query_OrderByDesc_Call
func (*Query_OrderByDesc_Call) RunAndReturn ¶
func (_c *Query_OrderByDesc_Call) RunAndReturn(run func(string) orm.Query) *Query_OrderByDesc_Call
type Query_OrderBy_Call ¶
Query_OrderBy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrderBy'
func (*Query_OrderBy_Call) Return ¶
func (_c *Query_OrderBy_Call) Return(_a0 orm.Query) *Query_OrderBy_Call
func (*Query_OrderBy_Call) Run ¶
func (_c *Query_OrderBy_Call) Run(run func(column string, direction ...string)) *Query_OrderBy_Call
func (*Query_OrderBy_Call) RunAndReturn ¶
func (_c *Query_OrderBy_Call) RunAndReturn(run func(string, ...string) orm.Query) *Query_OrderBy_Call
type Query_Order_Call ¶
Query_Order_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Order'
func (*Query_Order_Call) Return ¶
func (_c *Query_Order_Call) Return(_a0 orm.Query) *Query_Order_Call
func (*Query_Order_Call) Run ¶
func (_c *Query_Order_Call) Run(run func(value interface{})) *Query_Order_Call
func (*Query_Order_Call) RunAndReturn ¶
func (_c *Query_Order_Call) RunAndReturn(run func(interface{}) orm.Query) *Query_Order_Call
type Query_Paginate_Call ¶
Query_Paginate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Paginate'
func (*Query_Paginate_Call) Return ¶
func (_c *Query_Paginate_Call) Return(_a0 error) *Query_Paginate_Call
func (*Query_Paginate_Call) Run ¶
func (_c *Query_Paginate_Call) Run(run func(page int, limit int, dest interface{}, total *int64)) *Query_Paginate_Call
func (*Query_Paginate_Call) RunAndReturn ¶
func (_c *Query_Paginate_Call) RunAndReturn(run func(int, int, interface{}, *int64) error) *Query_Paginate_Call
type Query_Pluck_Call ¶
Query_Pluck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pluck'
func (*Query_Pluck_Call) Return ¶
func (_c *Query_Pluck_Call) Return(_a0 error) *Query_Pluck_Call
func (*Query_Pluck_Call) Run ¶
func (_c *Query_Pluck_Call) Run(run func(column string, dest interface{})) *Query_Pluck_Call
func (*Query_Pluck_Call) RunAndReturn ¶
func (_c *Query_Pluck_Call) RunAndReturn(run func(string, interface{}) error) *Query_Pluck_Call
type Query_Raw_Call ¶
Query_Raw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Raw'
func (*Query_Raw_Call) Return ¶
func (_c *Query_Raw_Call) Return(_a0 orm.Query) *Query_Raw_Call
func (*Query_Raw_Call) Run ¶
func (_c *Query_Raw_Call) Run(run func(sql string, values ...interface{})) *Query_Raw_Call
func (*Query_Raw_Call) RunAndReturn ¶
func (_c *Query_Raw_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_Raw_Call
type Query_SaveQuietly_Call ¶
Query_SaveQuietly_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveQuietly'
func (*Query_SaveQuietly_Call) Return ¶
func (_c *Query_SaveQuietly_Call) Return(_a0 error) *Query_SaveQuietly_Call
func (*Query_SaveQuietly_Call) Run ¶
func (_c *Query_SaveQuietly_Call) Run(run func(value interface{})) *Query_SaveQuietly_Call
func (*Query_SaveQuietly_Call) RunAndReturn ¶
func (_c *Query_SaveQuietly_Call) RunAndReturn(run func(interface{}) error) *Query_SaveQuietly_Call
type Query_Save_Call ¶
Query_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*Query_Save_Call) Return ¶
func (_c *Query_Save_Call) Return(_a0 error) *Query_Save_Call
func (*Query_Save_Call) Run ¶
func (_c *Query_Save_Call) Run(run func(value interface{})) *Query_Save_Call
func (*Query_Save_Call) RunAndReturn ¶
func (_c *Query_Save_Call) RunAndReturn(run func(interface{}) error) *Query_Save_Call
type Query_Scan_Call ¶
Query_Scan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scan'
func (*Query_Scan_Call) Return ¶
func (_c *Query_Scan_Call) Return(_a0 error) *Query_Scan_Call
func (*Query_Scan_Call) Run ¶
func (_c *Query_Scan_Call) Run(run func(dest interface{})) *Query_Scan_Call
func (*Query_Scan_Call) RunAndReturn ¶
func (_c *Query_Scan_Call) RunAndReturn(run func(interface{}) error) *Query_Scan_Call
type Query_Scopes_Call ¶
Query_Scopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scopes'
func (*Query_Scopes_Call) Return ¶
func (_c *Query_Scopes_Call) Return(_a0 orm.Query) *Query_Scopes_Call
func (*Query_Scopes_Call) Run ¶
func (_c *Query_Scopes_Call) Run(run func(funcs ...func(orm.Query) orm.Query)) *Query_Scopes_Call
func (*Query_Scopes_Call) RunAndReturn ¶
func (_c *Query_Scopes_Call) RunAndReturn(run func(...func(orm.Query) orm.Query) orm.Query) *Query_Scopes_Call
type Query_Select_Call ¶
Query_Select_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Select'
func (*Query_Select_Call) Return ¶
func (_c *Query_Select_Call) Return(_a0 orm.Query) *Query_Select_Call
func (*Query_Select_Call) Run ¶
func (_c *Query_Select_Call) Run(run func(query interface{}, args ...interface{})) *Query_Select_Call
func (*Query_Select_Call) RunAndReturn ¶
func (_c *Query_Select_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Query_Select_Call
type Query_SharedLock_Call ¶
type Query_SharedLock_Call struct {
}Query_SharedLock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SharedLock'
func (*Query_SharedLock_Call) Return ¶
func (_c *Query_SharedLock_Call) Return(_a0 orm.Query) *Query_SharedLock_Call
func (*Query_SharedLock_Call) Run ¶
func (_c *Query_SharedLock_Call) Run(run func()) *Query_SharedLock_Call
func (*Query_SharedLock_Call) RunAndReturn ¶
func (_c *Query_SharedLock_Call) RunAndReturn(run func() orm.Query) *Query_SharedLock_Call
type Query_Sum_Call ¶
Query_Sum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sum'
func (*Query_Sum_Call) Return ¶
func (_c *Query_Sum_Call) Return(_a0 error) *Query_Sum_Call
func (*Query_Sum_Call) Run ¶
func (_c *Query_Sum_Call) Run(run func(column string, dest interface{})) *Query_Sum_Call
func (*Query_Sum_Call) RunAndReturn ¶
func (_c *Query_Sum_Call) RunAndReturn(run func(string, interface{}) error) *Query_Sum_Call
type Query_Table_Call ¶
Query_Table_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Table'
func (*Query_Table_Call) Return ¶
func (_c *Query_Table_Call) Return(_a0 orm.Query) *Query_Table_Call
func (*Query_Table_Call) Run ¶
func (_c *Query_Table_Call) Run(run func(name string, args ...interface{})) *Query_Table_Call
func (*Query_Table_Call) RunAndReturn ¶
func (_c *Query_Table_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_Table_Call
type Query_ToRawSql_Call ¶
Query_ToRawSql_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToRawSql'
func (*Query_ToRawSql_Call) Return ¶
func (_c *Query_ToRawSql_Call) Return(_a0 orm.ToSql) *Query_ToRawSql_Call
func (*Query_ToRawSql_Call) Run ¶
func (_c *Query_ToRawSql_Call) Run(run func()) *Query_ToRawSql_Call
func (*Query_ToRawSql_Call) RunAndReturn ¶
func (_c *Query_ToRawSql_Call) RunAndReturn(run func() orm.ToSql) *Query_ToRawSql_Call
type Query_ToSql_Call ¶
Query_ToSql_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToSql'
func (*Query_ToSql_Call) Return ¶
func (_c *Query_ToSql_Call) Return(_a0 orm.ToSql) *Query_ToSql_Call
func (*Query_ToSql_Call) Run ¶
func (_c *Query_ToSql_Call) Run(run func()) *Query_ToSql_Call
func (*Query_ToSql_Call) RunAndReturn ¶
func (_c *Query_ToSql_Call) RunAndReturn(run func() orm.ToSql) *Query_ToSql_Call
type Query_UpdateOrCreate_Call ¶
Query_UpdateOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateOrCreate'
func (*Query_UpdateOrCreate_Call) Return ¶
func (_c *Query_UpdateOrCreate_Call) Return(_a0 error) *Query_UpdateOrCreate_Call
func (*Query_UpdateOrCreate_Call) Run ¶
func (_c *Query_UpdateOrCreate_Call) Run(run func(dest interface{}, attributes interface{}, values interface{})) *Query_UpdateOrCreate_Call
func (*Query_UpdateOrCreate_Call) RunAndReturn ¶
func (_c *Query_UpdateOrCreate_Call) RunAndReturn(run func(interface{}, interface{}, interface{}) error) *Query_UpdateOrCreate_Call
type Query_Update_Call ¶
Query_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Query_Update_Call) Return ¶
func (_c *Query_Update_Call) Return(_a0 *orm.Result, _a1 error) *Query_Update_Call
func (*Query_Update_Call) Run ¶
func (_c *Query_Update_Call) Run(run func(column interface{}, value ...interface{})) *Query_Update_Call
func (*Query_Update_Call) RunAndReturn ¶
func (_c *Query_Update_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Query_Update_Call
type Query_WhereBetween_Call ¶
Query_WhereBetween_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereBetween'
func (*Query_WhereBetween_Call) Return ¶
func (_c *Query_WhereBetween_Call) Return(_a0 orm.Query) *Query_WhereBetween_Call
func (*Query_WhereBetween_Call) Run ¶
func (_c *Query_WhereBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Query_WhereBetween_Call
func (*Query_WhereBetween_Call) RunAndReturn ¶
func (_c *Query_WhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Query_WhereBetween_Call
type Query_WhereIn_Call ¶
Query_WhereIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereIn'
func (*Query_WhereIn_Call) Return ¶
func (_c *Query_WhereIn_Call) Return(_a0 orm.Query) *Query_WhereIn_Call
func (*Query_WhereIn_Call) Run ¶
func (_c *Query_WhereIn_Call) Run(run func(column string, values []interface{})) *Query_WhereIn_Call
func (*Query_WhereIn_Call) RunAndReturn ¶
func (_c *Query_WhereIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Query_WhereIn_Call
type Query_WhereNotBetween_Call ¶
Query_WhereNotBetween_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNotBetween'
func (*Query_WhereNotBetween_Call) Return ¶
func (_c *Query_WhereNotBetween_Call) Return(_a0 orm.Query) *Query_WhereNotBetween_Call
func (*Query_WhereNotBetween_Call) Run ¶
func (_c *Query_WhereNotBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Query_WhereNotBetween_Call
func (*Query_WhereNotBetween_Call) RunAndReturn ¶
func (_c *Query_WhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Query_WhereNotBetween_Call
type Query_WhereNotIn_Call ¶
Query_WhereNotIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNotIn'
func (*Query_WhereNotIn_Call) Return ¶
func (_c *Query_WhereNotIn_Call) Return(_a0 orm.Query) *Query_WhereNotIn_Call
func (*Query_WhereNotIn_Call) Run ¶
func (_c *Query_WhereNotIn_Call) Run(run func(column string, values []interface{})) *Query_WhereNotIn_Call
func (*Query_WhereNotIn_Call) RunAndReturn ¶
func (_c *Query_WhereNotIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Query_WhereNotIn_Call
type Query_WhereNotNull_Call ¶
Query_WhereNotNull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNotNull'
func (*Query_WhereNotNull_Call) Return ¶
func (_c *Query_WhereNotNull_Call) Return(_a0 orm.Query) *Query_WhereNotNull_Call
func (*Query_WhereNotNull_Call) Run ¶
func (_c *Query_WhereNotNull_Call) Run(run func(column string)) *Query_WhereNotNull_Call
func (*Query_WhereNotNull_Call) RunAndReturn ¶
func (_c *Query_WhereNotNull_Call) RunAndReturn(run func(string) orm.Query) *Query_WhereNotNull_Call
type Query_WhereNull_Call ¶
Query_WhereNull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNull'
func (*Query_WhereNull_Call) Return ¶
func (_c *Query_WhereNull_Call) Return(_a0 orm.Query) *Query_WhereNull_Call
func (*Query_WhereNull_Call) Run ¶
func (_c *Query_WhereNull_Call) Run(run func(column string)) *Query_WhereNull_Call
func (*Query_WhereNull_Call) RunAndReturn ¶
func (_c *Query_WhereNull_Call) RunAndReturn(run func(string) orm.Query) *Query_WhereNull_Call
type Query_Where_Call ¶
Query_Where_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Where'
func (*Query_Where_Call) Return ¶
func (_c *Query_Where_Call) Return(_a0 orm.Query) *Query_Where_Call
func (*Query_Where_Call) Run ¶
func (_c *Query_Where_Call) Run(run func(query interface{}, args ...interface{})) *Query_Where_Call
func (*Query_Where_Call) RunAndReturn ¶
func (_c *Query_Where_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Query_Where_Call
type Query_WithTrashed_Call ¶
Query_WithTrashed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTrashed'
func (*Query_WithTrashed_Call) Return ¶
func (_c *Query_WithTrashed_Call) Return(_a0 orm.Query) *Query_WithTrashed_Call
func (*Query_WithTrashed_Call) Run ¶
func (_c *Query_WithTrashed_Call) Run(run func()) *Query_WithTrashed_Call
func (*Query_WithTrashed_Call) RunAndReturn ¶
func (_c *Query_WithTrashed_Call) RunAndReturn(run func() orm.Query) *Query_WithTrashed_Call
type Query_With_Call ¶
Query_With_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'With'
func (*Query_With_Call) Return ¶
func (_c *Query_With_Call) Return(_a0 orm.Query) *Query_With_Call
func (*Query_With_Call) Run ¶
func (_c *Query_With_Call) Run(run func(query string, args ...interface{})) *Query_With_Call
func (*Query_With_Call) RunAndReturn ¶
func (_c *Query_With_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_With_Call
type Query_WithoutEvents_Call ¶
Query_WithoutEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithoutEvents'
func (*Query_WithoutEvents_Call) Return ¶
func (_c *Query_WithoutEvents_Call) Return(_a0 orm.Query) *Query_WithoutEvents_Call
func (*Query_WithoutEvents_Call) Run ¶
func (_c *Query_WithoutEvents_Call) Run(run func()) *Query_WithoutEvents_Call
func (*Query_WithoutEvents_Call) RunAndReturn ¶
func (_c *Query_WithoutEvents_Call) RunAndReturn(run func() orm.Query) *Query_WithoutEvents_Call
type ToSql ¶
ToSql is an autogenerated mock type for the ToSql type
func NewToSql ¶
NewToSql creates a new instance of ToSql. 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 (*ToSql) EXPECT ¶
func (_m *ToSql) EXPECT() *ToSql_Expecter
type ToSql_Count_Call ¶
ToSql_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*ToSql_Count_Call) Return ¶
func (_c *ToSql_Count_Call) Return(_a0 string) *ToSql_Count_Call
func (*ToSql_Count_Call) Run ¶
func (_c *ToSql_Count_Call) Run(run func()) *ToSql_Count_Call
func (*ToSql_Count_Call) RunAndReturn ¶
func (_c *ToSql_Count_Call) RunAndReturn(run func() string) *ToSql_Count_Call
type ToSql_Create_Call ¶
ToSql_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*ToSql_Create_Call) Return ¶
func (_c *ToSql_Create_Call) Return(_a0 string) *ToSql_Create_Call
func (*ToSql_Create_Call) Run ¶
func (_c *ToSql_Create_Call) Run(run func(value interface{})) *ToSql_Create_Call
func (*ToSql_Create_Call) RunAndReturn ¶
func (_c *ToSql_Create_Call) RunAndReturn(run func(interface{}) string) *ToSql_Create_Call
type ToSql_Delete_Call ¶
ToSql_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*ToSql_Delete_Call) Return ¶
func (_c *ToSql_Delete_Call) Return(_a0 string) *ToSql_Delete_Call
func (*ToSql_Delete_Call) Run ¶
func (_c *ToSql_Delete_Call) Run(run func(value interface{}, conds ...interface{})) *ToSql_Delete_Call
func (*ToSql_Delete_Call) RunAndReturn ¶
func (_c *ToSql_Delete_Call) RunAndReturn(run func(interface{}, ...interface{}) string) *ToSql_Delete_Call
type ToSql_Expecter ¶
type ToSql_Expecter struct {
// contains filtered or unexported fields
}
func (*ToSql_Expecter) Count ¶
func (_e *ToSql_Expecter) Count() *ToSql_Count_Call
Count is a helper method to define mock.On call
func (*ToSql_Expecter) Create ¶
func (_e *ToSql_Expecter) Create(value interface{}) *ToSql_Create_Call
Create is a helper method to define mock.On call
- value interface{}
func (*ToSql_Expecter) Delete ¶
func (_e *ToSql_Expecter) Delete(value interface{}, conds ...interface{}) *ToSql_Delete_Call
Delete is a helper method to define mock.On call
- value interface{}
- conds ...interface{}
func (*ToSql_Expecter) Find ¶
func (_e *ToSql_Expecter) Find(dest interface{}, conds ...interface{}) *ToSql_Find_Call
Find is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*ToSql_Expecter) First ¶
func (_e *ToSql_Expecter) First(dest interface{}) *ToSql_First_Call
First is a helper method to define mock.On call
- dest interface{}
func (*ToSql_Expecter) Get ¶
func (_e *ToSql_Expecter) Get(dest interface{}) *ToSql_Get_Call
Get is a helper method to define mock.On call
- dest interface{}
func (*ToSql_Expecter) Pluck ¶
func (_e *ToSql_Expecter) Pluck(column interface{}, dest interface{}) *ToSql_Pluck_Call
Pluck is a helper method to define mock.On call
- column string
- dest interface{}
func (*ToSql_Expecter) Save ¶
func (_e *ToSql_Expecter) Save(value interface{}) *ToSql_Save_Call
Save is a helper method to define mock.On call
- value interface{}
func (*ToSql_Expecter) Sum ¶
func (_e *ToSql_Expecter) Sum(column interface{}, dest interface{}) *ToSql_Sum_Call
Sum is a helper method to define mock.On call
- column string
- dest interface{}
func (*ToSql_Expecter) Update ¶
func (_e *ToSql_Expecter) Update(column interface{}, value ...interface{}) *ToSql_Update_Call
Update is a helper method to define mock.On call
- column interface{}
- value ...interface{}
type ToSql_Find_Call ¶
ToSql_Find_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Find'
func (*ToSql_Find_Call) Return ¶
func (_c *ToSql_Find_Call) Return(_a0 string) *ToSql_Find_Call
func (*ToSql_Find_Call) Run ¶
func (_c *ToSql_Find_Call) Run(run func(dest interface{}, conds ...interface{})) *ToSql_Find_Call
func (*ToSql_Find_Call) RunAndReturn ¶
func (_c *ToSql_Find_Call) RunAndReturn(run func(interface{}, ...interface{}) string) *ToSql_Find_Call
type ToSql_First_Call ¶
ToSql_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'
func (*ToSql_First_Call) Return ¶
func (_c *ToSql_First_Call) Return(_a0 string) *ToSql_First_Call
func (*ToSql_First_Call) Run ¶
func (_c *ToSql_First_Call) Run(run func(dest interface{})) *ToSql_First_Call
func (*ToSql_First_Call) RunAndReturn ¶
func (_c *ToSql_First_Call) RunAndReturn(run func(interface{}) string) *ToSql_First_Call
type ToSql_Get_Call ¶
ToSql_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*ToSql_Get_Call) Return ¶
func (_c *ToSql_Get_Call) Return(_a0 string) *ToSql_Get_Call
func (*ToSql_Get_Call) Run ¶
func (_c *ToSql_Get_Call) Run(run func(dest interface{})) *ToSql_Get_Call
func (*ToSql_Get_Call) RunAndReturn ¶
func (_c *ToSql_Get_Call) RunAndReturn(run func(interface{}) string) *ToSql_Get_Call
type ToSql_Pluck_Call ¶
ToSql_Pluck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pluck'
func (*ToSql_Pluck_Call) Return ¶
func (_c *ToSql_Pluck_Call) Return(_a0 string) *ToSql_Pluck_Call
func (*ToSql_Pluck_Call) Run ¶
func (_c *ToSql_Pluck_Call) Run(run func(column string, dest interface{})) *ToSql_Pluck_Call
func (*ToSql_Pluck_Call) RunAndReturn ¶
func (_c *ToSql_Pluck_Call) RunAndReturn(run func(string, interface{}) string) *ToSql_Pluck_Call
type ToSql_Save_Call ¶
ToSql_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*ToSql_Save_Call) Return ¶
func (_c *ToSql_Save_Call) Return(_a0 string) *ToSql_Save_Call
func (*ToSql_Save_Call) Run ¶
func (_c *ToSql_Save_Call) Run(run func(value interface{})) *ToSql_Save_Call
func (*ToSql_Save_Call) RunAndReturn ¶
func (_c *ToSql_Save_Call) RunAndReturn(run func(interface{}) string) *ToSql_Save_Call
type ToSql_Sum_Call ¶
ToSql_Sum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sum'
func (*ToSql_Sum_Call) Return ¶
func (_c *ToSql_Sum_Call) Return(_a0 string) *ToSql_Sum_Call
func (*ToSql_Sum_Call) Run ¶
func (_c *ToSql_Sum_Call) Run(run func(column string, dest interface{})) *ToSql_Sum_Call
func (*ToSql_Sum_Call) RunAndReturn ¶
func (_c *ToSql_Sum_Call) RunAndReturn(run func(string, interface{}) string) *ToSql_Sum_Call
type ToSql_Update_Call ¶
ToSql_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*ToSql_Update_Call) Return ¶
func (_c *ToSql_Update_Call) Return(_a0 string) *ToSql_Update_Call
func (*ToSql_Update_Call) Run ¶
func (_c *ToSql_Update_Call) Run(run func(column interface{}, value ...interface{})) *ToSql_Update_Call
func (*ToSql_Update_Call) RunAndReturn ¶
func (_c *ToSql_Update_Call) RunAndReturn(run func(interface{}, ...interface{}) string) *ToSql_Update_Call
type Transaction ¶
Transaction is an autogenerated mock type for the Transaction type
func NewTransaction ¶
func NewTransaction(t interface { mock.TestingT Cleanup(func()) }) *Transaction
NewTransaction creates a new instance of Transaction. 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 (*Transaction) Association ¶
func (_m *Transaction) Association(association string) orm.Association
Association provides a mock function with given fields: association
func (*Transaction) Begin ¶
func (_m *Transaction) Begin() (orm.Transaction, error)
Begin provides a mock function with given fields:
func (*Transaction) Commit ¶
func (_m *Transaction) Commit() error
Commit provides a mock function with given fields:
func (*Transaction) Count ¶
func (_m *Transaction) Count(count *int64) error
Count provides a mock function with given fields: count
func (*Transaction) Create ¶
func (_m *Transaction) Create(value interface{}) error
Create provides a mock function with given fields: value
func (*Transaction) Cursor ¶
func (_m *Transaction) Cursor() (chan orm.Cursor, error)
Cursor provides a mock function with given fields:
func (*Transaction) Delete ¶
func (_m *Transaction) Delete(value interface{}, conds ...interface{}) (*orm.Result, error)
Delete provides a mock function with given fields: value, conds
func (*Transaction) Distinct ¶
func (_m *Transaction) Distinct(args ...interface{}) orm.Query
Distinct provides a mock function with given fields: args
func (*Transaction) Driver ¶
func (_m *Transaction) Driver() orm.Driver
Driver provides a mock function with given fields:
func (*Transaction) EXPECT ¶
func (_m *Transaction) EXPECT() *Transaction_Expecter
func (*Transaction) Exec ¶
func (_m *Transaction) Exec(sql string, values ...interface{}) (*orm.Result, error)
Exec provides a mock function with given fields: sql, values
func (*Transaction) Exists ¶
func (_m *Transaction) Exists(exists *bool) error
Exists provides a mock function with given fields: exists
func (*Transaction) Find ¶
func (_m *Transaction) Find(dest interface{}, conds ...interface{}) error
Find provides a mock function with given fields: dest, conds
func (*Transaction) FindOrFail ¶
func (_m *Transaction) FindOrFail(dest interface{}, conds ...interface{}) error
FindOrFail provides a mock function with given fields: dest, conds
func (*Transaction) First ¶
func (_m *Transaction) First(dest interface{}) error
First provides a mock function with given fields: dest
func (*Transaction) FirstOr ¶
func (_m *Transaction) FirstOr(dest interface{}, callback func() error) error
FirstOr provides a mock function with given fields: dest, callback
func (*Transaction) FirstOrCreate ¶
func (_m *Transaction) FirstOrCreate(dest interface{}, conds ...interface{}) error
FirstOrCreate provides a mock function with given fields: dest, conds
func (*Transaction) FirstOrFail ¶
func (_m *Transaction) FirstOrFail(dest interface{}) error
FirstOrFail provides a mock function with given fields: dest
func (*Transaction) FirstOrNew ¶
func (_m *Transaction) FirstOrNew(dest interface{}, attributes interface{}, values ...interface{}) error
FirstOrNew provides a mock function with given fields: dest, attributes, values
func (*Transaction) ForceDelete ¶
func (_m *Transaction) ForceDelete(value interface{}, conds ...interface{}) (*orm.Result, error)
ForceDelete provides a mock function with given fields: value, conds
func (*Transaction) Get ¶
func (_m *Transaction) Get(dest interface{}) error
Get provides a mock function with given fields: dest
func (*Transaction) Group ¶
func (_m *Transaction) Group(name string) orm.Query
Group provides a mock function with given fields: name
func (*Transaction) Having ¶
func (_m *Transaction) Having(query interface{}, args ...interface{}) orm.Query
Having provides a mock function with given fields: query, args
func (*Transaction) InRandomOrder ¶
func (_m *Transaction) InRandomOrder() orm.Query
InRandomOrder provides a mock function with given fields:
func (*Transaction) Join ¶
func (_m *Transaction) Join(query string, args ...interface{}) orm.Query
Join provides a mock function with given fields: query, args
func (*Transaction) Limit ¶
func (_m *Transaction) Limit(limit int) orm.Query
Limit provides a mock function with given fields: limit
func (*Transaction) Load ¶
func (_m *Transaction) Load(dest interface{}, relation string, args ...interface{}) error
Load provides a mock function with given fields: dest, relation, args
func (*Transaction) LoadMissing ¶
func (_m *Transaction) LoadMissing(dest interface{}, relation string, args ...interface{}) error
LoadMissing provides a mock function with given fields: dest, relation, args
func (*Transaction) LockForUpdate ¶
func (_m *Transaction) LockForUpdate() orm.Query
LockForUpdate provides a mock function with given fields:
func (*Transaction) Model ¶
func (_m *Transaction) Model(value interface{}) orm.Query
Model provides a mock function with given fields: value
func (*Transaction) Offset ¶
func (_m *Transaction) Offset(offset int) orm.Query
Offset provides a mock function with given fields: offset
func (*Transaction) Omit ¶
func (_m *Transaction) Omit(columns ...string) orm.Query
Omit provides a mock function with given fields: columns
func (*Transaction) OrWhere ¶
func (_m *Transaction) OrWhere(query interface{}, args ...interface{}) orm.Query
OrWhere provides a mock function with given fields: query, args
func (*Transaction) OrWhereBetween ¶
func (_m *Transaction) OrWhereBetween(column string, x interface{}, y interface{}) orm.Query
OrWhereBetween provides a mock function with given fields: column, x, y
func (*Transaction) OrWhereIn ¶
func (_m *Transaction) OrWhereIn(column string, values []interface{}) orm.Query
OrWhereIn provides a mock function with given fields: column, values
func (*Transaction) OrWhereNotBetween ¶
func (_m *Transaction) OrWhereNotBetween(column string, x interface{}, y interface{}) orm.Query
OrWhereNotBetween provides a mock function with given fields: column, x, y
func (*Transaction) OrWhereNotIn ¶
func (_m *Transaction) OrWhereNotIn(column string, values []interface{}) orm.Query
OrWhereNotIn provides a mock function with given fields: column, values
func (*Transaction) OrWhereNull ¶
func (_m *Transaction) OrWhereNull(column string) orm.Query
OrWhereNull provides a mock function with given fields: column
func (*Transaction) Order ¶
func (_m *Transaction) Order(value interface{}) orm.Query
Order provides a mock function with given fields: value
func (*Transaction) OrderBy ¶
func (_m *Transaction) OrderBy(column string, direction ...string) orm.Query
OrderBy provides a mock function with given fields: column, direction
func (*Transaction) OrderByDesc ¶
func (_m *Transaction) OrderByDesc(column string) orm.Query
OrderByDesc provides a mock function with given fields: column
func (*Transaction) Paginate ¶
func (_m *Transaction) Paginate(page int, limit int, dest interface{}, total *int64) error
Paginate provides a mock function with given fields: page, limit, dest, total
func (*Transaction) Pluck ¶
func (_m *Transaction) Pluck(column string, dest interface{}) error
Pluck provides a mock function with given fields: column, dest
func (*Transaction) Raw ¶
func (_m *Transaction) Raw(sql string, values ...interface{}) orm.Query
Raw provides a mock function with given fields: sql, values
func (*Transaction) Rollback ¶
func (_m *Transaction) Rollback() error
Rollback provides a mock function with given fields:
func (*Transaction) Save ¶
func (_m *Transaction) Save(value interface{}) error
Save provides a mock function with given fields: value
func (*Transaction) SaveQuietly ¶
func (_m *Transaction) SaveQuietly(value interface{}) error
SaveQuietly provides a mock function with given fields: value
func (*Transaction) Scan ¶
func (_m *Transaction) Scan(dest interface{}) error
Scan provides a mock function with given fields: dest
func (*Transaction) Select ¶
func (_m *Transaction) Select(query interface{}, args ...interface{}) orm.Query
Select provides a mock function with given fields: query, args
func (*Transaction) SharedLock ¶
func (_m *Transaction) SharedLock() orm.Query
SharedLock provides a mock function with given fields:
func (*Transaction) Sum ¶
func (_m *Transaction) Sum(column string, dest interface{}) error
Sum provides a mock function with given fields: column, dest
func (*Transaction) Table ¶
func (_m *Transaction) Table(name string, args ...interface{}) orm.Query
Table provides a mock function with given fields: name, args
func (*Transaction) ToRawSql ¶
func (_m *Transaction) ToRawSql() orm.ToSql
ToRawSql provides a mock function with given fields:
func (*Transaction) ToSql ¶
func (_m *Transaction) ToSql() orm.ToSql
ToSql provides a mock function with given fields:
func (*Transaction) Update ¶
func (_m *Transaction) Update(column interface{}, value ...interface{}) (*orm.Result, error)
Update provides a mock function with given fields: column, value
func (*Transaction) UpdateOrCreate ¶
func (_m *Transaction) UpdateOrCreate(dest interface{}, attributes interface{}, values interface{}) error
UpdateOrCreate provides a mock function with given fields: dest, attributes, values
func (*Transaction) Where ¶
func (_m *Transaction) Where(query interface{}, args ...interface{}) orm.Query
Where provides a mock function with given fields: query, args
func (*Transaction) WhereBetween ¶
func (_m *Transaction) WhereBetween(column string, x interface{}, y interface{}) orm.Query
WhereBetween provides a mock function with given fields: column, x, y
func (*Transaction) WhereIn ¶
func (_m *Transaction) WhereIn(column string, values []interface{}) orm.Query
WhereIn provides a mock function with given fields: column, values
func (*Transaction) WhereNotBetween ¶
func (_m *Transaction) WhereNotBetween(column string, x interface{}, y interface{}) orm.Query
WhereNotBetween provides a mock function with given fields: column, x, y
func (*Transaction) WhereNotIn ¶
func (_m *Transaction) WhereNotIn(column string, values []interface{}) orm.Query
WhereNotIn provides a mock function with given fields: column, values
func (*Transaction) WhereNotNull ¶
func (_m *Transaction) WhereNotNull(column string) orm.Query
WhereNotNull provides a mock function with given fields: column
func (*Transaction) WhereNull ¶
func (_m *Transaction) WhereNull(column string) orm.Query
WhereNull provides a mock function with given fields: column
func (*Transaction) With ¶
func (_m *Transaction) With(query string, args ...interface{}) orm.Query
With provides a mock function with given fields: query, args
func (*Transaction) WithTrashed ¶
func (_m *Transaction) WithTrashed() orm.Query
WithTrashed provides a mock function with given fields:
func (*Transaction) WithoutEvents ¶
func (_m *Transaction) WithoutEvents() orm.Query
WithoutEvents provides a mock function with given fields:
type Transaction_Association_Call ¶
Transaction_Association_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Association'
func (*Transaction_Association_Call) Return ¶
func (_c *Transaction_Association_Call) Return(_a0 orm.Association) *Transaction_Association_Call
func (*Transaction_Association_Call) Run ¶
func (_c *Transaction_Association_Call) Run(run func(association string)) *Transaction_Association_Call
func (*Transaction_Association_Call) RunAndReturn ¶
func (_c *Transaction_Association_Call) RunAndReturn(run func(string) orm.Association) *Transaction_Association_Call
type Transaction_Begin_Call ¶
Transaction_Begin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Begin'
func (*Transaction_Begin_Call) Return ¶
func (_c *Transaction_Begin_Call) Return(_a0 orm.Transaction, _a1 error) *Transaction_Begin_Call
func (*Transaction_Begin_Call) Run ¶
func (_c *Transaction_Begin_Call) Run(run func()) *Transaction_Begin_Call
func (*Transaction_Begin_Call) RunAndReturn ¶
func (_c *Transaction_Begin_Call) RunAndReturn(run func() (orm.Transaction, error)) *Transaction_Begin_Call
type Transaction_Commit_Call ¶
Transaction_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*Transaction_Commit_Call) Return ¶
func (_c *Transaction_Commit_Call) Return(_a0 error) *Transaction_Commit_Call
func (*Transaction_Commit_Call) Run ¶
func (_c *Transaction_Commit_Call) Run(run func()) *Transaction_Commit_Call
func (*Transaction_Commit_Call) RunAndReturn ¶
func (_c *Transaction_Commit_Call) RunAndReturn(run func() error) *Transaction_Commit_Call
type Transaction_Count_Call ¶
Transaction_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*Transaction_Count_Call) Return ¶
func (_c *Transaction_Count_Call) Return(_a0 error) *Transaction_Count_Call
func (*Transaction_Count_Call) Run ¶
func (_c *Transaction_Count_Call) Run(run func(count *int64)) *Transaction_Count_Call
func (*Transaction_Count_Call) RunAndReturn ¶
func (_c *Transaction_Count_Call) RunAndReturn(run func(*int64) error) *Transaction_Count_Call
type Transaction_Create_Call ¶
Transaction_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Transaction_Create_Call) Return ¶
func (_c *Transaction_Create_Call) Return(_a0 error) *Transaction_Create_Call
func (*Transaction_Create_Call) Run ¶
func (_c *Transaction_Create_Call) Run(run func(value interface{})) *Transaction_Create_Call
func (*Transaction_Create_Call) RunAndReturn ¶
func (_c *Transaction_Create_Call) RunAndReturn(run func(interface{}) error) *Transaction_Create_Call
type Transaction_Cursor_Call ¶
Transaction_Cursor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cursor'
func (*Transaction_Cursor_Call) Return ¶
func (_c *Transaction_Cursor_Call) Return(_a0 chan orm.Cursor, _a1 error) *Transaction_Cursor_Call
func (*Transaction_Cursor_Call) Run ¶
func (_c *Transaction_Cursor_Call) Run(run func()) *Transaction_Cursor_Call
func (*Transaction_Cursor_Call) RunAndReturn ¶
func (_c *Transaction_Cursor_Call) RunAndReturn(run func() (chan orm.Cursor, error)) *Transaction_Cursor_Call
type Transaction_Delete_Call ¶
Transaction_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Transaction_Delete_Call) Return ¶
func (_c *Transaction_Delete_Call) Return(_a0 *orm.Result, _a1 error) *Transaction_Delete_Call
func (*Transaction_Delete_Call) Run ¶
func (_c *Transaction_Delete_Call) Run(run func(value interface{}, conds ...interface{})) *Transaction_Delete_Call
func (*Transaction_Delete_Call) RunAndReturn ¶
func (_c *Transaction_Delete_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Transaction_Delete_Call
type Transaction_Distinct_Call ¶
Transaction_Distinct_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Distinct'
func (*Transaction_Distinct_Call) Return ¶
func (_c *Transaction_Distinct_Call) Return(_a0 orm.Query) *Transaction_Distinct_Call
func (*Transaction_Distinct_Call) Run ¶
func (_c *Transaction_Distinct_Call) Run(run func(args ...interface{})) *Transaction_Distinct_Call
func (*Transaction_Distinct_Call) RunAndReturn ¶
func (_c *Transaction_Distinct_Call) RunAndReturn(run func(...interface{}) orm.Query) *Transaction_Distinct_Call
type Transaction_Driver_Call ¶
Transaction_Driver_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Driver'
func (*Transaction_Driver_Call) Return ¶
func (_c *Transaction_Driver_Call) Return(_a0 orm.Driver) *Transaction_Driver_Call
func (*Transaction_Driver_Call) Run ¶
func (_c *Transaction_Driver_Call) Run(run func()) *Transaction_Driver_Call
func (*Transaction_Driver_Call) RunAndReturn ¶
func (_c *Transaction_Driver_Call) RunAndReturn(run func() orm.Driver) *Transaction_Driver_Call
type Transaction_Exec_Call ¶
Transaction_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*Transaction_Exec_Call) Return ¶
func (_c *Transaction_Exec_Call) Return(_a0 *orm.Result, _a1 error) *Transaction_Exec_Call
func (*Transaction_Exec_Call) Run ¶
func (_c *Transaction_Exec_Call) Run(run func(sql string, values ...interface{})) *Transaction_Exec_Call
func (*Transaction_Exec_Call) RunAndReturn ¶
func (_c *Transaction_Exec_Call) RunAndReturn(run func(string, ...interface{}) (*orm.Result, error)) *Transaction_Exec_Call
type Transaction_Exists_Call ¶
Transaction_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*Transaction_Exists_Call) Return ¶
func (_c *Transaction_Exists_Call) Return(_a0 error) *Transaction_Exists_Call
func (*Transaction_Exists_Call) Run ¶
func (_c *Transaction_Exists_Call) Run(run func(exists *bool)) *Transaction_Exists_Call
func (*Transaction_Exists_Call) RunAndReturn ¶
func (_c *Transaction_Exists_Call) RunAndReturn(run func(*bool) error) *Transaction_Exists_Call
type Transaction_Expecter ¶
type Transaction_Expecter struct {
// contains filtered or unexported fields
}
func (*Transaction_Expecter) Association ¶
func (_e *Transaction_Expecter) Association(association interface{}) *Transaction_Association_Call
Association is a helper method to define mock.On call
- association string
func (*Transaction_Expecter) Begin ¶
func (_e *Transaction_Expecter) Begin() *Transaction_Begin_Call
Begin is a helper method to define mock.On call
func (*Transaction_Expecter) Commit ¶
func (_e *Transaction_Expecter) Commit() *Transaction_Commit_Call
Commit is a helper method to define mock.On call
func (*Transaction_Expecter) Count ¶
func (_e *Transaction_Expecter) Count(count interface{}) *Transaction_Count_Call
Count is a helper method to define mock.On call
- count *int64
func (*Transaction_Expecter) Create ¶
func (_e *Transaction_Expecter) Create(value interface{}) *Transaction_Create_Call
Create is a helper method to define mock.On call
- value interface{}
func (*Transaction_Expecter) Cursor ¶
func (_e *Transaction_Expecter) Cursor() *Transaction_Cursor_Call
Cursor is a helper method to define mock.On call
func (*Transaction_Expecter) Delete ¶
func (_e *Transaction_Expecter) Delete(value interface{}, conds ...interface{}) *Transaction_Delete_Call
Delete is a helper method to define mock.On call
- value interface{}
- conds ...interface{}
func (*Transaction_Expecter) Distinct ¶
func (_e *Transaction_Expecter) Distinct(args ...interface{}) *Transaction_Distinct_Call
Distinct is a helper method to define mock.On call
- args ...interface{}
func (*Transaction_Expecter) Driver ¶
func (_e *Transaction_Expecter) Driver() *Transaction_Driver_Call
Driver is a helper method to define mock.On call
func (*Transaction_Expecter) Exec ¶
func (_e *Transaction_Expecter) Exec(sql interface{}, values ...interface{}) *Transaction_Exec_Call
Exec is a helper method to define mock.On call
- sql string
- values ...interface{}
func (*Transaction_Expecter) Exists ¶
func (_e *Transaction_Expecter) Exists(exists interface{}) *Transaction_Exists_Call
Exists is a helper method to define mock.On call
- exists *bool
func (*Transaction_Expecter) Find ¶
func (_e *Transaction_Expecter) Find(dest interface{}, conds ...interface{}) *Transaction_Find_Call
Find is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*Transaction_Expecter) FindOrFail ¶
func (_e *Transaction_Expecter) FindOrFail(dest interface{}, conds ...interface{}) *Transaction_FindOrFail_Call
FindOrFail is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*Transaction_Expecter) First ¶
func (_e *Transaction_Expecter) First(dest interface{}) *Transaction_First_Call
First is a helper method to define mock.On call
- dest interface{}
func (*Transaction_Expecter) FirstOr ¶
func (_e *Transaction_Expecter) FirstOr(dest interface{}, callback interface{}) *Transaction_FirstOr_Call
FirstOr is a helper method to define mock.On call
- dest interface{}
- callback func() error
func (*Transaction_Expecter) FirstOrCreate ¶
func (_e *Transaction_Expecter) FirstOrCreate(dest interface{}, conds ...interface{}) *Transaction_FirstOrCreate_Call
FirstOrCreate is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*Transaction_Expecter) FirstOrFail ¶
func (_e *Transaction_Expecter) FirstOrFail(dest interface{}) *Transaction_FirstOrFail_Call
FirstOrFail is a helper method to define mock.On call
- dest interface{}
func (*Transaction_Expecter) FirstOrNew ¶
func (_e *Transaction_Expecter) FirstOrNew(dest interface{}, attributes interface{}, values ...interface{}) *Transaction_FirstOrNew_Call
FirstOrNew is a helper method to define mock.On call
- dest interface{}
- attributes interface{}
- values ...interface{}
func (*Transaction_Expecter) ForceDelete ¶
func (_e *Transaction_Expecter) ForceDelete(value interface{}, conds ...interface{}) *Transaction_ForceDelete_Call
ForceDelete is a helper method to define mock.On call
- value interface{}
- conds ...interface{}
func (*Transaction_Expecter) Get ¶
func (_e *Transaction_Expecter) Get(dest interface{}) *Transaction_Get_Call
Get is a helper method to define mock.On call
- dest interface{}
func (*Transaction_Expecter) Group ¶
func (_e *Transaction_Expecter) Group(name interface{}) *Transaction_Group_Call
Group is a helper method to define mock.On call
- name string
func (*Transaction_Expecter) Having ¶
func (_e *Transaction_Expecter) Having(query interface{}, args ...interface{}) *Transaction_Having_Call
Having is a helper method to define mock.On call
- query interface{}
- args ...interface{}
func (*Transaction_Expecter) InRandomOrder ¶
func (_e *Transaction_Expecter) InRandomOrder() *Transaction_InRandomOrder_Call
InRandomOrder is a helper method to define mock.On call
func (*Transaction_Expecter) Join ¶
func (_e *Transaction_Expecter) Join(query interface{}, args ...interface{}) *Transaction_Join_Call
Join is a helper method to define mock.On call
- query string
- args ...interface{}
func (*Transaction_Expecter) Limit ¶
func (_e *Transaction_Expecter) Limit(limit interface{}) *Transaction_Limit_Call
Limit is a helper method to define mock.On call
- limit int
func (*Transaction_Expecter) Load ¶
func (_e *Transaction_Expecter) Load(dest interface{}, relation interface{}, args ...interface{}) *Transaction_Load_Call
Load is a helper method to define mock.On call
- dest interface{}
- relation string
- args ...interface{}
func (*Transaction_Expecter) LoadMissing ¶
func (_e *Transaction_Expecter) LoadMissing(dest interface{}, relation interface{}, args ...interface{}) *Transaction_LoadMissing_Call
LoadMissing is a helper method to define mock.On call
- dest interface{}
- relation string
- args ...interface{}
func (*Transaction_Expecter) LockForUpdate ¶
func (_e *Transaction_Expecter) LockForUpdate() *Transaction_LockForUpdate_Call
LockForUpdate is a helper method to define mock.On call
func (*Transaction_Expecter) Model ¶
func (_e *Transaction_Expecter) Model(value interface{}) *Transaction_Model_Call
Model is a helper method to define mock.On call
- value interface{}
func (*Transaction_Expecter) Offset ¶
func (_e *Transaction_Expecter) Offset(offset interface{}) *Transaction_Offset_Call
Offset is a helper method to define mock.On call
- offset int
func (*Transaction_Expecter) Omit ¶
func (_e *Transaction_Expecter) Omit(columns ...interface{}) *Transaction_Omit_Call
Omit is a helper method to define mock.On call
- columns ...string
func (*Transaction_Expecter) OrWhere ¶
func (_e *Transaction_Expecter) OrWhere(query interface{}, args ...interface{}) *Transaction_OrWhere_Call
OrWhere is a helper method to define mock.On call
- query interface{}
- args ...interface{}
func (*Transaction_Expecter) OrWhereBetween ¶
func (_e *Transaction_Expecter) OrWhereBetween(column interface{}, x interface{}, y interface{}) *Transaction_OrWhereBetween_Call
OrWhereBetween is a helper method to define mock.On call
- column string
- x interface{}
- y interface{}
func (*Transaction_Expecter) OrWhereIn ¶
func (_e *Transaction_Expecter) OrWhereIn(column interface{}, values interface{}) *Transaction_OrWhereIn_Call
OrWhereIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*Transaction_Expecter) OrWhereNotBetween ¶
func (_e *Transaction_Expecter) OrWhereNotBetween(column interface{}, x interface{}, y interface{}) *Transaction_OrWhereNotBetween_Call
OrWhereNotBetween is a helper method to define mock.On call
- column string
- x interface{}
- y interface{}
func (*Transaction_Expecter) OrWhereNotIn ¶
func (_e *Transaction_Expecter) OrWhereNotIn(column interface{}, values interface{}) *Transaction_OrWhereNotIn_Call
OrWhereNotIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*Transaction_Expecter) OrWhereNull ¶
func (_e *Transaction_Expecter) OrWhereNull(column interface{}) *Transaction_OrWhereNull_Call
OrWhereNull is a helper method to define mock.On call
- column string
func (*Transaction_Expecter) Order ¶
func (_e *Transaction_Expecter) Order(value interface{}) *Transaction_Order_Call
Order is a helper method to define mock.On call
- value interface{}
func (*Transaction_Expecter) OrderBy ¶
func (_e *Transaction_Expecter) OrderBy(column interface{}, direction ...interface{}) *Transaction_OrderBy_Call
OrderBy is a helper method to define mock.On call
- column string
- direction ...string
func (*Transaction_Expecter) OrderByDesc ¶
func (_e *Transaction_Expecter) OrderByDesc(column interface{}) *Transaction_OrderByDesc_Call
OrderByDesc is a helper method to define mock.On call
- column string
func (*Transaction_Expecter) Paginate ¶
func (_e *Transaction_Expecter) Paginate(page interface{}, limit interface{}, dest interface{}, total interface{}) *Transaction_Paginate_Call
Paginate is a helper method to define mock.On call
- page int
- limit int
- dest interface{}
- total *int64
func (*Transaction_Expecter) Pluck ¶
func (_e *Transaction_Expecter) Pluck(column interface{}, dest interface{}) *Transaction_Pluck_Call
Pluck is a helper method to define mock.On call
- column string
- dest interface{}
func (*Transaction_Expecter) Raw ¶
func (_e *Transaction_Expecter) Raw(sql interface{}, values ...interface{}) *Transaction_Raw_Call
Raw is a helper method to define mock.On call
- sql string
- values ...interface{}
func (*Transaction_Expecter) Rollback ¶
func (_e *Transaction_Expecter) Rollback() *Transaction_Rollback_Call
Rollback is a helper method to define mock.On call
func (*Transaction_Expecter) Save ¶
func (_e *Transaction_Expecter) Save(value interface{}) *Transaction_Save_Call
Save is a helper method to define mock.On call
- value interface{}
func (*Transaction_Expecter) SaveQuietly ¶
func (_e *Transaction_Expecter) SaveQuietly(value interface{}) *Transaction_SaveQuietly_Call
SaveQuietly is a helper method to define mock.On call
- value interface{}
func (*Transaction_Expecter) Scan ¶
func (_e *Transaction_Expecter) Scan(dest interface{}) *Transaction_Scan_Call
Scan is a helper method to define mock.On call
- dest interface{}
func (*Transaction_Expecter) Scopes ¶
func (_e *Transaction_Expecter) Scopes(funcs ...interface{}) *Transaction_Scopes_Call
Scopes is a helper method to define mock.On call
- funcs ...func(orm.Query) orm.Query
func (*Transaction_Expecter) Select ¶
func (_e *Transaction_Expecter) Select(query interface{}, args ...interface{}) *Transaction_Select_Call
Select is a helper method to define mock.On call
- query interface{}
- args ...interface{}
func (*Transaction_Expecter) SharedLock ¶
func (_e *Transaction_Expecter) SharedLock() *Transaction_SharedLock_Call
SharedLock is a helper method to define mock.On call
func (*Transaction_Expecter) Sum ¶
func (_e *Transaction_Expecter) Sum(column interface{}, dest interface{}) *Transaction_Sum_Call
Sum is a helper method to define mock.On call
- column string
- dest interface{}
func (*Transaction_Expecter) Table ¶
func (_e *Transaction_Expecter) Table(name interface{}, args ...interface{}) *Transaction_Table_Call
Table is a helper method to define mock.On call
- name string
- args ...interface{}
func (*Transaction_Expecter) ToRawSql ¶
func (_e *Transaction_Expecter) ToRawSql() *Transaction_ToRawSql_Call
ToRawSql is a helper method to define mock.On call
func (*Transaction_Expecter) ToSql ¶
func (_e *Transaction_Expecter) ToSql() *Transaction_ToSql_Call
ToSql is a helper method to define mock.On call
func (*Transaction_Expecter) Update ¶
func (_e *Transaction_Expecter) Update(column interface{}, value ...interface{}) *Transaction_Update_Call
Update is a helper method to define mock.On call
- column interface{}
- value ...interface{}
func (*Transaction_Expecter) UpdateOrCreate ¶
func (_e *Transaction_Expecter) UpdateOrCreate(dest interface{}, attributes interface{}, values interface{}) *Transaction_UpdateOrCreate_Call
UpdateOrCreate is a helper method to define mock.On call
- dest interface{}
- attributes interface{}
- values interface{}
func (*Transaction_Expecter) Where ¶
func (_e *Transaction_Expecter) Where(query interface{}, args ...interface{}) *Transaction_Where_Call
Where is a helper method to define mock.On call
- query interface{}
- args ...interface{}
func (*Transaction_Expecter) WhereBetween ¶
func (_e *Transaction_Expecter) WhereBetween(column interface{}, x interface{}, y interface{}) *Transaction_WhereBetween_Call
WhereBetween is a helper method to define mock.On call
- column string
- x interface{}
- y interface{}
func (*Transaction_Expecter) WhereIn ¶
func (_e *Transaction_Expecter) WhereIn(column interface{}, values interface{}) *Transaction_WhereIn_Call
WhereIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*Transaction_Expecter) WhereNotBetween ¶
func (_e *Transaction_Expecter) WhereNotBetween(column interface{}, x interface{}, y interface{}) *Transaction_WhereNotBetween_Call
WhereNotBetween is a helper method to define mock.On call
- column string
- x interface{}
- y interface{}
func (*Transaction_Expecter) WhereNotIn ¶
func (_e *Transaction_Expecter) WhereNotIn(column interface{}, values interface{}) *Transaction_WhereNotIn_Call
WhereNotIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*Transaction_Expecter) WhereNotNull ¶
func (_e *Transaction_Expecter) WhereNotNull(column interface{}) *Transaction_WhereNotNull_Call
WhereNotNull is a helper method to define mock.On call
- column string
func (*Transaction_Expecter) WhereNull ¶
func (_e *Transaction_Expecter) WhereNull(column interface{}) *Transaction_WhereNull_Call
WhereNull is a helper method to define mock.On call
- column string
func (*Transaction_Expecter) With ¶
func (_e *Transaction_Expecter) With(query interface{}, args ...interface{}) *Transaction_With_Call
With is a helper method to define mock.On call
- query string
- args ...interface{}
func (*Transaction_Expecter) WithTrashed ¶
func (_e *Transaction_Expecter) WithTrashed() *Transaction_WithTrashed_Call
WithTrashed is a helper method to define mock.On call
func (*Transaction_Expecter) WithoutEvents ¶
func (_e *Transaction_Expecter) WithoutEvents() *Transaction_WithoutEvents_Call
WithoutEvents is a helper method to define mock.On call
type Transaction_FindOrFail_Call ¶
Transaction_FindOrFail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOrFail'
func (*Transaction_FindOrFail_Call) Return ¶
func (_c *Transaction_FindOrFail_Call) Return(_a0 error) *Transaction_FindOrFail_Call
func (*Transaction_FindOrFail_Call) Run ¶
func (_c *Transaction_FindOrFail_Call) Run(run func(dest interface{}, conds ...interface{})) *Transaction_FindOrFail_Call
func (*Transaction_FindOrFail_Call) RunAndReturn ¶
func (_c *Transaction_FindOrFail_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Transaction_FindOrFail_Call
type Transaction_Find_Call ¶
Transaction_Find_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Find'
func (*Transaction_Find_Call) Return ¶
func (_c *Transaction_Find_Call) Return(_a0 error) *Transaction_Find_Call
func (*Transaction_Find_Call) Run ¶
func (_c *Transaction_Find_Call) Run(run func(dest interface{}, conds ...interface{})) *Transaction_Find_Call
func (*Transaction_Find_Call) RunAndReturn ¶
func (_c *Transaction_Find_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Transaction_Find_Call
type Transaction_FirstOrCreate_Call ¶
Transaction_FirstOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrCreate'
func (*Transaction_FirstOrCreate_Call) Return ¶
func (_c *Transaction_FirstOrCreate_Call) Return(_a0 error) *Transaction_FirstOrCreate_Call
func (*Transaction_FirstOrCreate_Call) Run ¶
func (_c *Transaction_FirstOrCreate_Call) Run(run func(dest interface{}, conds ...interface{})) *Transaction_FirstOrCreate_Call
func (*Transaction_FirstOrCreate_Call) RunAndReturn ¶
func (_c *Transaction_FirstOrCreate_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Transaction_FirstOrCreate_Call
type Transaction_FirstOrFail_Call ¶
Transaction_FirstOrFail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrFail'
func (*Transaction_FirstOrFail_Call) Return ¶
func (_c *Transaction_FirstOrFail_Call) Return(_a0 error) *Transaction_FirstOrFail_Call
func (*Transaction_FirstOrFail_Call) Run ¶
func (_c *Transaction_FirstOrFail_Call) Run(run func(dest interface{})) *Transaction_FirstOrFail_Call
func (*Transaction_FirstOrFail_Call) RunAndReturn ¶
func (_c *Transaction_FirstOrFail_Call) RunAndReturn(run func(interface{}) error) *Transaction_FirstOrFail_Call
type Transaction_FirstOrNew_Call ¶
Transaction_FirstOrNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrNew'
func (*Transaction_FirstOrNew_Call) Return ¶
func (_c *Transaction_FirstOrNew_Call) Return(_a0 error) *Transaction_FirstOrNew_Call
func (*Transaction_FirstOrNew_Call) Run ¶
func (_c *Transaction_FirstOrNew_Call) Run(run func(dest interface{}, attributes interface{}, values ...interface{})) *Transaction_FirstOrNew_Call
func (*Transaction_FirstOrNew_Call) RunAndReturn ¶
func (_c *Transaction_FirstOrNew_Call) RunAndReturn(run func(interface{}, interface{}, ...interface{}) error) *Transaction_FirstOrNew_Call
type Transaction_FirstOr_Call ¶
Transaction_FirstOr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOr'
func (*Transaction_FirstOr_Call) Return ¶
func (_c *Transaction_FirstOr_Call) Return(_a0 error) *Transaction_FirstOr_Call
func (*Transaction_FirstOr_Call) Run ¶
func (_c *Transaction_FirstOr_Call) Run(run func(dest interface{}, callback func() error)) *Transaction_FirstOr_Call
func (*Transaction_FirstOr_Call) RunAndReturn ¶
func (_c *Transaction_FirstOr_Call) RunAndReturn(run func(interface{}, func() error) error) *Transaction_FirstOr_Call
type Transaction_First_Call ¶
Transaction_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'
func (*Transaction_First_Call) Return ¶
func (_c *Transaction_First_Call) Return(_a0 error) *Transaction_First_Call
func (*Transaction_First_Call) Run ¶
func (_c *Transaction_First_Call) Run(run func(dest interface{})) *Transaction_First_Call
func (*Transaction_First_Call) RunAndReturn ¶
func (_c *Transaction_First_Call) RunAndReturn(run func(interface{}) error) *Transaction_First_Call
type Transaction_ForceDelete_Call ¶
Transaction_ForceDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceDelete'
func (*Transaction_ForceDelete_Call) Return ¶
func (_c *Transaction_ForceDelete_Call) Return(_a0 *orm.Result, _a1 error) *Transaction_ForceDelete_Call
func (*Transaction_ForceDelete_Call) Run ¶
func (_c *Transaction_ForceDelete_Call) Run(run func(value interface{}, conds ...interface{})) *Transaction_ForceDelete_Call
func (*Transaction_ForceDelete_Call) RunAndReturn ¶
func (_c *Transaction_ForceDelete_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Transaction_ForceDelete_Call
type Transaction_Get_Call ¶
Transaction_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Transaction_Get_Call) Return ¶
func (_c *Transaction_Get_Call) Return(_a0 error) *Transaction_Get_Call
func (*Transaction_Get_Call) Run ¶
func (_c *Transaction_Get_Call) Run(run func(dest interface{})) *Transaction_Get_Call
func (*Transaction_Get_Call) RunAndReturn ¶
func (_c *Transaction_Get_Call) RunAndReturn(run func(interface{}) error) *Transaction_Get_Call
type Transaction_Group_Call ¶
Transaction_Group_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Group'
func (*Transaction_Group_Call) Return ¶
func (_c *Transaction_Group_Call) Return(_a0 orm.Query) *Transaction_Group_Call
func (*Transaction_Group_Call) Run ¶
func (_c *Transaction_Group_Call) Run(run func(name string)) *Transaction_Group_Call
func (*Transaction_Group_Call) RunAndReturn ¶
func (_c *Transaction_Group_Call) RunAndReturn(run func(string) orm.Query) *Transaction_Group_Call
type Transaction_Having_Call ¶
Transaction_Having_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Having'
func (*Transaction_Having_Call) Return ¶
func (_c *Transaction_Having_Call) Return(_a0 orm.Query) *Transaction_Having_Call
func (*Transaction_Having_Call) Run ¶
func (_c *Transaction_Having_Call) Run(run func(query interface{}, args ...interface{})) *Transaction_Having_Call
func (*Transaction_Having_Call) RunAndReturn ¶
func (_c *Transaction_Having_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Transaction_Having_Call
type Transaction_InRandomOrder_Call ¶
Transaction_InRandomOrder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InRandomOrder'
func (*Transaction_InRandomOrder_Call) Return ¶
func (_c *Transaction_InRandomOrder_Call) Return(_a0 orm.Query) *Transaction_InRandomOrder_Call
func (*Transaction_InRandomOrder_Call) Run ¶
func (_c *Transaction_InRandomOrder_Call) Run(run func()) *Transaction_InRandomOrder_Call
func (*Transaction_InRandomOrder_Call) RunAndReturn ¶
func (_c *Transaction_InRandomOrder_Call) RunAndReturn(run func() orm.Query) *Transaction_InRandomOrder_Call
type Transaction_Join_Call ¶
Transaction_Join_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Join'
func (*Transaction_Join_Call) Return ¶
func (_c *Transaction_Join_Call) Return(_a0 orm.Query) *Transaction_Join_Call
func (*Transaction_Join_Call) Run ¶
func (_c *Transaction_Join_Call) Run(run func(query string, args ...interface{})) *Transaction_Join_Call
func (*Transaction_Join_Call) RunAndReturn ¶
func (_c *Transaction_Join_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Transaction_Join_Call
type Transaction_Limit_Call ¶
Transaction_Limit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Limit'
func (*Transaction_Limit_Call) Return ¶
func (_c *Transaction_Limit_Call) Return(_a0 orm.Query) *Transaction_Limit_Call
func (*Transaction_Limit_Call) Run ¶
func (_c *Transaction_Limit_Call) Run(run func(limit int)) *Transaction_Limit_Call
func (*Transaction_Limit_Call) RunAndReturn ¶
func (_c *Transaction_Limit_Call) RunAndReturn(run func(int) orm.Query) *Transaction_Limit_Call
type Transaction_LoadMissing_Call ¶
Transaction_LoadMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadMissing'
func (*Transaction_LoadMissing_Call) Return ¶
func (_c *Transaction_LoadMissing_Call) Return(_a0 error) *Transaction_LoadMissing_Call
func (*Transaction_LoadMissing_Call) Run ¶
func (_c *Transaction_LoadMissing_Call) Run(run func(dest interface{}, relation string, args ...interface{})) *Transaction_LoadMissing_Call
func (*Transaction_LoadMissing_Call) RunAndReturn ¶
func (_c *Transaction_LoadMissing_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Transaction_LoadMissing_Call
type Transaction_Load_Call ¶
Transaction_Load_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Load'
func (*Transaction_Load_Call) Return ¶
func (_c *Transaction_Load_Call) Return(_a0 error) *Transaction_Load_Call
func (*Transaction_Load_Call) Run ¶
func (_c *Transaction_Load_Call) Run(run func(dest interface{}, relation string, args ...interface{})) *Transaction_Load_Call
func (*Transaction_Load_Call) RunAndReturn ¶
func (_c *Transaction_Load_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Transaction_Load_Call
type Transaction_LockForUpdate_Call ¶
Transaction_LockForUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LockForUpdate'
func (*Transaction_LockForUpdate_Call) Return ¶
func (_c *Transaction_LockForUpdate_Call) Return(_a0 orm.Query) *Transaction_LockForUpdate_Call
func (*Transaction_LockForUpdate_Call) Run ¶
func (_c *Transaction_LockForUpdate_Call) Run(run func()) *Transaction_LockForUpdate_Call
func (*Transaction_LockForUpdate_Call) RunAndReturn ¶
func (_c *Transaction_LockForUpdate_Call) RunAndReturn(run func() orm.Query) *Transaction_LockForUpdate_Call
type Transaction_Model_Call ¶
Transaction_Model_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Model'
func (*Transaction_Model_Call) Return ¶
func (_c *Transaction_Model_Call) Return(_a0 orm.Query) *Transaction_Model_Call
func (*Transaction_Model_Call) Run ¶
func (_c *Transaction_Model_Call) Run(run func(value interface{})) *Transaction_Model_Call
func (*Transaction_Model_Call) RunAndReturn ¶
func (_c *Transaction_Model_Call) RunAndReturn(run func(interface{}) orm.Query) *Transaction_Model_Call
type Transaction_Offset_Call ¶
Transaction_Offset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Offset'
func (*Transaction_Offset_Call) Return ¶
func (_c *Transaction_Offset_Call) Return(_a0 orm.Query) *Transaction_Offset_Call
func (*Transaction_Offset_Call) Run ¶
func (_c *Transaction_Offset_Call) Run(run func(offset int)) *Transaction_Offset_Call
func (*Transaction_Offset_Call) RunAndReturn ¶
func (_c *Transaction_Offset_Call) RunAndReturn(run func(int) orm.Query) *Transaction_Offset_Call
type Transaction_Omit_Call ¶
Transaction_Omit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Omit'
func (*Transaction_Omit_Call) Return ¶
func (_c *Transaction_Omit_Call) Return(_a0 orm.Query) *Transaction_Omit_Call
func (*Transaction_Omit_Call) Run ¶
func (_c *Transaction_Omit_Call) Run(run func(columns ...string)) *Transaction_Omit_Call
func (*Transaction_Omit_Call) RunAndReturn ¶
func (_c *Transaction_Omit_Call) RunAndReturn(run func(...string) orm.Query) *Transaction_Omit_Call
type Transaction_OrWhereBetween_Call ¶
Transaction_OrWhereBetween_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereBetween'
func (*Transaction_OrWhereBetween_Call) Return ¶
func (_c *Transaction_OrWhereBetween_Call) Return(_a0 orm.Query) *Transaction_OrWhereBetween_Call
func (*Transaction_OrWhereBetween_Call) Run ¶
func (_c *Transaction_OrWhereBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Transaction_OrWhereBetween_Call
func (*Transaction_OrWhereBetween_Call) RunAndReturn ¶
func (_c *Transaction_OrWhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Transaction_OrWhereBetween_Call
type Transaction_OrWhereIn_Call ¶
Transaction_OrWhereIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereIn'
func (*Transaction_OrWhereIn_Call) Return ¶
func (_c *Transaction_OrWhereIn_Call) Return(_a0 orm.Query) *Transaction_OrWhereIn_Call
func (*Transaction_OrWhereIn_Call) Run ¶
func (_c *Transaction_OrWhereIn_Call) Run(run func(column string, values []interface{})) *Transaction_OrWhereIn_Call
func (*Transaction_OrWhereIn_Call) RunAndReturn ¶
func (_c *Transaction_OrWhereIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Transaction_OrWhereIn_Call
type Transaction_OrWhereNotBetween_Call ¶
Transaction_OrWhereNotBetween_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereNotBetween'
func (*Transaction_OrWhereNotBetween_Call) Return ¶
func (_c *Transaction_OrWhereNotBetween_Call) Return(_a0 orm.Query) *Transaction_OrWhereNotBetween_Call
func (*Transaction_OrWhereNotBetween_Call) Run ¶
func (_c *Transaction_OrWhereNotBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Transaction_OrWhereNotBetween_Call
func (*Transaction_OrWhereNotBetween_Call) RunAndReturn ¶
func (_c *Transaction_OrWhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Transaction_OrWhereNotBetween_Call
type Transaction_OrWhereNotIn_Call ¶
Transaction_OrWhereNotIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereNotIn'
func (*Transaction_OrWhereNotIn_Call) Return ¶
func (_c *Transaction_OrWhereNotIn_Call) Return(_a0 orm.Query) *Transaction_OrWhereNotIn_Call
func (*Transaction_OrWhereNotIn_Call) Run ¶
func (_c *Transaction_OrWhereNotIn_Call) Run(run func(column string, values []interface{})) *Transaction_OrWhereNotIn_Call
func (*Transaction_OrWhereNotIn_Call) RunAndReturn ¶
func (_c *Transaction_OrWhereNotIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Transaction_OrWhereNotIn_Call
type Transaction_OrWhereNull_Call ¶
Transaction_OrWhereNull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereNull'
func (*Transaction_OrWhereNull_Call) Return ¶
func (_c *Transaction_OrWhereNull_Call) Return(_a0 orm.Query) *Transaction_OrWhereNull_Call
func (*Transaction_OrWhereNull_Call) Run ¶
func (_c *Transaction_OrWhereNull_Call) Run(run func(column string)) *Transaction_OrWhereNull_Call
func (*Transaction_OrWhereNull_Call) RunAndReturn ¶
func (_c *Transaction_OrWhereNull_Call) RunAndReturn(run func(string) orm.Query) *Transaction_OrWhereNull_Call
type Transaction_OrWhere_Call ¶
Transaction_OrWhere_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhere'
func (*Transaction_OrWhere_Call) Return ¶
func (_c *Transaction_OrWhere_Call) Return(_a0 orm.Query) *Transaction_OrWhere_Call
func (*Transaction_OrWhere_Call) Run ¶
func (_c *Transaction_OrWhere_Call) Run(run func(query interface{}, args ...interface{})) *Transaction_OrWhere_Call
func (*Transaction_OrWhere_Call) RunAndReturn ¶
func (_c *Transaction_OrWhere_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Transaction_OrWhere_Call
type Transaction_OrderByDesc_Call ¶
Transaction_OrderByDesc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrderByDesc'
func (*Transaction_OrderByDesc_Call) Return ¶
func (_c *Transaction_OrderByDesc_Call) Return(_a0 orm.Query) *Transaction_OrderByDesc_Call
func (*Transaction_OrderByDesc_Call) Run ¶
func (_c *Transaction_OrderByDesc_Call) Run(run func(column string)) *Transaction_OrderByDesc_Call
func (*Transaction_OrderByDesc_Call) RunAndReturn ¶
func (_c *Transaction_OrderByDesc_Call) RunAndReturn(run func(string) orm.Query) *Transaction_OrderByDesc_Call
type Transaction_OrderBy_Call ¶
Transaction_OrderBy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrderBy'
func (*Transaction_OrderBy_Call) Return ¶
func (_c *Transaction_OrderBy_Call) Return(_a0 orm.Query) *Transaction_OrderBy_Call
func (*Transaction_OrderBy_Call) Run ¶
func (_c *Transaction_OrderBy_Call) Run(run func(column string, direction ...string)) *Transaction_OrderBy_Call
func (*Transaction_OrderBy_Call) RunAndReturn ¶
func (_c *Transaction_OrderBy_Call) RunAndReturn(run func(string, ...string) orm.Query) *Transaction_OrderBy_Call
type Transaction_Order_Call ¶
Transaction_Order_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Order'
func (*Transaction_Order_Call) Return ¶
func (_c *Transaction_Order_Call) Return(_a0 orm.Query) *Transaction_Order_Call
func (*Transaction_Order_Call) Run ¶
func (_c *Transaction_Order_Call) Run(run func(value interface{})) *Transaction_Order_Call
func (*Transaction_Order_Call) RunAndReturn ¶
func (_c *Transaction_Order_Call) RunAndReturn(run func(interface{}) orm.Query) *Transaction_Order_Call
type Transaction_Paginate_Call ¶
Transaction_Paginate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Paginate'
func (*Transaction_Paginate_Call) Return ¶
func (_c *Transaction_Paginate_Call) Return(_a0 error) *Transaction_Paginate_Call
func (*Transaction_Paginate_Call) Run ¶
func (_c *Transaction_Paginate_Call) Run(run func(page int, limit int, dest interface{}, total *int64)) *Transaction_Paginate_Call
func (*Transaction_Paginate_Call) RunAndReturn ¶
func (_c *Transaction_Paginate_Call) RunAndReturn(run func(int, int, interface{}, *int64) error) *Transaction_Paginate_Call
type Transaction_Pluck_Call ¶
Transaction_Pluck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pluck'
func (*Transaction_Pluck_Call) Return ¶
func (_c *Transaction_Pluck_Call) Return(_a0 error) *Transaction_Pluck_Call
func (*Transaction_Pluck_Call) Run ¶
func (_c *Transaction_Pluck_Call) Run(run func(column string, dest interface{})) *Transaction_Pluck_Call
func (*Transaction_Pluck_Call) RunAndReturn ¶
func (_c *Transaction_Pluck_Call) RunAndReturn(run func(string, interface{}) error) *Transaction_Pluck_Call
type Transaction_Raw_Call ¶
Transaction_Raw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Raw'
func (*Transaction_Raw_Call) Return ¶
func (_c *Transaction_Raw_Call) Return(_a0 orm.Query) *Transaction_Raw_Call
func (*Transaction_Raw_Call) Run ¶
func (_c *Transaction_Raw_Call) Run(run func(sql string, values ...interface{})) *Transaction_Raw_Call
func (*Transaction_Raw_Call) RunAndReturn ¶
func (_c *Transaction_Raw_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Transaction_Raw_Call
type Transaction_Rollback_Call ¶
Transaction_Rollback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rollback'
func (*Transaction_Rollback_Call) Return ¶
func (_c *Transaction_Rollback_Call) Return(_a0 error) *Transaction_Rollback_Call
func (*Transaction_Rollback_Call) Run ¶
func (_c *Transaction_Rollback_Call) Run(run func()) *Transaction_Rollback_Call
func (*Transaction_Rollback_Call) RunAndReturn ¶
func (_c *Transaction_Rollback_Call) RunAndReturn(run func() error) *Transaction_Rollback_Call
type Transaction_SaveQuietly_Call ¶
Transaction_SaveQuietly_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveQuietly'
func (*Transaction_SaveQuietly_Call) Return ¶
func (_c *Transaction_SaveQuietly_Call) Return(_a0 error) *Transaction_SaveQuietly_Call
func (*Transaction_SaveQuietly_Call) Run ¶
func (_c *Transaction_SaveQuietly_Call) Run(run func(value interface{})) *Transaction_SaveQuietly_Call
func (*Transaction_SaveQuietly_Call) RunAndReturn ¶
func (_c *Transaction_SaveQuietly_Call) RunAndReturn(run func(interface{}) error) *Transaction_SaveQuietly_Call
type Transaction_Save_Call ¶
Transaction_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*Transaction_Save_Call) Return ¶
func (_c *Transaction_Save_Call) Return(_a0 error) *Transaction_Save_Call
func (*Transaction_Save_Call) Run ¶
func (_c *Transaction_Save_Call) Run(run func(value interface{})) *Transaction_Save_Call
func (*Transaction_Save_Call) RunAndReturn ¶
func (_c *Transaction_Save_Call) RunAndReturn(run func(interface{}) error) *Transaction_Save_Call
type Transaction_Scan_Call ¶
Transaction_Scan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scan'
func (*Transaction_Scan_Call) Return ¶
func (_c *Transaction_Scan_Call) Return(_a0 error) *Transaction_Scan_Call
func (*Transaction_Scan_Call) Run ¶
func (_c *Transaction_Scan_Call) Run(run func(dest interface{})) *Transaction_Scan_Call
func (*Transaction_Scan_Call) RunAndReturn ¶
func (_c *Transaction_Scan_Call) RunAndReturn(run func(interface{}) error) *Transaction_Scan_Call
type Transaction_Scopes_Call ¶
Transaction_Scopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scopes'
func (*Transaction_Scopes_Call) Return ¶
func (_c *Transaction_Scopes_Call) Return(_a0 orm.Query) *Transaction_Scopes_Call
func (*Transaction_Scopes_Call) Run ¶
func (_c *Transaction_Scopes_Call) Run(run func(funcs ...func(orm.Query) orm.Query)) *Transaction_Scopes_Call
func (*Transaction_Scopes_Call) RunAndReturn ¶
func (_c *Transaction_Scopes_Call) RunAndReturn(run func(...func(orm.Query) orm.Query) orm.Query) *Transaction_Scopes_Call
type Transaction_Select_Call ¶
Transaction_Select_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Select'
func (*Transaction_Select_Call) Return ¶
func (_c *Transaction_Select_Call) Return(_a0 orm.Query) *Transaction_Select_Call
func (*Transaction_Select_Call) Run ¶
func (_c *Transaction_Select_Call) Run(run func(query interface{}, args ...interface{})) *Transaction_Select_Call
func (*Transaction_Select_Call) RunAndReturn ¶
func (_c *Transaction_Select_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Transaction_Select_Call
type Transaction_SharedLock_Call ¶
type Transaction_SharedLock_Call struct {
}Transaction_SharedLock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SharedLock'
func (*Transaction_SharedLock_Call) Return ¶
func (_c *Transaction_SharedLock_Call) Return(_a0 orm.Query) *Transaction_SharedLock_Call
func (*Transaction_SharedLock_Call) Run ¶
func (_c *Transaction_SharedLock_Call) Run(run func()) *Transaction_SharedLock_Call
func (*Transaction_SharedLock_Call) RunAndReturn ¶
func (_c *Transaction_SharedLock_Call) RunAndReturn(run func() orm.Query) *Transaction_SharedLock_Call
type Transaction_Sum_Call ¶
Transaction_Sum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sum'
func (*Transaction_Sum_Call) Return ¶
func (_c *Transaction_Sum_Call) Return(_a0 error) *Transaction_Sum_Call
func (*Transaction_Sum_Call) Run ¶
func (_c *Transaction_Sum_Call) Run(run func(column string, dest interface{})) *Transaction_Sum_Call
func (*Transaction_Sum_Call) RunAndReturn ¶
func (_c *Transaction_Sum_Call) RunAndReturn(run func(string, interface{}) error) *Transaction_Sum_Call
type Transaction_Table_Call ¶
Transaction_Table_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Table'
func (*Transaction_Table_Call) Return ¶
func (_c *Transaction_Table_Call) Return(_a0 orm.Query) *Transaction_Table_Call
func (*Transaction_Table_Call) Run ¶
func (_c *Transaction_Table_Call) Run(run func(name string, args ...interface{})) *Transaction_Table_Call
func (*Transaction_Table_Call) RunAndReturn ¶
func (_c *Transaction_Table_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Transaction_Table_Call
type Transaction_ToRawSql_Call ¶
Transaction_ToRawSql_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToRawSql'
func (*Transaction_ToRawSql_Call) Return ¶
func (_c *Transaction_ToRawSql_Call) Return(_a0 orm.ToSql) *Transaction_ToRawSql_Call
func (*Transaction_ToRawSql_Call) Run ¶
func (_c *Transaction_ToRawSql_Call) Run(run func()) *Transaction_ToRawSql_Call
func (*Transaction_ToRawSql_Call) RunAndReturn ¶
func (_c *Transaction_ToRawSql_Call) RunAndReturn(run func() orm.ToSql) *Transaction_ToRawSql_Call
type Transaction_ToSql_Call ¶
Transaction_ToSql_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToSql'
func (*Transaction_ToSql_Call) Return ¶
func (_c *Transaction_ToSql_Call) Return(_a0 orm.ToSql) *Transaction_ToSql_Call
func (*Transaction_ToSql_Call) Run ¶
func (_c *Transaction_ToSql_Call) Run(run func()) *Transaction_ToSql_Call
func (*Transaction_ToSql_Call) RunAndReturn ¶
func (_c *Transaction_ToSql_Call) RunAndReturn(run func() orm.ToSql) *Transaction_ToSql_Call
type Transaction_UpdateOrCreate_Call ¶
Transaction_UpdateOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateOrCreate'
func (*Transaction_UpdateOrCreate_Call) Return ¶
func (_c *Transaction_UpdateOrCreate_Call) Return(_a0 error) *Transaction_UpdateOrCreate_Call
func (*Transaction_UpdateOrCreate_Call) Run ¶
func (_c *Transaction_UpdateOrCreate_Call) Run(run func(dest interface{}, attributes interface{}, values interface{})) *Transaction_UpdateOrCreate_Call
func (*Transaction_UpdateOrCreate_Call) RunAndReturn ¶
func (_c *Transaction_UpdateOrCreate_Call) RunAndReturn(run func(interface{}, interface{}, interface{}) error) *Transaction_UpdateOrCreate_Call
type Transaction_Update_Call ¶
Transaction_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Transaction_Update_Call) Return ¶
func (_c *Transaction_Update_Call) Return(_a0 *orm.Result, _a1 error) *Transaction_Update_Call
func (*Transaction_Update_Call) Run ¶
func (_c *Transaction_Update_Call) Run(run func(column interface{}, value ...interface{})) *Transaction_Update_Call
func (*Transaction_Update_Call) RunAndReturn ¶
func (_c *Transaction_Update_Call) RunAndReturn(run func(interface{}, ...interface{}) (*orm.Result, error)) *Transaction_Update_Call
type Transaction_WhereBetween_Call ¶
Transaction_WhereBetween_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereBetween'
func (*Transaction_WhereBetween_Call) Return ¶
func (_c *Transaction_WhereBetween_Call) Return(_a0 orm.Query) *Transaction_WhereBetween_Call
func (*Transaction_WhereBetween_Call) Run ¶
func (_c *Transaction_WhereBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Transaction_WhereBetween_Call
func (*Transaction_WhereBetween_Call) RunAndReturn ¶
func (_c *Transaction_WhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Transaction_WhereBetween_Call
type Transaction_WhereIn_Call ¶
Transaction_WhereIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereIn'
func (*Transaction_WhereIn_Call) Return ¶
func (_c *Transaction_WhereIn_Call) Return(_a0 orm.Query) *Transaction_WhereIn_Call
func (*Transaction_WhereIn_Call) Run ¶
func (_c *Transaction_WhereIn_Call) Run(run func(column string, values []interface{})) *Transaction_WhereIn_Call
func (*Transaction_WhereIn_Call) RunAndReturn ¶
func (_c *Transaction_WhereIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Transaction_WhereIn_Call
type Transaction_WhereNotBetween_Call ¶
Transaction_WhereNotBetween_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNotBetween'
func (*Transaction_WhereNotBetween_Call) Return ¶
func (_c *Transaction_WhereNotBetween_Call) Return(_a0 orm.Query) *Transaction_WhereNotBetween_Call
func (*Transaction_WhereNotBetween_Call) Run ¶
func (_c *Transaction_WhereNotBetween_Call) Run(run func(column string, x interface{}, y interface{})) *Transaction_WhereNotBetween_Call
func (*Transaction_WhereNotBetween_Call) RunAndReturn ¶
func (_c *Transaction_WhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) orm.Query) *Transaction_WhereNotBetween_Call
type Transaction_WhereNotIn_Call ¶
Transaction_WhereNotIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNotIn'
func (*Transaction_WhereNotIn_Call) Return ¶
func (_c *Transaction_WhereNotIn_Call) Return(_a0 orm.Query) *Transaction_WhereNotIn_Call
func (*Transaction_WhereNotIn_Call) Run ¶
func (_c *Transaction_WhereNotIn_Call) Run(run func(column string, values []interface{})) *Transaction_WhereNotIn_Call
func (*Transaction_WhereNotIn_Call) RunAndReturn ¶
func (_c *Transaction_WhereNotIn_Call) RunAndReturn(run func(string, []interface{}) orm.Query) *Transaction_WhereNotIn_Call
type Transaction_WhereNotNull_Call ¶
Transaction_WhereNotNull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNotNull'
func (*Transaction_WhereNotNull_Call) Return ¶
func (_c *Transaction_WhereNotNull_Call) Return(_a0 orm.Query) *Transaction_WhereNotNull_Call
func (*Transaction_WhereNotNull_Call) Run ¶
func (_c *Transaction_WhereNotNull_Call) Run(run func(column string)) *Transaction_WhereNotNull_Call
func (*Transaction_WhereNotNull_Call) RunAndReturn ¶
func (_c *Transaction_WhereNotNull_Call) RunAndReturn(run func(string) orm.Query) *Transaction_WhereNotNull_Call
type Transaction_WhereNull_Call ¶
Transaction_WhereNull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNull'
func (*Transaction_WhereNull_Call) Return ¶
func (_c *Transaction_WhereNull_Call) Return(_a0 orm.Query) *Transaction_WhereNull_Call
func (*Transaction_WhereNull_Call) Run ¶
func (_c *Transaction_WhereNull_Call) Run(run func(column string)) *Transaction_WhereNull_Call
func (*Transaction_WhereNull_Call) RunAndReturn ¶
func (_c *Transaction_WhereNull_Call) RunAndReturn(run func(string) orm.Query) *Transaction_WhereNull_Call
type Transaction_Where_Call ¶
Transaction_Where_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Where'
func (*Transaction_Where_Call) Return ¶
func (_c *Transaction_Where_Call) Return(_a0 orm.Query) *Transaction_Where_Call
func (*Transaction_Where_Call) Run ¶
func (_c *Transaction_Where_Call) Run(run func(query interface{}, args ...interface{})) *Transaction_Where_Call
func (*Transaction_Where_Call) RunAndReturn ¶
func (_c *Transaction_Where_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Transaction_Where_Call
type Transaction_WithTrashed_Call ¶
Transaction_WithTrashed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTrashed'
func (*Transaction_WithTrashed_Call) Return ¶
func (_c *Transaction_WithTrashed_Call) Return(_a0 orm.Query) *Transaction_WithTrashed_Call
func (*Transaction_WithTrashed_Call) Run ¶
func (_c *Transaction_WithTrashed_Call) Run(run func()) *Transaction_WithTrashed_Call
func (*Transaction_WithTrashed_Call) RunAndReturn ¶
func (_c *Transaction_WithTrashed_Call) RunAndReturn(run func() orm.Query) *Transaction_WithTrashed_Call
type Transaction_With_Call ¶
Transaction_With_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'With'
func (*Transaction_With_Call) Return ¶
func (_c *Transaction_With_Call) Return(_a0 orm.Query) *Transaction_With_Call
func (*Transaction_With_Call) Run ¶
func (_c *Transaction_With_Call) Run(run func(query string, args ...interface{})) *Transaction_With_Call
func (*Transaction_With_Call) RunAndReturn ¶
func (_c *Transaction_With_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Transaction_With_Call
type Transaction_WithoutEvents_Call ¶
Transaction_WithoutEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithoutEvents'
func (*Transaction_WithoutEvents_Call) Return ¶
func (_c *Transaction_WithoutEvents_Call) Return(_a0 orm.Query) *Transaction_WithoutEvents_Call
func (*Transaction_WithoutEvents_Call) Run ¶
func (_c *Transaction_WithoutEvents_Call) Run(run func()) *Transaction_WithoutEvents_Call
func (*Transaction_WithoutEvents_Call) RunAndReturn ¶
func (_c *Transaction_WithoutEvents_Call) RunAndReturn(run func() orm.Query) *Transaction_WithoutEvents_Call