Documentation
¶
Index ¶
- 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 ModelWithConnection
- type ModelWithConnection_Connection_Call
- func (_c *ModelWithConnection_Connection_Call) Return(_a0 string) *ModelWithConnection_Connection_Call
- func (_c *ModelWithConnection_Connection_Call) Run(run func()) *ModelWithConnection_Connection_Call
- func (_c *ModelWithConnection_Connection_Call) RunAndReturn(run func() string) *ModelWithConnection_Connection_Call
- type ModelWithConnection_Expecter
- type ModelWithGlobalScopes
- type ModelWithGlobalScopes_Expecter
- type ModelWithGlobalScopes_GlobalScopes_Call
- func (_c *ModelWithGlobalScopes_GlobalScopes_Call) Return(_a0 map[string]func(orm.Query) orm.Query) *ModelWithGlobalScopes_GlobalScopes_Call
- func (_c *ModelWithGlobalScopes_GlobalScopes_Call) Run(run func()) *ModelWithGlobalScopes_GlobalScopes_Call
- func (_c *ModelWithGlobalScopes_GlobalScopes_Call) RunAndReturn(run func() map[string]func(orm.Query) orm.Query) *ModelWithGlobalScopes_GlobalScopes_Call
- type ModelWithMorphClass
- type ModelWithMorphClass_Expecter
- type ModelWithMorphClass_MorphClass_Call
- func (_c *ModelWithMorphClass_MorphClass_Call) Return(_a0 string) *ModelWithMorphClass_MorphClass_Call
- func (_c *ModelWithMorphClass_MorphClass_Call) Run(run func()) *ModelWithMorphClass_MorphClass_Call
- func (_c *ModelWithMorphClass_MorphClass_Call) RunAndReturn(run func() string) *ModelWithMorphClass_MorphClass_Call
- type ModelWithRelations
- type ModelWithRelations_Expecter
- type ModelWithRelations_Relations_Call
- func (_c *ModelWithRelations_Relations_Call) Return(_a0 map[string]orm.Relation) *ModelWithRelations_Relations_Call
- func (_c *ModelWithRelations_Relations_Call) Run(run func()) *ModelWithRelations_Relations_Call
- func (_c *ModelWithRelations_Relations_Call) RunAndReturn(run func() map[string]orm.Relation) *ModelWithRelations_Relations_Call
- type ModelWithTableName
- type ModelWithTableName_Expecter
- type ModelWithTableName_TableName_Call
- func (_c *ModelWithTableName_TableName_Call) Return(_a0 string) *ModelWithTableName_TableName_Call
- func (_c *ModelWithTableName_TableName_Call) Run(run func()) *ModelWithTableName_TableName_Call
- func (_c *ModelWithTableName_TableName_Call) RunAndReturn(run func() string) *ModelWithTableName_TableName_Call
- type MorphRelationCallback
- type MorphRelationCallback_Execute_Call
- func (_c *MorphRelationCallback_Execute_Call) Return(_a0 orm.Query) *MorphRelationCallback_Execute_Call
- func (_c *MorphRelationCallback_Execute_Call) Run(run func(query orm.Query, morphType string)) *MorphRelationCallback_Execute_Call
- func (_c *MorphRelationCallback_Execute_Call) RunAndReturn(run func(orm.Query, string) orm.Query) *MorphRelationCallback_Execute_Call
- type MorphRelationCallback_Expecter
- type Observer
- type ObserverWithCreating
- type ObserverWithCreating_Creating_Call
- func (_c *ObserverWithCreating_Creating_Call) Return(_a0 error) *ObserverWithCreating_Creating_Call
- func (_c *ObserverWithCreating_Creating_Call) Run(run func(_a0 orm.Event)) *ObserverWithCreating_Creating_Call
- func (_c *ObserverWithCreating_Creating_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithCreating_Creating_Call
- type ObserverWithCreating_Expecter
- type ObserverWithDeleting
- type ObserverWithDeleting_Deleting_Call
- func (_c *ObserverWithDeleting_Deleting_Call) Return(_a0 error) *ObserverWithDeleting_Deleting_Call
- func (_c *ObserverWithDeleting_Deleting_Call) Run(run func(_a0 orm.Event)) *ObserverWithDeleting_Deleting_Call
- func (_c *ObserverWithDeleting_Deleting_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithDeleting_Deleting_Call
- type ObserverWithDeleting_Expecter
- type ObserverWithForceDeleting
- type ObserverWithForceDeleting_Expecter
- type ObserverWithForceDeleting_ForceDeleting_Call
- func (_c *ObserverWithForceDeleting_ForceDeleting_Call) Return(_a0 error) *ObserverWithForceDeleting_ForceDeleting_Call
- func (_c *ObserverWithForceDeleting_ForceDeleting_Call) Run(run func(_a0 orm.Event)) *ObserverWithForceDeleting_ForceDeleting_Call
- func (_c *ObserverWithForceDeleting_ForceDeleting_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithForceDeleting_ForceDeleting_Call
- type ObserverWithRestored
- type ObserverWithRestored_Expecter
- type ObserverWithRestored_Restored_Call
- func (_c *ObserverWithRestored_Restored_Call) Return(_a0 error) *ObserverWithRestored_Restored_Call
- func (_c *ObserverWithRestored_Restored_Call) Run(run func(_a0 orm.Event)) *ObserverWithRestored_Restored_Call
- func (_c *ObserverWithRestored_Restored_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithRestored_Restored_Call
- type ObserverWithRestoring
- type ObserverWithRestoring_Expecter
- type ObserverWithRestoring_Restoring_Call
- func (_c *ObserverWithRestoring_Restoring_Call) Return(_a0 error) *ObserverWithRestoring_Restoring_Call
- func (_c *ObserverWithRestoring_Restoring_Call) Run(run func(_a0 orm.Event)) *ObserverWithRestoring_Restoring_Call
- func (_c *ObserverWithRestoring_Restoring_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithRestoring_Restoring_Call
- type ObserverWithRetrieved
- type ObserverWithRetrieved_Expecter
- type ObserverWithRetrieved_Retrieved_Call
- func (_c *ObserverWithRetrieved_Retrieved_Call) Return(_a0 error) *ObserverWithRetrieved_Retrieved_Call
- func (_c *ObserverWithRetrieved_Retrieved_Call) Run(run func(_a0 orm.Event)) *ObserverWithRetrieved_Retrieved_Call
- func (_c *ObserverWithRetrieved_Retrieved_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithRetrieved_Retrieved_Call
- type ObserverWithSaved
- type ObserverWithSaved_Expecter
- type ObserverWithSaved_Saved_Call
- type ObserverWithSaving
- type ObserverWithSaving_Expecter
- type ObserverWithSaving_Saving_Call
- func (_c *ObserverWithSaving_Saving_Call) Return(_a0 error) *ObserverWithSaving_Saving_Call
- func (_c *ObserverWithSaving_Saving_Call) Run(run func(_a0 orm.Event)) *ObserverWithSaving_Saving_Call
- func (_c *ObserverWithSaving_Saving_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithSaving_Saving_Call
- type ObserverWithUpdating
- type ObserverWithUpdating_Expecter
- type ObserverWithUpdating_Updating_Call
- func (_c *ObserverWithUpdating_Updating_Call) Return(_a0 error) *ObserverWithUpdating_Updating_Call
- func (_c *ObserverWithUpdating_Updating_Call) Run(run func(_a0 orm.Event)) *ObserverWithUpdating_Updating_Call
- func (_c *ObserverWithUpdating_Updating_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithUpdating_Updating_Call
- type Observer_Created_Call
- type Observer_Deleted_Call
- type Observer_Expecter
- func (_e *Observer_Expecter) Created(_a0 interface{}) *Observer_Created_Call
- func (_e *Observer_Expecter) Deleted(_a0 interface{}) *Observer_Deleted_Call
- func (_e *Observer_Expecter) ForceDeleted(_a0 interface{}) *Observer_ForceDeleted_Call
- func (_e *Observer_Expecter) Updated(_a0 interface{}) *Observer_Updated_Call
- type Observer_ForceDeleted_Call
- type Observer_Updated_Call
- type Orm
- func (_m *Orm) Config() database.Config
- func (_m *Orm) Connection(name string) orm.Orm
- func (_m *Orm) DB() (*sql.DB, error)
- func (_m *Orm) DatabaseName() string
- func (_m *Orm) EXPECT() *Orm_Expecter
- func (_m *Orm) Factory() orm.Factory
- func (_m *Orm) Fresh()
- func (_m *Orm) Name() string
- func (_m *Orm) Observe(model interface{}, observer orm.Observer)
- func (_m *Orm) Query() orm.Query
- func (_m *Orm) Related(parent interface{}, relation string) orm.Query
- func (_m *Orm) Relation(parent interface{}, name string) orm.RelationWriter
- func (_m *Orm) SetQuery(query orm.Query)
- func (_m *Orm) Transaction(txFunc func(orm.Query) error) error
- func (_m *Orm) WithContext(ctx context.Context) orm.Orm
- type Orm_Config_Call
- type Orm_Connection_Call
- type Orm_DB_Call
- type Orm_DatabaseName_Call
- type Orm_Expecter
- func (_e *Orm_Expecter) Config() *Orm_Config_Call
- func (_e *Orm_Expecter) Connection(name interface{}) *Orm_Connection_Call
- func (_e *Orm_Expecter) DB() *Orm_DB_Call
- func (_e *Orm_Expecter) DatabaseName() *Orm_DatabaseName_Call
- func (_e *Orm_Expecter) Factory() *Orm_Factory_Call
- func (_e *Orm_Expecter) Fresh() *Orm_Fresh_Call
- func (_e *Orm_Expecter) Name() *Orm_Name_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) Related(parent interface{}, relation interface{}) *Orm_Related_Call
- func (_e *Orm_Expecter) Relation(parent interface{}, name interface{}) *Orm_Relation_Call
- func (_e *Orm_Expecter) SetQuery(query interface{}) *Orm_SetQuery_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_Fresh_Call
- type Orm_Name_Call
- type Orm_Observe_Call
- type Orm_Query_Call
- type Orm_Related_Call
- type Orm_Relation_Call
- type Orm_SetQuery_Call
- type Orm_Transaction_Call
- type Orm_WithContext_Call
- type PivotCallback
- type PivotCallback_Execute_Call
- func (_c *PivotCallback_Execute_Call) Return(_a0 orm.PivotQuery) *PivotCallback_Execute_Call
- func (_c *PivotCallback_Execute_Call) Run(run func(query orm.PivotQuery)) *PivotCallback_Execute_Call
- func (_c *PivotCallback_Execute_Call) RunAndReturn(run func(orm.PivotQuery) orm.PivotQuery) *PivotCallback_Execute_Call
- type PivotCallback_Expecter
- type PivotQuery
- func (_m *PivotQuery) EXPECT() *PivotQuery_Expecter
- func (_m *PivotQuery) Where(column string, args ...interface{}) orm.PivotQuery
- func (_m *PivotQuery) WhereIn(column string, values []interface{}) orm.PivotQuery
- func (_m *PivotQuery) WhereNotIn(column string, values []interface{}) orm.PivotQuery
- func (_m *PivotQuery) WhereNotNull(column string) orm.PivotQuery
- func (_m *PivotQuery) WhereNull(column string) orm.PivotQuery
- type PivotQuery_Expecter
- func (_e *PivotQuery_Expecter) Where(column interface{}, args ...interface{}) *PivotQuery_Where_Call
- func (_e *PivotQuery_Expecter) WhereIn(column interface{}, values interface{}) *PivotQuery_WhereIn_Call
- func (_e *PivotQuery_Expecter) WhereNotIn(column interface{}, values interface{}) *PivotQuery_WhereNotIn_Call
- func (_e *PivotQuery_Expecter) WhereNotNull(column interface{}) *PivotQuery_WhereNotNull_Call
- func (_e *PivotQuery_Expecter) WhereNull(column interface{}) *PivotQuery_WhereNull_Call
- type PivotQuery_WhereIn_Call
- func (_c *PivotQuery_WhereIn_Call) Return(_a0 orm.PivotQuery) *PivotQuery_WhereIn_Call
- func (_c *PivotQuery_WhereIn_Call) Run(run func(column string, values []interface{})) *PivotQuery_WhereIn_Call
- func (_c *PivotQuery_WhereIn_Call) RunAndReturn(run func(string, []interface{}) orm.PivotQuery) *PivotQuery_WhereIn_Call
- type PivotQuery_WhereNotIn_Call
- func (_c *PivotQuery_WhereNotIn_Call) Return(_a0 orm.PivotQuery) *PivotQuery_WhereNotIn_Call
- func (_c *PivotQuery_WhereNotIn_Call) Run(run func(column string, values []interface{})) *PivotQuery_WhereNotIn_Call
- func (_c *PivotQuery_WhereNotIn_Call) RunAndReturn(run func(string, []interface{}) orm.PivotQuery) *PivotQuery_WhereNotIn_Call
- type PivotQuery_WhereNotNull_Call
- func (_c *PivotQuery_WhereNotNull_Call) Return(_a0 orm.PivotQuery) *PivotQuery_WhereNotNull_Call
- func (_c *PivotQuery_WhereNotNull_Call) Run(run func(column string)) *PivotQuery_WhereNotNull_Call
- func (_c *PivotQuery_WhereNotNull_Call) RunAndReturn(run func(string) orm.PivotQuery) *PivotQuery_WhereNotNull_Call
- type PivotQuery_WhereNull_Call
- type PivotQuery_Where_Call
- func (_c *PivotQuery_Where_Call) Return(_a0 orm.PivotQuery) *PivotQuery_Where_Call
- func (_c *PivotQuery_Where_Call) Run(run func(column string, args ...interface{})) *PivotQuery_Where_Call
- func (_c *PivotQuery_Where_Call) RunAndReturn(run func(string, ...interface{}) orm.PivotQuery) *PivotQuery_Where_Call
- type Query
- func (_m *Query) Avg(column string, dest interface{}) error
- func (_m *Query) Begin() (orm.Query, error)
- func (_m *Query) BeginTransaction() (orm.Query, error)
- func (_m *Query) Commit() error
- func (_m *Query) Context() context.Context
- func (_m *Query) Count() (int64, error)
- func (_m *Query) Create(value interface{}) error
- func (_m *Query) Cursor() chan db.Row
- func (_m *Query) CursorPaginate(perPage int, cursor string, dest interface{}) (db.CursorPaginator, error)
- func (_m *Query) DB() (*sql.DB, error)
- func (_m *Query) Decrement(column string, args ...interface{}) (*db.Result, error)
- func (_m *Query) Delete(value ...interface{}) (*db.Result, error)
- func (_m *Query) Distinct(columns ...string) orm.Query
- func (_m *Query) DoesntHave(relation string, args ...interface{}) orm.Query
- func (_m *Query) DoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *Query) Driver() string
- func (_m *Query) EXPECT() *Query_Expecter
- func (_m *Query) Except(models interface{}) orm.Query
- func (_m *Query) Exec(_a0 string, values ...interface{}) (*db.Result, error)
- func (_m *Query) Exists() (bool, error)
- func (_m *Query) Find(dest interface{}, conds ...interface{}) error
- func (_m *Query) FindMany(dest interface{}, ids []interface{}, columns ...interface{}) error
- func (_m *Query) FindOr(dest interface{}, id interface{}, callback func() error) 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{}) (*db.Result, error)
- func (_m *Query) Get(dest interface{}, columns ...interface{}) error
- func (_m *Query) Group(column string) orm.Query
- func (_m *Query) GroupBy(column ...string) orm.Query
- func (_m *Query) Has(relation string, args ...interface{}) orm.Query
- func (_m *Query) HasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *Query) Having(query interface{}, args ...interface{}) orm.Query
- func (_m *Query) InRandomOrder() orm.Query
- func (_m *Query) InTransaction() bool
- func (_m *Query) Increment(column string, args ...interface{}) (*db.Result, error)
- func (_m *Query) Join(query string, args ...interface{}) orm.Query
- func (_m *Query) Latest(column ...string) orm.Query
- func (_m *Query) LatestOfMany(column ...string) 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) Max(column string, dest interface{}) error
- func (_m *Query) Min(column string, dest interface{}) error
- func (_m *Query) Model(value interface{}) orm.Query
- func (_m *Query) OfMany(column string, aggregate string) orm.Query
- func (_m *Query) Offset(offset int) orm.Query
- func (_m *Query) Oldest(column ...string) orm.Query
- func (_m *Query) OldestOfMany(column ...string) orm.Query
- func (_m *Query) Omit(columns ...string) orm.Query
- func (_m *Query) OnlyTrashed() orm.Query
- func (_m *Query) OrDoesntHave(relation string, args ...interface{}) orm.Query
- func (_m *Query) OrDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *Query) OrHas(relation string, args ...interface{}) orm.Query
- func (_m *Query) OrHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *Query) OrWhere(query interface{}, args ...interface{}) orm.Query
- func (_m *Query) OrWhereBelongsTo(related interface{}, relation ...string) orm.Query
- func (_m *Query) OrWhereBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Query) OrWhereDoesntHave(relation string, args ...interface{}) orm.Query
- func (_m *Query) OrWhereDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *Query) OrWhereDoesntHaveRelation(relation string, column interface{}, args ...interface{}) orm.Query
- func (_m *Query) OrWhereHas(relation string, args ...interface{}) orm.Query
- func (_m *Query) OrWhereHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *Query) OrWhereIn(column string, values []interface{}) orm.Query
- func (_m *Query) OrWhereJsonContains(column string, value interface{}) orm.Query
- func (_m *Query) OrWhereJsonContainsKey(column string) orm.Query
- func (_m *Query) OrWhereJsonDoesntContain(column string, value interface{}) orm.Query
- func (_m *Query) OrWhereJsonDoesntContainKey(column string) orm.Query
- func (_m *Query) OrWhereJsonLength(column string, args ...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) OrWhereRelation(relation string, column interface{}, args ...interface{}) 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) OrderByRaw(raw 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(_a0 string, values ...interface{}) orm.Query
- func (_m *Query) Related(parent interface{}, name string) orm.Query
- func (_m *Query) Relation(parent interface{}, name string) orm.RelationWriter
- func (_m *Query) Restore(model ...interface{}) (*db.Result, error)
- func (_m *Query) Rollback() error
- 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(columns ...string) orm.Query
- func (_m *Query) SelectRaw(query interface{}, args ...interface{}) orm.Query
- func (_m *Query) SharedLock() orm.Query
- func (_m *Query) Sole(dest interface{}) error
- func (_m *Query) Sum(column string, dest interface{}) error
- func (_m *Query) Table(name interface{}, args ...interface{}) orm.Query
- func (_m *Query) ToRawSql() orm.ToSql
- func (_m *Query) ToSql() orm.ToSql
- func (_m *Query) Touch(column ...string) (*db.Result, error)
- func (_m *Query) Update(column interface{}, value ...interface{}) (*db.Result, error)
- func (_m *Query) UpdateOrCreate(dest interface{}, attributes interface{}, values interface{}) error
- func (_m *Query) Upsert(values interface{}, uniqueBy []string, update ...interface{}) (*db.Result, error)
- func (_m *Query) UseWritePdo() orm.Query
- func (_m *Query) Value(column string, dest interface{}) error
- func (_m *Query) When(condition bool, callback func(orm.Query) orm.Query, ...) orm.Query
- func (_m *Query) Where(query interface{}, args ...interface{}) orm.Query
- func (_m *Query) WhereAll(columns []string, args ...interface{}) orm.Query
- func (_m *Query) WhereAny(columns []string, args ...interface{}) orm.Query
- func (_m *Query) WhereBelongsTo(related interface{}, relation ...string) orm.Query
- func (_m *Query) WhereBetween(column string, x interface{}, y interface{}) orm.Query
- func (_m *Query) WhereDoesntHave(relation string, args ...interface{}) orm.Query
- func (_m *Query) WhereDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *Query) WhereDoesntHaveRelation(relation string, column interface{}, args ...interface{}) orm.Query
- func (_m *Query) WhereHas(relation string, args ...interface{}) orm.Query
- func (_m *Query) WhereHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *Query) WhereIn(column string, values []interface{}) orm.Query
- func (_m *Query) WhereJsonContains(column string, value interface{}) orm.Query
- func (_m *Query) WhereJsonContainsKey(column string) orm.Query
- func (_m *Query) WhereJsonDoesntContain(column string, value interface{}) orm.Query
- func (_m *Query) WhereJsonDoesntContainKey(column string) orm.Query
- func (_m *Query) WhereJsonLength(column string, args ...interface{}) orm.Query
- func (_m *Query) WhereKey(id interface{}) orm.Query
- func (_m *Query) WhereKeyNot(id interface{}) orm.Query
- func (_m *Query) WhereNone(columns []string, args ...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) WhereRelation(relation string, column interface{}, args ...interface{}) orm.Query
- func (_m *Query) With(args ...interface{}) orm.Query
- func (_m *Query) WithAggregate(relation string, column string, fn string, args ...interface{}) orm.Query
- func (_m *Query) WithAttributes(attributes interface{}, args ...interface{}) orm.Query
- func (_m *Query) WithAvg(relation string, column string, args ...interface{}) orm.Query
- func (_m *Query) WithCount(relations ...interface{}) orm.Query
- func (_m *Query) WithExists(relations ...string) orm.Query
- func (_m *Query) WithMax(relation string, column string, args ...interface{}) orm.Query
- func (_m *Query) WithMin(relation string, column string, args ...interface{}) orm.Query
- func (_m *Query) WithOnly(args ...interface{}) orm.Query
- func (_m *Query) WithSum(relation string, column string, args ...interface{}) orm.Query
- func (_m *Query) WithTrashed() orm.Query
- func (_m *Query) WithWhereHas(relation string, args ...interface{}) orm.Query
- func (_m *Query) Without(relations ...string) orm.Query
- func (_m *Query) WithoutEvents() orm.Query
- func (_m *Query) WithoutGlobalScopes(names ...string) orm.Query
- type QueryWithClone
- type QueryWithClone_Clone_Call
- type QueryWithClone_Expecter
- type QueryWithContext
- type QueryWithContext_Expecter
- type QueryWithContext_WithContext_Call
- func (_c *QueryWithContext_WithContext_Call) Return(_a0 orm.Query) *QueryWithContext_WithContext_Call
- func (_c *QueryWithContext_WithContext_Call) Run(run func(ctx context.Context)) *QueryWithContext_WithContext_Call
- func (_c *QueryWithContext_WithContext_Call) RunAndReturn(run func(context.Context) orm.Query) *QueryWithContext_WithContext_Call
- type QueryWithObserver
- type QueryWithObserver_Expecter
- type QueryWithObserver_Observe_Call
- func (_c *QueryWithObserver_Observe_Call) Return() *QueryWithObserver_Observe_Call
- func (_c *QueryWithObserver_Observe_Call) Run(run func(model interface{}, observer orm.Observer)) *QueryWithObserver_Observe_Call
- func (_c *QueryWithObserver_Observe_Call) RunAndReturn(run func(interface{}, orm.Observer)) *QueryWithObserver_Observe_Call
- type QueryWithRelations
- func (_m *QueryWithRelations) DoesntHave(relation string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) DoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) EXPECT() *QueryWithRelations_Expecter
- func (_m *QueryWithRelations) Has(relation string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) HasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrDoesntHave(relation string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrHas(relation string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrWhereBelongsTo(related interface{}, relation ...string) orm.Query
- func (_m *QueryWithRelations) OrWhereDoesntHave(relation string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrWhereDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrWhereDoesntHaveRelation(relation string, column interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrWhereHas(relation string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrWhereHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) OrWhereRelation(relation string, column interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WhereBelongsTo(related interface{}, relation ...string) orm.Query
- func (_m *QueryWithRelations) WhereDoesntHave(relation string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WhereDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WhereDoesntHaveRelation(relation string, column interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WhereHas(relation string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WhereHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WhereRelation(relation string, column interface{}, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WithAggregate(relation string, column string, fn string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WithAvg(relation string, column string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WithCount(relations ...interface{}) orm.Query
- func (_m *QueryWithRelations) WithExists(relations ...string) orm.Query
- func (_m *QueryWithRelations) WithMax(relation string, column string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WithMin(relation string, column string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WithSum(relation string, column string, args ...interface{}) orm.Query
- func (_m *QueryWithRelations) WithWhereHas(relation string, args ...interface{}) orm.Query
- type QueryWithRelations_DoesntHaveMorph_Call
- func (_c *QueryWithRelations_DoesntHaveMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_DoesntHaveMorph_Call
- func (_c *QueryWithRelations_DoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_DoesntHaveMorph_Call
- func (_c *QueryWithRelations_DoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_DoesntHaveMorph_Call
- type QueryWithRelations_DoesntHave_Call
- func (_c *QueryWithRelations_DoesntHave_Call) Return(_a0 orm.Query) *QueryWithRelations_DoesntHave_Call
- func (_c *QueryWithRelations_DoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_DoesntHave_Call
- func (_c *QueryWithRelations_DoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_DoesntHave_Call
- type QueryWithRelations_Expecter
- func (_e *QueryWithRelations_Expecter) DoesntHave(relation interface{}, args ...interface{}) *QueryWithRelations_DoesntHave_Call
- func (_e *QueryWithRelations_Expecter) DoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_DoesntHaveMorph_Call
- func (_e *QueryWithRelations_Expecter) Has(relation interface{}, args ...interface{}) *QueryWithRelations_Has_Call
- func (_e *QueryWithRelations_Expecter) HasMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_HasMorph_Call
- func (_e *QueryWithRelations_Expecter) OrDoesntHave(relation interface{}, args ...interface{}) *QueryWithRelations_OrDoesntHave_Call
- func (_e *QueryWithRelations_Expecter) OrDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_OrDoesntHaveMorph_Call
- func (_e *QueryWithRelations_Expecter) OrHas(relation interface{}, args ...interface{}) *QueryWithRelations_OrHas_Call
- func (_e *QueryWithRelations_Expecter) OrHasMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_OrHasMorph_Call
- func (_e *QueryWithRelations_Expecter) OrWhereBelongsTo(related interface{}, relation ...interface{}) *QueryWithRelations_OrWhereBelongsTo_Call
- func (_e *QueryWithRelations_Expecter) OrWhereDoesntHave(relation interface{}, args ...interface{}) *QueryWithRelations_OrWhereDoesntHave_Call
- func (_e *QueryWithRelations_Expecter) OrWhereDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_OrWhereDoesntHaveMorph_Call
- func (_e *QueryWithRelations_Expecter) OrWhereDoesntHaveRelation(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_OrWhereDoesntHaveRelation_Call
- func (_e *QueryWithRelations_Expecter) OrWhereHas(relation interface{}, args ...interface{}) *QueryWithRelations_OrWhereHas_Call
- func (_e *QueryWithRelations_Expecter) OrWhereHasMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_OrWhereHasMorph_Call
- func (_e *QueryWithRelations_Expecter) OrWhereRelation(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_OrWhereRelation_Call
- func (_e *QueryWithRelations_Expecter) WhereBelongsTo(related interface{}, relation ...interface{}) *QueryWithRelations_WhereBelongsTo_Call
- func (_e *QueryWithRelations_Expecter) WhereDoesntHave(relation interface{}, args ...interface{}) *QueryWithRelations_WhereDoesntHave_Call
- func (_e *QueryWithRelations_Expecter) WhereDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_WhereDoesntHaveMorph_Call
- func (_e *QueryWithRelations_Expecter) WhereDoesntHaveRelation(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WhereDoesntHaveRelation_Call
- func (_e *QueryWithRelations_Expecter) WhereHas(relation interface{}, args ...interface{}) *QueryWithRelations_WhereHas_Call
- func (_e *QueryWithRelations_Expecter) WhereHasMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_WhereHasMorph_Call
- func (_e *QueryWithRelations_Expecter) WhereRelation(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WhereRelation_Call
- func (_e *QueryWithRelations_Expecter) WithAggregate(relation interface{}, column interface{}, fn interface{}, args ...interface{}) *QueryWithRelations_WithAggregate_Call
- func (_e *QueryWithRelations_Expecter) WithAvg(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WithAvg_Call
- func (_e *QueryWithRelations_Expecter) WithCount(relations ...interface{}) *QueryWithRelations_WithCount_Call
- func (_e *QueryWithRelations_Expecter) WithExists(relations ...interface{}) *QueryWithRelations_WithExists_Call
- func (_e *QueryWithRelations_Expecter) WithMax(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WithMax_Call
- func (_e *QueryWithRelations_Expecter) WithMin(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WithMin_Call
- func (_e *QueryWithRelations_Expecter) WithSum(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WithSum_Call
- func (_e *QueryWithRelations_Expecter) WithWhereHas(relation interface{}, args ...interface{}) *QueryWithRelations_WithWhereHas_Call
- type QueryWithRelations_HasMorph_Call
- func (_c *QueryWithRelations_HasMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_HasMorph_Call
- func (_c *QueryWithRelations_HasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_HasMorph_Call
- func (_c *QueryWithRelations_HasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_HasMorph_Call
- type QueryWithRelations_Has_Call
- func (_c *QueryWithRelations_Has_Call) Return(_a0 orm.Query) *QueryWithRelations_Has_Call
- func (_c *QueryWithRelations_Has_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_Has_Call
- func (_c *QueryWithRelations_Has_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_Has_Call
- type QueryWithRelations_OrDoesntHaveMorph_Call
- func (_c *QueryWithRelations_OrDoesntHaveMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_OrDoesntHaveMorph_Call
- func (_c *QueryWithRelations_OrDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_OrDoesntHaveMorph_Call
- func (_c *QueryWithRelations_OrDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrDoesntHaveMorph_Call
- type QueryWithRelations_OrDoesntHave_Call
- func (_c *QueryWithRelations_OrDoesntHave_Call) Return(_a0 orm.Query) *QueryWithRelations_OrDoesntHave_Call
- func (_c *QueryWithRelations_OrDoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_OrDoesntHave_Call
- func (_c *QueryWithRelations_OrDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_OrDoesntHave_Call
- type QueryWithRelations_OrHasMorph_Call
- func (_c *QueryWithRelations_OrHasMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_OrHasMorph_Call
- func (_c *QueryWithRelations_OrHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_OrHasMorph_Call
- func (_c *QueryWithRelations_OrHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrHasMorph_Call
- type QueryWithRelations_OrHas_Call
- func (_c *QueryWithRelations_OrHas_Call) Return(_a0 orm.Query) *QueryWithRelations_OrHas_Call
- func (_c *QueryWithRelations_OrHas_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_OrHas_Call
- func (_c *QueryWithRelations_OrHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_OrHas_Call
- type QueryWithRelations_OrWhereBelongsTo_Call
- func (_c *QueryWithRelations_OrWhereBelongsTo_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereBelongsTo_Call
- func (_c *QueryWithRelations_OrWhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *QueryWithRelations_OrWhereBelongsTo_Call
- func (_c *QueryWithRelations_OrWhereBelongsTo_Call) RunAndReturn(run func(interface{}, ...string) orm.Query) *QueryWithRelations_OrWhereBelongsTo_Call
- type QueryWithRelations_OrWhereDoesntHaveMorph_Call
- func (_c *QueryWithRelations_OrWhereDoesntHaveMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereDoesntHaveMorph_Call
- func (_c *QueryWithRelations_OrWhereDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_OrWhereDoesntHaveMorph_Call
- func (_c *QueryWithRelations_OrWhereDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrWhereDoesntHaveMorph_Call
- type QueryWithRelations_OrWhereDoesntHaveRelation_Call
- func (_c *QueryWithRelations_OrWhereDoesntHaveRelation_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereDoesntHaveRelation_Call
- func (_c *QueryWithRelations_OrWhereDoesntHaveRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *QueryWithRelations_OrWhereDoesntHaveRelation_Call
- func (_c *QueryWithRelations_OrWhereDoesntHaveRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrWhereDoesntHaveRelation_Call
- type QueryWithRelations_OrWhereDoesntHave_Call
- func (_c *QueryWithRelations_OrWhereDoesntHave_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereDoesntHave_Call
- func (_c *QueryWithRelations_OrWhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_OrWhereDoesntHave_Call
- func (_c *QueryWithRelations_OrWhereDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_OrWhereDoesntHave_Call
- type QueryWithRelations_OrWhereHasMorph_Call
- func (_c *QueryWithRelations_OrWhereHasMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereHasMorph_Call
- func (_c *QueryWithRelations_OrWhereHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_OrWhereHasMorph_Call
- func (_c *QueryWithRelations_OrWhereHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrWhereHasMorph_Call
- type QueryWithRelations_OrWhereHas_Call
- func (_c *QueryWithRelations_OrWhereHas_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereHas_Call
- func (_c *QueryWithRelations_OrWhereHas_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_OrWhereHas_Call
- func (_c *QueryWithRelations_OrWhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_OrWhereHas_Call
- type QueryWithRelations_OrWhereRelation_Call
- func (_c *QueryWithRelations_OrWhereRelation_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereRelation_Call
- func (_c *QueryWithRelations_OrWhereRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *QueryWithRelations_OrWhereRelation_Call
- func (_c *QueryWithRelations_OrWhereRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrWhereRelation_Call
- type QueryWithRelations_WhereBelongsTo_Call
- func (_c *QueryWithRelations_WhereBelongsTo_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereBelongsTo_Call
- func (_c *QueryWithRelations_WhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *QueryWithRelations_WhereBelongsTo_Call
- func (_c *QueryWithRelations_WhereBelongsTo_Call) RunAndReturn(run func(interface{}, ...string) orm.Query) *QueryWithRelations_WhereBelongsTo_Call
- type QueryWithRelations_WhereDoesntHaveMorph_Call
- func (_c *QueryWithRelations_WhereDoesntHaveMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereDoesntHaveMorph_Call
- func (_c *QueryWithRelations_WhereDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_WhereDoesntHaveMorph_Call
- func (_c *QueryWithRelations_WhereDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_WhereDoesntHaveMorph_Call
- type QueryWithRelations_WhereDoesntHaveRelation_Call
- func (_c *QueryWithRelations_WhereDoesntHaveRelation_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereDoesntHaveRelation_Call
- func (_c *QueryWithRelations_WhereDoesntHaveRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *QueryWithRelations_WhereDoesntHaveRelation_Call
- func (_c *QueryWithRelations_WhereDoesntHaveRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *QueryWithRelations_WhereDoesntHaveRelation_Call
- type QueryWithRelations_WhereDoesntHave_Call
- func (_c *QueryWithRelations_WhereDoesntHave_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereDoesntHave_Call
- func (_c *QueryWithRelations_WhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_WhereDoesntHave_Call
- func (_c *QueryWithRelations_WhereDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_WhereDoesntHave_Call
- type QueryWithRelations_WhereHasMorph_Call
- func (_c *QueryWithRelations_WhereHasMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereHasMorph_Call
- func (_c *QueryWithRelations_WhereHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_WhereHasMorph_Call
- func (_c *QueryWithRelations_WhereHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_WhereHasMorph_Call
- type QueryWithRelations_WhereHas_Call
- func (_c *QueryWithRelations_WhereHas_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereHas_Call
- func (_c *QueryWithRelations_WhereHas_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_WhereHas_Call
- func (_c *QueryWithRelations_WhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_WhereHas_Call
- type QueryWithRelations_WhereRelation_Call
- func (_c *QueryWithRelations_WhereRelation_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereRelation_Call
- func (_c *QueryWithRelations_WhereRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *QueryWithRelations_WhereRelation_Call
- func (_c *QueryWithRelations_WhereRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *QueryWithRelations_WhereRelation_Call
- type QueryWithRelations_WithAggregate_Call
- func (_c *QueryWithRelations_WithAggregate_Call) Return(_a0 orm.Query) *QueryWithRelations_WithAggregate_Call
- func (_c *QueryWithRelations_WithAggregate_Call) Run(run func(relation string, column string, fn string, args ...interface{})) *QueryWithRelations_WithAggregate_Call
- func (_c *QueryWithRelations_WithAggregate_Call) RunAndReturn(run func(string, string, string, ...interface{}) orm.Query) *QueryWithRelations_WithAggregate_Call
- type QueryWithRelations_WithAvg_Call
- func (_c *QueryWithRelations_WithAvg_Call) Return(_a0 orm.Query) *QueryWithRelations_WithAvg_Call
- func (_c *QueryWithRelations_WithAvg_Call) Run(run func(relation string, column string, args ...interface{})) *QueryWithRelations_WithAvg_Call
- func (_c *QueryWithRelations_WithAvg_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *QueryWithRelations_WithAvg_Call
- type QueryWithRelations_WithCount_Call
- func (_c *QueryWithRelations_WithCount_Call) Return(_a0 orm.Query) *QueryWithRelations_WithCount_Call
- func (_c *QueryWithRelations_WithCount_Call) Run(run func(relations ...interface{})) *QueryWithRelations_WithCount_Call
- func (_c *QueryWithRelations_WithCount_Call) RunAndReturn(run func(...interface{}) orm.Query) *QueryWithRelations_WithCount_Call
- type QueryWithRelations_WithExists_Call
- func (_c *QueryWithRelations_WithExists_Call) Return(_a0 orm.Query) *QueryWithRelations_WithExists_Call
- func (_c *QueryWithRelations_WithExists_Call) Run(run func(relations ...string)) *QueryWithRelations_WithExists_Call
- func (_c *QueryWithRelations_WithExists_Call) RunAndReturn(run func(...string) orm.Query) *QueryWithRelations_WithExists_Call
- type QueryWithRelations_WithMax_Call
- func (_c *QueryWithRelations_WithMax_Call) Return(_a0 orm.Query) *QueryWithRelations_WithMax_Call
- func (_c *QueryWithRelations_WithMax_Call) Run(run func(relation string, column string, args ...interface{})) *QueryWithRelations_WithMax_Call
- func (_c *QueryWithRelations_WithMax_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *QueryWithRelations_WithMax_Call
- type QueryWithRelations_WithMin_Call
- func (_c *QueryWithRelations_WithMin_Call) Return(_a0 orm.Query) *QueryWithRelations_WithMin_Call
- func (_c *QueryWithRelations_WithMin_Call) Run(run func(relation string, column string, args ...interface{})) *QueryWithRelations_WithMin_Call
- func (_c *QueryWithRelations_WithMin_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *QueryWithRelations_WithMin_Call
- type QueryWithRelations_WithSum_Call
- func (_c *QueryWithRelations_WithSum_Call) Return(_a0 orm.Query) *QueryWithRelations_WithSum_Call
- func (_c *QueryWithRelations_WithSum_Call) Run(run func(relation string, column string, args ...interface{})) *QueryWithRelations_WithSum_Call
- func (_c *QueryWithRelations_WithSum_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *QueryWithRelations_WithSum_Call
- type QueryWithRelations_WithWhereHas_Call
- func (_c *QueryWithRelations_WithWhereHas_Call) Return(_a0 orm.Query) *QueryWithRelations_WithWhereHas_Call
- func (_c *QueryWithRelations_WithWhereHas_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_WithWhereHas_Call
- func (_c *QueryWithRelations_WithWhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_WithWhereHas_Call
- type Query_Avg_Call
- type Query_BeginTransaction_Call
- type Query_Begin_Call
- type Query_Commit_Call
- type Query_Context_Call
- type Query_Count_Call
- type Query_Create_Call
- type Query_CursorPaginate_Call
- func (_c *Query_CursorPaginate_Call) Return(_a0 db.CursorPaginator, _a1 error) *Query_CursorPaginate_Call
- func (_c *Query_CursorPaginate_Call) Run(run func(perPage int, cursor string, dest interface{})) *Query_CursorPaginate_Call
- func (_c *Query_CursorPaginate_Call) RunAndReturn(run func(int, string, interface{}) (db.CursorPaginator, error)) *Query_CursorPaginate_Call
- type Query_Cursor_Call
- type Query_DB_Call
- type Query_Decrement_Call
- func (_c *Query_Decrement_Call) Return(_a0 *db.Result, _a1 error) *Query_Decrement_Call
- func (_c *Query_Decrement_Call) Run(run func(column string, args ...interface{})) *Query_Decrement_Call
- func (_c *Query_Decrement_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *Query_Decrement_Call
- type Query_Delete_Call
- type Query_Distinct_Call
- type Query_DoesntHaveMorph_Call
- func (_c *Query_DoesntHaveMorph_Call) Return(_a0 orm.Query) *Query_DoesntHaveMorph_Call
- func (_c *Query_DoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_DoesntHaveMorph_Call
- func (_c *Query_DoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_DoesntHaveMorph_Call
- type Query_DoesntHave_Call
- type Query_Driver_Call
- type Query_Except_Call
- type Query_Exec_Call
- type Query_Exists_Call
- type Query_Expecter
- func (_e *Query_Expecter) Avg(column interface{}, dest interface{}) *Query_Avg_Call
- func (_e *Query_Expecter) Begin() *Query_Begin_Call
- func (_e *Query_Expecter) BeginTransaction() *Query_BeginTransaction_Call
- func (_e *Query_Expecter) Commit() *Query_Commit_Call
- func (_e *Query_Expecter) Context() *Query_Context_Call
- func (_e *Query_Expecter) Count() *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) CursorPaginate(perPage interface{}, cursor interface{}, dest interface{}) *Query_CursorPaginate_Call
- func (_e *Query_Expecter) DB() *Query_DB_Call
- func (_e *Query_Expecter) Decrement(column interface{}, args ...interface{}) *Query_Decrement_Call
- func (_e *Query_Expecter) Delete(value ...interface{}) *Query_Delete_Call
- func (_e *Query_Expecter) Distinct(columns ...interface{}) *Query_Distinct_Call
- func (_e *Query_Expecter) DoesntHave(relation interface{}, args ...interface{}) *Query_DoesntHave_Call
- func (_e *Query_Expecter) DoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *Query_DoesntHaveMorph_Call
- func (_e *Query_Expecter) Driver() *Query_Driver_Call
- func (_e *Query_Expecter) Except(models interface{}) *Query_Except_Call
- func (_e *Query_Expecter) Exec(_a0 interface{}, values ...interface{}) *Query_Exec_Call
- func (_e *Query_Expecter) Exists() *Query_Exists_Call
- func (_e *Query_Expecter) Find(dest interface{}, conds ...interface{}) *Query_Find_Call
- func (_e *Query_Expecter) FindMany(dest interface{}, ids interface{}, columns ...interface{}) *Query_FindMany_Call
- func (_e *Query_Expecter) FindOr(dest interface{}, id interface{}, callback interface{}) *Query_FindOr_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{}) *Query_ForceDelete_Call
- func (_e *Query_Expecter) Get(dest interface{}, columns ...interface{}) *Query_Get_Call
- func (_e *Query_Expecter) Group(column interface{}) *Query_Group_Call
- func (_e *Query_Expecter) GroupBy(column ...interface{}) *Query_GroupBy_Call
- func (_e *Query_Expecter) Has(relation interface{}, args ...interface{}) *Query_Has_Call
- func (_e *Query_Expecter) HasMorph(relation interface{}, types interface{}, args ...interface{}) *Query_HasMorph_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) InTransaction() *Query_InTransaction_Call
- func (_e *Query_Expecter) Increment(column interface{}, args ...interface{}) *Query_Increment_Call
- func (_e *Query_Expecter) Join(query interface{}, args ...interface{}) *Query_Join_Call
- func (_e *Query_Expecter) Latest(column ...interface{}) *Query_Latest_Call
- func (_e *Query_Expecter) LatestOfMany(column ...interface{}) *Query_LatestOfMany_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) Max(column interface{}, dest interface{}) *Query_Max_Call
- func (_e *Query_Expecter) Min(column interface{}, dest interface{}) *Query_Min_Call
- func (_e *Query_Expecter) Model(value interface{}) *Query_Model_Call
- func (_e *Query_Expecter) OfMany(column interface{}, aggregate interface{}) *Query_OfMany_Call
- func (_e *Query_Expecter) Offset(offset interface{}) *Query_Offset_Call
- func (_e *Query_Expecter) Oldest(column ...interface{}) *Query_Oldest_Call
- func (_e *Query_Expecter) OldestOfMany(column ...interface{}) *Query_OldestOfMany_Call
- func (_e *Query_Expecter) Omit(columns ...interface{}) *Query_Omit_Call
- func (_e *Query_Expecter) OnlyTrashed() *Query_OnlyTrashed_Call
- func (_e *Query_Expecter) OrDoesntHave(relation interface{}, args ...interface{}) *Query_OrDoesntHave_Call
- func (_e *Query_Expecter) OrDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *Query_OrDoesntHaveMorph_Call
- func (_e *Query_Expecter) OrHas(relation interface{}, args ...interface{}) *Query_OrHas_Call
- func (_e *Query_Expecter) OrHasMorph(relation interface{}, types interface{}, args ...interface{}) *Query_OrHasMorph_Call
- func (_e *Query_Expecter) OrWhere(query interface{}, args ...interface{}) *Query_OrWhere_Call
- func (_e *Query_Expecter) OrWhereBelongsTo(related interface{}, relation ...interface{}) *Query_OrWhereBelongsTo_Call
- func (_e *Query_Expecter) OrWhereBetween(column interface{}, x interface{}, y interface{}) *Query_OrWhereBetween_Call
- func (_e *Query_Expecter) OrWhereDoesntHave(relation interface{}, args ...interface{}) *Query_OrWhereDoesntHave_Call
- func (_e *Query_Expecter) OrWhereDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *Query_OrWhereDoesntHaveMorph_Call
- func (_e *Query_Expecter) OrWhereDoesntHaveRelation(relation interface{}, column interface{}, args ...interface{}) *Query_OrWhereDoesntHaveRelation_Call
- func (_e *Query_Expecter) OrWhereHas(relation interface{}, args ...interface{}) *Query_OrWhereHas_Call
- func (_e *Query_Expecter) OrWhereHasMorph(relation interface{}, types interface{}, args ...interface{}) *Query_OrWhereHasMorph_Call
- func (_e *Query_Expecter) OrWhereIn(column interface{}, values interface{}) *Query_OrWhereIn_Call
- func (_e *Query_Expecter) OrWhereJsonContains(column interface{}, value interface{}) *Query_OrWhereJsonContains_Call
- func (_e *Query_Expecter) OrWhereJsonContainsKey(column interface{}) *Query_OrWhereJsonContainsKey_Call
- func (_e *Query_Expecter) OrWhereJsonDoesntContain(column interface{}, value interface{}) *Query_OrWhereJsonDoesntContain_Call
- func (_e *Query_Expecter) OrWhereJsonDoesntContainKey(column interface{}) *Query_OrWhereJsonDoesntContainKey_Call
- func (_e *Query_Expecter) OrWhereJsonLength(column interface{}, args ...interface{}) *Query_OrWhereJsonLength_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) OrWhereRelation(relation interface{}, column interface{}, args ...interface{}) *Query_OrWhereRelation_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) OrderByRaw(raw interface{}) *Query_OrderByRaw_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(_a0 interface{}, values ...interface{}) *Query_Raw_Call
- func (_e *Query_Expecter) Related(parent interface{}, name interface{}) *Query_Related_Call
- func (_e *Query_Expecter) Relation(parent interface{}, name interface{}) *Query_Relation_Call
- func (_e *Query_Expecter) Restore(model ...interface{}) *Query_Restore_Call
- func (_e *Query_Expecter) Rollback() *Query_Rollback_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(columns ...interface{}) *Query_Select_Call
- func (_e *Query_Expecter) SelectRaw(query interface{}, args ...interface{}) *Query_SelectRaw_Call
- func (_e *Query_Expecter) SharedLock() *Query_SharedLock_Call
- func (_e *Query_Expecter) Sole(dest interface{}) *Query_Sole_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) Touch(column ...interface{}) *Query_Touch_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) Upsert(values interface{}, uniqueBy interface{}, update ...interface{}) *Query_Upsert_Call
- func (_e *Query_Expecter) UseWritePdo() *Query_UseWritePdo_Call
- func (_e *Query_Expecter) Value(column interface{}, dest interface{}) *Query_Value_Call
- func (_e *Query_Expecter) When(condition interface{}, callback interface{}, falseCallback ...interface{}) *Query_When_Call
- func (_e *Query_Expecter) Where(query interface{}, args ...interface{}) *Query_Where_Call
- func (_e *Query_Expecter) WhereAll(columns interface{}, args ...interface{}) *Query_WhereAll_Call
- func (_e *Query_Expecter) WhereAny(columns interface{}, args ...interface{}) *Query_WhereAny_Call
- func (_e *Query_Expecter) WhereBelongsTo(related interface{}, relation ...interface{}) *Query_WhereBelongsTo_Call
- func (_e *Query_Expecter) WhereBetween(column interface{}, x interface{}, y interface{}) *Query_WhereBetween_Call
- func (_e *Query_Expecter) WhereDoesntHave(relation interface{}, args ...interface{}) *Query_WhereDoesntHave_Call
- func (_e *Query_Expecter) WhereDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *Query_WhereDoesntHaveMorph_Call
- func (_e *Query_Expecter) WhereDoesntHaveRelation(relation interface{}, column interface{}, args ...interface{}) *Query_WhereDoesntHaveRelation_Call
- func (_e *Query_Expecter) WhereHas(relation interface{}, args ...interface{}) *Query_WhereHas_Call
- func (_e *Query_Expecter) WhereHasMorph(relation interface{}, types interface{}, args ...interface{}) *Query_WhereHasMorph_Call
- func (_e *Query_Expecter) WhereIn(column interface{}, values interface{}) *Query_WhereIn_Call
- func (_e *Query_Expecter) WhereJsonContains(column interface{}, value interface{}) *Query_WhereJsonContains_Call
- func (_e *Query_Expecter) WhereJsonContainsKey(column interface{}) *Query_WhereJsonContainsKey_Call
- func (_e *Query_Expecter) WhereJsonDoesntContain(column interface{}, value interface{}) *Query_WhereJsonDoesntContain_Call
- func (_e *Query_Expecter) WhereJsonDoesntContainKey(column interface{}) *Query_WhereJsonDoesntContainKey_Call
- func (_e *Query_Expecter) WhereJsonLength(column interface{}, args ...interface{}) *Query_WhereJsonLength_Call
- func (_e *Query_Expecter) WhereKey(id interface{}) *Query_WhereKey_Call
- func (_e *Query_Expecter) WhereKeyNot(id interface{}) *Query_WhereKeyNot_Call
- func (_e *Query_Expecter) WhereNone(columns interface{}, args ...interface{}) *Query_WhereNone_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) WhereRelation(relation interface{}, column interface{}, args ...interface{}) *Query_WhereRelation_Call
- func (_e *Query_Expecter) With(args ...interface{}) *Query_With_Call
- func (_e *Query_Expecter) WithAggregate(relation interface{}, column interface{}, fn interface{}, args ...interface{}) *Query_WithAggregate_Call
- func (_e *Query_Expecter) WithAttributes(attributes interface{}, args ...interface{}) *Query_WithAttributes_Call
- func (_e *Query_Expecter) WithAvg(relation interface{}, column interface{}, args ...interface{}) *Query_WithAvg_Call
- func (_e *Query_Expecter) WithCount(relations ...interface{}) *Query_WithCount_Call
- func (_e *Query_Expecter) WithExists(relations ...interface{}) *Query_WithExists_Call
- func (_e *Query_Expecter) WithMax(relation interface{}, column interface{}, args ...interface{}) *Query_WithMax_Call
- func (_e *Query_Expecter) WithMin(relation interface{}, column interface{}, args ...interface{}) *Query_WithMin_Call
- func (_e *Query_Expecter) WithOnly(args ...interface{}) *Query_WithOnly_Call
- func (_e *Query_Expecter) WithSum(relation interface{}, column interface{}, args ...interface{}) *Query_WithSum_Call
- func (_e *Query_Expecter) WithTrashed() *Query_WithTrashed_Call
- func (_e *Query_Expecter) WithWhereHas(relation interface{}, args ...interface{}) *Query_WithWhereHas_Call
- func (_e *Query_Expecter) Without(relations ...interface{}) *Query_Without_Call
- func (_e *Query_Expecter) WithoutEvents() *Query_WithoutEvents_Call
- func (_e *Query_Expecter) WithoutGlobalScopes(names ...interface{}) *Query_WithoutGlobalScopes_Call
- type Query_FindMany_Call
- func (_c *Query_FindMany_Call) Return(_a0 error) *Query_FindMany_Call
- func (_c *Query_FindMany_Call) Run(run func(dest interface{}, ids []interface{}, columns ...interface{})) *Query_FindMany_Call
- func (_c *Query_FindMany_Call) RunAndReturn(run func(interface{}, []interface{}, ...interface{}) error) *Query_FindMany_Call
- type Query_FindOrFail_Call
- type Query_FindOr_Call
- func (_c *Query_FindOr_Call) Return(_a0 error) *Query_FindOr_Call
- func (_c *Query_FindOr_Call) Run(run func(dest interface{}, id interface{}, callback func() error)) *Query_FindOr_Call
- func (_c *Query_FindOr_Call) RunAndReturn(run func(interface{}, interface{}, func() error) error) *Query_FindOr_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 *db.Result, _a1 error) *Query_ForceDelete_Call
- func (_c *Query_ForceDelete_Call) Run(run func(value ...interface{})) *Query_ForceDelete_Call
- func (_c *Query_ForceDelete_Call) RunAndReturn(run func(...interface{}) (*db.Result, error)) *Query_ForceDelete_Call
- type Query_Get_Call
- type Query_GroupBy_Call
- type Query_Group_Call
- type Query_HasMorph_Call
- func (_c *Query_HasMorph_Call) Return(_a0 orm.Query) *Query_HasMorph_Call
- func (_c *Query_HasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_HasMorph_Call
- func (_c *Query_HasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_HasMorph_Call
- type Query_Has_Call
- type Query_Having_Call
- type Query_InRandomOrder_Call
- type Query_InTransaction_Call
- type Query_Increment_Call
- func (_c *Query_Increment_Call) Return(_a0 *db.Result, _a1 error) *Query_Increment_Call
- func (_c *Query_Increment_Call) Run(run func(column string, args ...interface{})) *Query_Increment_Call
- func (_c *Query_Increment_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *Query_Increment_Call
- type Query_Join_Call
- type Query_LatestOfMany_Call
- type Query_Latest_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_Max_Call
- type Query_Min_Call
- type Query_Model_Call
- type Query_OfMany_Call
- type Query_Offset_Call
- type Query_OldestOfMany_Call
- type Query_Oldest_Call
- type Query_Omit_Call
- type Query_OnlyTrashed_Call
- type Query_OrDoesntHaveMorph_Call
- func (_c *Query_OrDoesntHaveMorph_Call) Return(_a0 orm.Query) *Query_OrDoesntHaveMorph_Call
- func (_c *Query_OrDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_OrDoesntHaveMorph_Call
- func (_c *Query_OrDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_OrDoesntHaveMorph_Call
- type Query_OrDoesntHave_Call
- func (_c *Query_OrDoesntHave_Call) Return(_a0 orm.Query) *Query_OrDoesntHave_Call
- func (_c *Query_OrDoesntHave_Call) Run(run func(relation string, args ...interface{})) *Query_OrDoesntHave_Call
- func (_c *Query_OrDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_OrDoesntHave_Call
- type Query_OrHasMorph_Call
- func (_c *Query_OrHasMorph_Call) Return(_a0 orm.Query) *Query_OrHasMorph_Call
- func (_c *Query_OrHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_OrHasMorph_Call
- func (_c *Query_OrHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_OrHasMorph_Call
- type Query_OrHas_Call
- type Query_OrWhereBelongsTo_Call
- func (_c *Query_OrWhereBelongsTo_Call) Return(_a0 orm.Query) *Query_OrWhereBelongsTo_Call
- func (_c *Query_OrWhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *Query_OrWhereBelongsTo_Call
- func (_c *Query_OrWhereBelongsTo_Call) RunAndReturn(run func(interface{}, ...string) orm.Query) *Query_OrWhereBelongsTo_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_OrWhereDoesntHaveMorph_Call
- func (_c *Query_OrWhereDoesntHaveMorph_Call) Return(_a0 orm.Query) *Query_OrWhereDoesntHaveMorph_Call
- func (_c *Query_OrWhereDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_OrWhereDoesntHaveMorph_Call
- func (_c *Query_OrWhereDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_OrWhereDoesntHaveMorph_Call
- type Query_OrWhereDoesntHaveRelation_Call
- func (_c *Query_OrWhereDoesntHaveRelation_Call) Return(_a0 orm.Query) *Query_OrWhereDoesntHaveRelation_Call
- func (_c *Query_OrWhereDoesntHaveRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *Query_OrWhereDoesntHaveRelation_Call
- func (_c *Query_OrWhereDoesntHaveRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *Query_OrWhereDoesntHaveRelation_Call
- type Query_OrWhereDoesntHave_Call
- func (_c *Query_OrWhereDoesntHave_Call) Return(_a0 orm.Query) *Query_OrWhereDoesntHave_Call
- func (_c *Query_OrWhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *Query_OrWhereDoesntHave_Call
- func (_c *Query_OrWhereDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_OrWhereDoesntHave_Call
- type Query_OrWhereHasMorph_Call
- func (_c *Query_OrWhereHasMorph_Call) Return(_a0 orm.Query) *Query_OrWhereHasMorph_Call
- func (_c *Query_OrWhereHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_OrWhereHasMorph_Call
- func (_c *Query_OrWhereHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_OrWhereHasMorph_Call
- type Query_OrWhereHas_Call
- type Query_OrWhereIn_Call
- type Query_OrWhereJsonContainsKey_Call
- func (_c *Query_OrWhereJsonContainsKey_Call) Return(_a0 orm.Query) *Query_OrWhereJsonContainsKey_Call
- func (_c *Query_OrWhereJsonContainsKey_Call) Run(run func(column string)) *Query_OrWhereJsonContainsKey_Call
- func (_c *Query_OrWhereJsonContainsKey_Call) RunAndReturn(run func(string) orm.Query) *Query_OrWhereJsonContainsKey_Call
- type Query_OrWhereJsonContains_Call
- func (_c *Query_OrWhereJsonContains_Call) Return(_a0 orm.Query) *Query_OrWhereJsonContains_Call
- func (_c *Query_OrWhereJsonContains_Call) Run(run func(column string, value interface{})) *Query_OrWhereJsonContains_Call
- func (_c *Query_OrWhereJsonContains_Call) RunAndReturn(run func(string, interface{}) orm.Query) *Query_OrWhereJsonContains_Call
- type Query_OrWhereJsonDoesntContainKey_Call
- func (_c *Query_OrWhereJsonDoesntContainKey_Call) Return(_a0 orm.Query) *Query_OrWhereJsonDoesntContainKey_Call
- func (_c *Query_OrWhereJsonDoesntContainKey_Call) Run(run func(column string)) *Query_OrWhereJsonDoesntContainKey_Call
- func (_c *Query_OrWhereJsonDoesntContainKey_Call) RunAndReturn(run func(string) orm.Query) *Query_OrWhereJsonDoesntContainKey_Call
- type Query_OrWhereJsonDoesntContain_Call
- func (_c *Query_OrWhereJsonDoesntContain_Call) Return(_a0 orm.Query) *Query_OrWhereJsonDoesntContain_Call
- func (_c *Query_OrWhereJsonDoesntContain_Call) Run(run func(column string, value interface{})) *Query_OrWhereJsonDoesntContain_Call
- func (_c *Query_OrWhereJsonDoesntContain_Call) RunAndReturn(run func(string, interface{}) orm.Query) *Query_OrWhereJsonDoesntContain_Call
- type Query_OrWhereJsonLength_Call
- func (_c *Query_OrWhereJsonLength_Call) Return(_a0 orm.Query) *Query_OrWhereJsonLength_Call
- func (_c *Query_OrWhereJsonLength_Call) Run(run func(column string, args ...interface{})) *Query_OrWhereJsonLength_Call
- func (_c *Query_OrWhereJsonLength_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_OrWhereJsonLength_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_OrWhereRelation_Call
- func (_c *Query_OrWhereRelation_Call) Return(_a0 orm.Query) *Query_OrWhereRelation_Call
- func (_c *Query_OrWhereRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *Query_OrWhereRelation_Call
- func (_c *Query_OrWhereRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *Query_OrWhereRelation_Call
- type Query_OrWhere_Call
- type Query_OrderByDesc_Call
- type Query_OrderByRaw_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_Related_Call
- type Query_Relation_Call
- type Query_Restore_Call
- type Query_Rollback_Call
- type Query_SaveQuietly_Call
- type Query_Save_Call
- type Query_Scan_Call
- type Query_Scopes_Call
- type Query_SelectRaw_Call
- type Query_Select_Call
- type Query_SharedLock_Call
- type Query_Sole_Call
- type Query_Sum_Call
- type Query_Table_Call
- type Query_ToRawSql_Call
- type Query_ToSql_Call
- type Query_Touch_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 *db.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{}) (*db.Result, error)) *Query_Update_Call
- type Query_Upsert_Call
- func (_c *Query_Upsert_Call) Return(_a0 *db.Result, _a1 error) *Query_Upsert_Call
- func (_c *Query_Upsert_Call) Run(run func(values interface{}, uniqueBy []string, update ...interface{})) *Query_Upsert_Call
- func (_c *Query_Upsert_Call) RunAndReturn(run func(interface{}, []string, ...interface{}) (*db.Result, error)) *Query_Upsert_Call
- type Query_UseWritePdo_Call
- type Query_Value_Call
- type Query_When_Call
- type Query_WhereAll_Call
- type Query_WhereAny_Call
- type Query_WhereBelongsTo_Call
- func (_c *Query_WhereBelongsTo_Call) Return(_a0 orm.Query) *Query_WhereBelongsTo_Call
- func (_c *Query_WhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *Query_WhereBelongsTo_Call
- func (_c *Query_WhereBelongsTo_Call) RunAndReturn(run func(interface{}, ...string) orm.Query) *Query_WhereBelongsTo_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_WhereDoesntHaveMorph_Call
- func (_c *Query_WhereDoesntHaveMorph_Call) Return(_a0 orm.Query) *Query_WhereDoesntHaveMorph_Call
- func (_c *Query_WhereDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_WhereDoesntHaveMorph_Call
- func (_c *Query_WhereDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_WhereDoesntHaveMorph_Call
- type Query_WhereDoesntHaveRelation_Call
- func (_c *Query_WhereDoesntHaveRelation_Call) Return(_a0 orm.Query) *Query_WhereDoesntHaveRelation_Call
- func (_c *Query_WhereDoesntHaveRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *Query_WhereDoesntHaveRelation_Call
- func (_c *Query_WhereDoesntHaveRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *Query_WhereDoesntHaveRelation_Call
- type Query_WhereDoesntHave_Call
- func (_c *Query_WhereDoesntHave_Call) Return(_a0 orm.Query) *Query_WhereDoesntHave_Call
- func (_c *Query_WhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *Query_WhereDoesntHave_Call
- func (_c *Query_WhereDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_WhereDoesntHave_Call
- type Query_WhereHasMorph_Call
- func (_c *Query_WhereHasMorph_Call) Return(_a0 orm.Query) *Query_WhereHasMorph_Call
- func (_c *Query_WhereHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_WhereHasMorph_Call
- func (_c *Query_WhereHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_WhereHasMorph_Call
- type Query_WhereHas_Call
- type Query_WhereIn_Call
- type Query_WhereJsonContainsKey_Call
- func (_c *Query_WhereJsonContainsKey_Call) Return(_a0 orm.Query) *Query_WhereJsonContainsKey_Call
- func (_c *Query_WhereJsonContainsKey_Call) Run(run func(column string)) *Query_WhereJsonContainsKey_Call
- func (_c *Query_WhereJsonContainsKey_Call) RunAndReturn(run func(string) orm.Query) *Query_WhereJsonContainsKey_Call
- type Query_WhereJsonContains_Call
- func (_c *Query_WhereJsonContains_Call) Return(_a0 orm.Query) *Query_WhereJsonContains_Call
- func (_c *Query_WhereJsonContains_Call) Run(run func(column string, value interface{})) *Query_WhereJsonContains_Call
- func (_c *Query_WhereJsonContains_Call) RunAndReturn(run func(string, interface{}) orm.Query) *Query_WhereJsonContains_Call
- type Query_WhereJsonDoesntContainKey_Call
- func (_c *Query_WhereJsonDoesntContainKey_Call) Return(_a0 orm.Query) *Query_WhereJsonDoesntContainKey_Call
- func (_c *Query_WhereJsonDoesntContainKey_Call) Run(run func(column string)) *Query_WhereJsonDoesntContainKey_Call
- func (_c *Query_WhereJsonDoesntContainKey_Call) RunAndReturn(run func(string) orm.Query) *Query_WhereJsonDoesntContainKey_Call
- type Query_WhereJsonDoesntContain_Call
- func (_c *Query_WhereJsonDoesntContain_Call) Return(_a0 orm.Query) *Query_WhereJsonDoesntContain_Call
- func (_c *Query_WhereJsonDoesntContain_Call) Run(run func(column string, value interface{})) *Query_WhereJsonDoesntContain_Call
- func (_c *Query_WhereJsonDoesntContain_Call) RunAndReturn(run func(string, interface{}) orm.Query) *Query_WhereJsonDoesntContain_Call
- type Query_WhereJsonLength_Call
- func (_c *Query_WhereJsonLength_Call) Return(_a0 orm.Query) *Query_WhereJsonLength_Call
- func (_c *Query_WhereJsonLength_Call) Run(run func(column string, args ...interface{})) *Query_WhereJsonLength_Call
- func (_c *Query_WhereJsonLength_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_WhereJsonLength_Call
- type Query_WhereKeyNot_Call
- type Query_WhereKey_Call
- type Query_WhereNone_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_WhereRelation_Call
- func (_c *Query_WhereRelation_Call) Return(_a0 orm.Query) *Query_WhereRelation_Call
- func (_c *Query_WhereRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *Query_WhereRelation_Call
- func (_c *Query_WhereRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *Query_WhereRelation_Call
- type Query_Where_Call
- type Query_WithAggregate_Call
- func (_c *Query_WithAggregate_Call) Return(_a0 orm.Query) *Query_WithAggregate_Call
- func (_c *Query_WithAggregate_Call) Run(run func(relation string, column string, fn string, args ...interface{})) *Query_WithAggregate_Call
- func (_c *Query_WithAggregate_Call) RunAndReturn(run func(string, string, string, ...interface{}) orm.Query) *Query_WithAggregate_Call
- type Query_WithAttributes_Call
- func (_c *Query_WithAttributes_Call) Return(_a0 orm.Query) *Query_WithAttributes_Call
- func (_c *Query_WithAttributes_Call) Run(run func(attributes interface{}, args ...interface{})) *Query_WithAttributes_Call
- func (_c *Query_WithAttributes_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Query_WithAttributes_Call
- type Query_WithAvg_Call
- func (_c *Query_WithAvg_Call) Return(_a0 orm.Query) *Query_WithAvg_Call
- func (_c *Query_WithAvg_Call) Run(run func(relation string, column string, args ...interface{})) *Query_WithAvg_Call
- func (_c *Query_WithAvg_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *Query_WithAvg_Call
- type Query_WithCount_Call
- type Query_WithExists_Call
- type Query_WithMax_Call
- func (_c *Query_WithMax_Call) Return(_a0 orm.Query) *Query_WithMax_Call
- func (_c *Query_WithMax_Call) Run(run func(relation string, column string, args ...interface{})) *Query_WithMax_Call
- func (_c *Query_WithMax_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *Query_WithMax_Call
- type Query_WithMin_Call
- func (_c *Query_WithMin_Call) Return(_a0 orm.Query) *Query_WithMin_Call
- func (_c *Query_WithMin_Call) Run(run func(relation string, column string, args ...interface{})) *Query_WithMin_Call
- func (_c *Query_WithMin_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *Query_WithMin_Call
- type Query_WithOnly_Call
- type Query_WithSum_Call
- func (_c *Query_WithSum_Call) Return(_a0 orm.Query) *Query_WithSum_Call
- func (_c *Query_WithSum_Call) Run(run func(relation string, column string, args ...interface{})) *Query_WithSum_Call
- func (_c *Query_WithSum_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *Query_WithSum_Call
- type Query_WithTrashed_Call
- type Query_WithWhereHas_Call
- func (_c *Query_WithWhereHas_Call) Return(_a0 orm.Query) *Query_WithWhereHas_Call
- func (_c *Query_WithWhereHas_Call) Run(run func(relation string, args ...interface{})) *Query_WithWhereHas_Call
- func (_c *Query_WithWhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_WithWhereHas_Call
- type Query_With_Call
- type Query_WithoutEvents_Call
- type Query_WithoutGlobalScopes_Call
- func (_c *Query_WithoutGlobalScopes_Call) Return(_a0 orm.Query) *Query_WithoutGlobalScopes_Call
- func (_c *Query_WithoutGlobalScopes_Call) Run(run func(names ...string)) *Query_WithoutGlobalScopes_Call
- func (_c *Query_WithoutGlobalScopes_Call) RunAndReturn(run func(...string) orm.Query) *Query_WithoutGlobalScopes_Call
- type Query_Without_Call
- type Relation
- type RelationCallback
- type RelationCallback_Execute_Call
- func (_c *RelationCallback_Execute_Call) Return(_a0 orm.Query) *RelationCallback_Execute_Call
- func (_c *RelationCallback_Execute_Call) Run(run func(query orm.Query)) *RelationCallback_Execute_Call
- func (_c *RelationCallback_Execute_Call) RunAndReturn(run func(orm.Query) orm.Query) *RelationCallback_Execute_Call
- type RelationCallback_Expecter
- type RelationWriter
- func (_m *RelationWriter) Associate(owner interface{}) error
- func (_m *RelationWriter) Attach(ids []interface{}) error
- func (_m *RelationWriter) AttachWithPivot(idsWithAttrs map[interface{}]map[string]interface{}) error
- func (_m *RelationWriter) Create(dest interface{}) error
- func (_m *RelationWriter) CreateMany(dests interface{}) error
- func (_m *RelationWriter) Detach(ids ...interface{}) (int64, error)
- func (_m *RelationWriter) Dissociate() error
- func (_m *RelationWriter) EXPECT() *RelationWriter_Expecter
- func (_m *RelationWriter) FindOrNew(id interface{}, dest interface{}) error
- func (_m *RelationWriter) FirstOrCreate(attrs map[string]interface{}, values map[string]interface{}, dest interface{}) error
- func (_m *RelationWriter) FirstOrNew(attrs map[string]interface{}, values map[string]interface{}, dest interface{}) error
- func (_m *RelationWriter) Save(child interface{}) error
- func (_m *RelationWriter) SaveMany(children interface{}) error
- func (_m *RelationWriter) SaveManyWithPivot(children interface{}, attrsPerChild map[interface{}]map[string]interface{}) error
- func (_m *RelationWriter) SaveWithPivot(child interface{}, attrs map[string]interface{}) error
- func (_m *RelationWriter) Sync(ids []interface{}) (*db.SyncResult, error)
- func (_m *RelationWriter) SyncWithPivot(idsWithAttrs map[interface{}]map[string]interface{}) (*db.SyncResult, error)
- func (_m *RelationWriter) SyncWithPivotValues(ids []interface{}, pivotValues map[string]interface{}) (*db.SyncResult, error)
- func (_m *RelationWriter) SyncWithoutDetaching(ids []interface{}) (*db.SyncResult, error)
- func (_m *RelationWriter) SyncWithoutDetachingWithPivot(idsWithAttrs map[interface{}]map[string]interface{}) (*db.SyncResult, error)
- func (_m *RelationWriter) Toggle(ids []interface{}) (*db.SyncResult, error)
- func (_m *RelationWriter) ToggleWithPivot(idsWithAttrs map[interface{}]map[string]interface{}) (*db.SyncResult, error)
- func (_m *RelationWriter) UpdateExistingPivot(id interface{}, attrs map[string]interface{}) (int64, error)
- func (_m *RelationWriter) UpdateOrCreate(attrs map[string]interface{}, values map[string]interface{}, dest interface{}) error
- type RelationWriter_Associate_Call
- func (_c *RelationWriter_Associate_Call) Return(_a0 error) *RelationWriter_Associate_Call
- func (_c *RelationWriter_Associate_Call) Run(run func(owner interface{})) *RelationWriter_Associate_Call
- func (_c *RelationWriter_Associate_Call) RunAndReturn(run func(interface{}) error) *RelationWriter_Associate_Call
- type RelationWriter_AttachWithPivot_Call
- func (_c *RelationWriter_AttachWithPivot_Call) Return(_a0 error) *RelationWriter_AttachWithPivot_Call
- func (_c *RelationWriter_AttachWithPivot_Call) Run(run func(idsWithAttrs map[interface{}]map[string]interface{})) *RelationWriter_AttachWithPivot_Call
- func (_c *RelationWriter_AttachWithPivot_Call) RunAndReturn(run func(map[interface{}]map[string]interface{}) error) *RelationWriter_AttachWithPivot_Call
- type RelationWriter_Attach_Call
- type RelationWriter_CreateMany_Call
- func (_c *RelationWriter_CreateMany_Call) Return(_a0 error) *RelationWriter_CreateMany_Call
- func (_c *RelationWriter_CreateMany_Call) Run(run func(dests interface{})) *RelationWriter_CreateMany_Call
- func (_c *RelationWriter_CreateMany_Call) RunAndReturn(run func(interface{}) error) *RelationWriter_CreateMany_Call
- type RelationWriter_Create_Call
- type RelationWriter_Detach_Call
- func (_c *RelationWriter_Detach_Call) Return(_a0 int64, _a1 error) *RelationWriter_Detach_Call
- func (_c *RelationWriter_Detach_Call) Run(run func(ids ...interface{})) *RelationWriter_Detach_Call
- func (_c *RelationWriter_Detach_Call) RunAndReturn(run func(...interface{}) (int64, error)) *RelationWriter_Detach_Call
- type RelationWriter_Dissociate_Call
- type RelationWriter_Expecter
- func (_e *RelationWriter_Expecter) Associate(owner interface{}) *RelationWriter_Associate_Call
- func (_e *RelationWriter_Expecter) Attach(ids interface{}) *RelationWriter_Attach_Call
- func (_e *RelationWriter_Expecter) AttachWithPivot(idsWithAttrs interface{}) *RelationWriter_AttachWithPivot_Call
- func (_e *RelationWriter_Expecter) Create(dest interface{}) *RelationWriter_Create_Call
- func (_e *RelationWriter_Expecter) CreateMany(dests interface{}) *RelationWriter_CreateMany_Call
- func (_e *RelationWriter_Expecter) Detach(ids ...interface{}) *RelationWriter_Detach_Call
- func (_e *RelationWriter_Expecter) Dissociate() *RelationWriter_Dissociate_Call
- func (_e *RelationWriter_Expecter) FindOrNew(id interface{}, dest interface{}) *RelationWriter_FindOrNew_Call
- func (_e *RelationWriter_Expecter) FirstOrCreate(attrs interface{}, values interface{}, dest interface{}) *RelationWriter_FirstOrCreate_Call
- func (_e *RelationWriter_Expecter) FirstOrNew(attrs interface{}, values interface{}, dest interface{}) *RelationWriter_FirstOrNew_Call
- func (_e *RelationWriter_Expecter) Save(child interface{}) *RelationWriter_Save_Call
- func (_e *RelationWriter_Expecter) SaveMany(children interface{}) *RelationWriter_SaveMany_Call
- func (_e *RelationWriter_Expecter) SaveManyWithPivot(children interface{}, attrsPerChild interface{}) *RelationWriter_SaveManyWithPivot_Call
- func (_e *RelationWriter_Expecter) SaveWithPivot(child interface{}, attrs interface{}) *RelationWriter_SaveWithPivot_Call
- func (_e *RelationWriter_Expecter) Sync(ids interface{}) *RelationWriter_Sync_Call
- func (_e *RelationWriter_Expecter) SyncWithPivot(idsWithAttrs interface{}) *RelationWriter_SyncWithPivot_Call
- func (_e *RelationWriter_Expecter) SyncWithPivotValues(ids interface{}, pivotValues interface{}) *RelationWriter_SyncWithPivotValues_Call
- func (_e *RelationWriter_Expecter) SyncWithoutDetaching(ids interface{}) *RelationWriter_SyncWithoutDetaching_Call
- func (_e *RelationWriter_Expecter) SyncWithoutDetachingWithPivot(idsWithAttrs interface{}) *RelationWriter_SyncWithoutDetachingWithPivot_Call
- func (_e *RelationWriter_Expecter) Toggle(ids interface{}) *RelationWriter_Toggle_Call
- func (_e *RelationWriter_Expecter) ToggleWithPivot(idsWithAttrs interface{}) *RelationWriter_ToggleWithPivot_Call
- func (_e *RelationWriter_Expecter) UpdateExistingPivot(id interface{}, attrs interface{}) *RelationWriter_UpdateExistingPivot_Call
- func (_e *RelationWriter_Expecter) UpdateOrCreate(attrs interface{}, values interface{}, dest interface{}) *RelationWriter_UpdateOrCreate_Call
- type RelationWriter_FindOrNew_Call
- func (_c *RelationWriter_FindOrNew_Call) Return(_a0 error) *RelationWriter_FindOrNew_Call
- func (_c *RelationWriter_FindOrNew_Call) Run(run func(id interface{}, dest interface{})) *RelationWriter_FindOrNew_Call
- func (_c *RelationWriter_FindOrNew_Call) RunAndReturn(run func(interface{}, interface{}) error) *RelationWriter_FindOrNew_Call
- type RelationWriter_FirstOrCreate_Call
- func (_c *RelationWriter_FirstOrCreate_Call) Return(_a0 error) *RelationWriter_FirstOrCreate_Call
- func (_c *RelationWriter_FirstOrCreate_Call) Run(...) *RelationWriter_FirstOrCreate_Call
- func (_c *RelationWriter_FirstOrCreate_Call) RunAndReturn(run func(map[string]interface{}, map[string]interface{}, interface{}) error) *RelationWriter_FirstOrCreate_Call
- type RelationWriter_FirstOrNew_Call
- func (_c *RelationWriter_FirstOrNew_Call) Return(_a0 error) *RelationWriter_FirstOrNew_Call
- func (_c *RelationWriter_FirstOrNew_Call) Run(...) *RelationWriter_FirstOrNew_Call
- func (_c *RelationWriter_FirstOrNew_Call) RunAndReturn(run func(map[string]interface{}, map[string]interface{}, interface{}) error) *RelationWriter_FirstOrNew_Call
- type RelationWriter_SaveManyWithPivot_Call
- func (_c *RelationWriter_SaveManyWithPivot_Call) Return(_a0 error) *RelationWriter_SaveManyWithPivot_Call
- func (_c *RelationWriter_SaveManyWithPivot_Call) Run(...) *RelationWriter_SaveManyWithPivot_Call
- func (_c *RelationWriter_SaveManyWithPivot_Call) RunAndReturn(run func(interface{}, map[interface{}]map[string]interface{}) error) *RelationWriter_SaveManyWithPivot_Call
- type RelationWriter_SaveMany_Call
- func (_c *RelationWriter_SaveMany_Call) Return(_a0 error) *RelationWriter_SaveMany_Call
- func (_c *RelationWriter_SaveMany_Call) Run(run func(children interface{})) *RelationWriter_SaveMany_Call
- func (_c *RelationWriter_SaveMany_Call) RunAndReturn(run func(interface{}) error) *RelationWriter_SaveMany_Call
- type RelationWriter_SaveWithPivot_Call
- func (_c *RelationWriter_SaveWithPivot_Call) Return(_a0 error) *RelationWriter_SaveWithPivot_Call
- func (_c *RelationWriter_SaveWithPivot_Call) Run(run func(child interface{}, attrs map[string]interface{})) *RelationWriter_SaveWithPivot_Call
- func (_c *RelationWriter_SaveWithPivot_Call) RunAndReturn(run func(interface{}, map[string]interface{}) error) *RelationWriter_SaveWithPivot_Call
- type RelationWriter_Save_Call
- type RelationWriter_SyncWithPivotValues_Call
- func (_c *RelationWriter_SyncWithPivotValues_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_SyncWithPivotValues_Call
- func (_c *RelationWriter_SyncWithPivotValues_Call) Run(run func(ids []interface{}, pivotValues map[string]interface{})) *RelationWriter_SyncWithPivotValues_Call
- func (_c *RelationWriter_SyncWithPivotValues_Call) RunAndReturn(run func([]interface{}, map[string]interface{}) (*db.SyncResult, error)) *RelationWriter_SyncWithPivotValues_Call
- type RelationWriter_SyncWithPivot_Call
- func (_c *RelationWriter_SyncWithPivot_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_SyncWithPivot_Call
- func (_c *RelationWriter_SyncWithPivot_Call) Run(run func(idsWithAttrs map[interface{}]map[string]interface{})) *RelationWriter_SyncWithPivot_Call
- func (_c *RelationWriter_SyncWithPivot_Call) RunAndReturn(run func(map[interface{}]map[string]interface{}) (*db.SyncResult, error)) *RelationWriter_SyncWithPivot_Call
- type RelationWriter_SyncWithoutDetachingWithPivot_Call
- func (_c *RelationWriter_SyncWithoutDetachingWithPivot_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_SyncWithoutDetachingWithPivot_Call
- func (_c *RelationWriter_SyncWithoutDetachingWithPivot_Call) Run(run func(idsWithAttrs map[interface{}]map[string]interface{})) *RelationWriter_SyncWithoutDetachingWithPivot_Call
- func (_c *RelationWriter_SyncWithoutDetachingWithPivot_Call) RunAndReturn(run func(map[interface{}]map[string]interface{}) (*db.SyncResult, error)) *RelationWriter_SyncWithoutDetachingWithPivot_Call
- type RelationWriter_SyncWithoutDetaching_Call
- func (_c *RelationWriter_SyncWithoutDetaching_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_SyncWithoutDetaching_Call
- func (_c *RelationWriter_SyncWithoutDetaching_Call) Run(run func(ids []interface{})) *RelationWriter_SyncWithoutDetaching_Call
- func (_c *RelationWriter_SyncWithoutDetaching_Call) RunAndReturn(run func([]interface{}) (*db.SyncResult, error)) *RelationWriter_SyncWithoutDetaching_Call
- type RelationWriter_Sync_Call
- func (_c *RelationWriter_Sync_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_Sync_Call
- func (_c *RelationWriter_Sync_Call) Run(run func(ids []interface{})) *RelationWriter_Sync_Call
- func (_c *RelationWriter_Sync_Call) RunAndReturn(run func([]interface{}) (*db.SyncResult, error)) *RelationWriter_Sync_Call
- type RelationWriter_ToggleWithPivot_Call
- func (_c *RelationWriter_ToggleWithPivot_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_ToggleWithPivot_Call
- func (_c *RelationWriter_ToggleWithPivot_Call) Run(run func(idsWithAttrs map[interface{}]map[string]interface{})) *RelationWriter_ToggleWithPivot_Call
- func (_c *RelationWriter_ToggleWithPivot_Call) RunAndReturn(run func(map[interface{}]map[string]interface{}) (*db.SyncResult, error)) *RelationWriter_ToggleWithPivot_Call
- type RelationWriter_Toggle_Call
- func (_c *RelationWriter_Toggle_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_Toggle_Call
- func (_c *RelationWriter_Toggle_Call) Run(run func(ids []interface{})) *RelationWriter_Toggle_Call
- func (_c *RelationWriter_Toggle_Call) RunAndReturn(run func([]interface{}) (*db.SyncResult, error)) *RelationWriter_Toggle_Call
- type RelationWriter_UpdateExistingPivot_Call
- func (_c *RelationWriter_UpdateExistingPivot_Call) Return(_a0 int64, _a1 error) *RelationWriter_UpdateExistingPivot_Call
- func (_c *RelationWriter_UpdateExistingPivot_Call) Run(run func(id interface{}, attrs map[string]interface{})) *RelationWriter_UpdateExistingPivot_Call
- func (_c *RelationWriter_UpdateExistingPivot_Call) RunAndReturn(run func(interface{}, map[string]interface{}) (int64, error)) *RelationWriter_UpdateExistingPivot_Call
- type RelationWriter_UpdateOrCreate_Call
- func (_c *RelationWriter_UpdateOrCreate_Call) Return(_a0 error) *RelationWriter_UpdateOrCreate_Call
- func (_c *RelationWriter_UpdateOrCreate_Call) Run(...) *RelationWriter_UpdateOrCreate_Call
- func (_c *RelationWriter_UpdateOrCreate_Call) RunAndReturn(run func(map[string]interface{}, map[string]interface{}, interface{}) error) *RelationWriter_UpdateOrCreate_Call
- type Relation_Expecter
- type Relation_Kind_Call
- type ToSql
- func (_m *ToSql) Count() string
- func (_m *ToSql) Create(value interface{}) string
- func (_m *ToSql) Delete(value ...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) ForceDelete(value ...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{}) *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) ForceDelete(value ...interface{}) *ToSql_ForceDelete_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_ForceDelete_Call
- type ToSql_Get_Call
- type ToSql_Pluck_Call
- type ToSql_Save_Call
- type ToSql_Sum_Call
- type ToSql_Update_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 no 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 ModelWithConnection ¶
ModelWithConnection is an autogenerated mock type for the ModelWithConnection type
func NewModelWithConnection ¶
func NewModelWithConnection(t interface {
mock.TestingT
Cleanup(func())
}) *ModelWithConnection
NewModelWithConnection creates a new instance of ModelWithConnection. 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 (*ModelWithConnection) Connection ¶
func (_m *ModelWithConnection) Connection() string
Connection provides a mock function with no fields
func (*ModelWithConnection) EXPECT ¶
func (_m *ModelWithConnection) EXPECT() *ModelWithConnection_Expecter
type ModelWithConnection_Connection_Call ¶
ModelWithConnection_Connection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connection'
func (*ModelWithConnection_Connection_Call) Return ¶
func (_c *ModelWithConnection_Connection_Call) Return(_a0 string) *ModelWithConnection_Connection_Call
func (*ModelWithConnection_Connection_Call) Run ¶
func (_c *ModelWithConnection_Connection_Call) Run(run func()) *ModelWithConnection_Connection_Call
func (*ModelWithConnection_Connection_Call) RunAndReturn ¶
func (_c *ModelWithConnection_Connection_Call) RunAndReturn(run func() string) *ModelWithConnection_Connection_Call
type ModelWithConnection_Expecter ¶
type ModelWithConnection_Expecter struct {
// contains filtered or unexported fields
}
func (*ModelWithConnection_Expecter) Connection ¶
func (_e *ModelWithConnection_Expecter) Connection() *ModelWithConnection_Connection_Call
Connection is a helper method to define mock.On call
type ModelWithGlobalScopes ¶
ModelWithGlobalScopes is an autogenerated mock type for the ModelWithGlobalScopes type
func NewModelWithGlobalScopes ¶
func NewModelWithGlobalScopes(t interface {
mock.TestingT
Cleanup(func())
}) *ModelWithGlobalScopes
NewModelWithGlobalScopes creates a new instance of ModelWithGlobalScopes. 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 (*ModelWithGlobalScopes) EXPECT ¶
func (_m *ModelWithGlobalScopes) EXPECT() *ModelWithGlobalScopes_Expecter
func (*ModelWithGlobalScopes) GlobalScopes ¶
GlobalScopes provides a mock function with no fields
type ModelWithGlobalScopes_Expecter ¶
type ModelWithGlobalScopes_Expecter struct {
// contains filtered or unexported fields
}
func (*ModelWithGlobalScopes_Expecter) GlobalScopes ¶
func (_e *ModelWithGlobalScopes_Expecter) GlobalScopes() *ModelWithGlobalScopes_GlobalScopes_Call
GlobalScopes is a helper method to define mock.On call
type ModelWithGlobalScopes_GlobalScopes_Call ¶
ModelWithGlobalScopes_GlobalScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalScopes'
func (*ModelWithGlobalScopes_GlobalScopes_Call) Return ¶
func (_c *ModelWithGlobalScopes_GlobalScopes_Call) Return(_a0 map[string]func(orm.Query) orm.Query) *ModelWithGlobalScopes_GlobalScopes_Call
func (*ModelWithGlobalScopes_GlobalScopes_Call) Run ¶
func (_c *ModelWithGlobalScopes_GlobalScopes_Call) Run(run func()) *ModelWithGlobalScopes_GlobalScopes_Call
func (*ModelWithGlobalScopes_GlobalScopes_Call) RunAndReturn ¶
func (_c *ModelWithGlobalScopes_GlobalScopes_Call) RunAndReturn(run func() map[string]func(orm.Query) orm.Query) *ModelWithGlobalScopes_GlobalScopes_Call
type ModelWithMorphClass ¶
ModelWithMorphClass is an autogenerated mock type for the ModelWithMorphClass type
func NewModelWithMorphClass ¶
func NewModelWithMorphClass(t interface {
mock.TestingT
Cleanup(func())
}) *ModelWithMorphClass
NewModelWithMorphClass creates a new instance of ModelWithMorphClass. 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 (*ModelWithMorphClass) EXPECT ¶
func (_m *ModelWithMorphClass) EXPECT() *ModelWithMorphClass_Expecter
func (*ModelWithMorphClass) MorphClass ¶
func (_m *ModelWithMorphClass) MorphClass() string
MorphClass provides a mock function with no fields
type ModelWithMorphClass_Expecter ¶
type ModelWithMorphClass_Expecter struct {
// contains filtered or unexported fields
}
func (*ModelWithMorphClass_Expecter) MorphClass ¶
func (_e *ModelWithMorphClass_Expecter) MorphClass() *ModelWithMorphClass_MorphClass_Call
MorphClass is a helper method to define mock.On call
type ModelWithMorphClass_MorphClass_Call ¶
ModelWithMorphClass_MorphClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MorphClass'
func (*ModelWithMorphClass_MorphClass_Call) Return ¶
func (_c *ModelWithMorphClass_MorphClass_Call) Return(_a0 string) *ModelWithMorphClass_MorphClass_Call
func (*ModelWithMorphClass_MorphClass_Call) Run ¶
func (_c *ModelWithMorphClass_MorphClass_Call) Run(run func()) *ModelWithMorphClass_MorphClass_Call
func (*ModelWithMorphClass_MorphClass_Call) RunAndReturn ¶
func (_c *ModelWithMorphClass_MorphClass_Call) RunAndReturn(run func() string) *ModelWithMorphClass_MorphClass_Call
type ModelWithRelations ¶
ModelWithRelations is an autogenerated mock type for the ModelWithRelations type
func NewModelWithRelations ¶
func NewModelWithRelations(t interface {
mock.TestingT
Cleanup(func())
}) *ModelWithRelations
NewModelWithRelations creates a new instance of ModelWithRelations. 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 (*ModelWithRelations) EXPECT ¶
func (_m *ModelWithRelations) EXPECT() *ModelWithRelations_Expecter
type ModelWithRelations_Expecter ¶
type ModelWithRelations_Expecter struct {
// contains filtered or unexported fields
}
func (*ModelWithRelations_Expecter) Relations ¶
func (_e *ModelWithRelations_Expecter) Relations() *ModelWithRelations_Relations_Call
Relations is a helper method to define mock.On call
type ModelWithRelations_Relations_Call ¶
ModelWithRelations_Relations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Relations'
func (*ModelWithRelations_Relations_Call) Return ¶
func (_c *ModelWithRelations_Relations_Call) Return(_a0 map[string]orm.Relation) *ModelWithRelations_Relations_Call
func (*ModelWithRelations_Relations_Call) Run ¶
func (_c *ModelWithRelations_Relations_Call) Run(run func()) *ModelWithRelations_Relations_Call
func (*ModelWithRelations_Relations_Call) RunAndReturn ¶
func (_c *ModelWithRelations_Relations_Call) RunAndReturn(run func() map[string]orm.Relation) *ModelWithRelations_Relations_Call
type ModelWithTableName ¶
ModelWithTableName is an autogenerated mock type for the ModelWithTableName type
func NewModelWithTableName ¶
func NewModelWithTableName(t interface {
mock.TestingT
Cleanup(func())
}) *ModelWithTableName
NewModelWithTableName creates a new instance of ModelWithTableName. 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 (*ModelWithTableName) EXPECT ¶
func (_m *ModelWithTableName) EXPECT() *ModelWithTableName_Expecter
func (*ModelWithTableName) TableName ¶
func (_m *ModelWithTableName) TableName() string
TableName provides a mock function with no fields
type ModelWithTableName_Expecter ¶
type ModelWithTableName_Expecter struct {
// contains filtered or unexported fields
}
func (*ModelWithTableName_Expecter) TableName ¶
func (_e *ModelWithTableName_Expecter) TableName() *ModelWithTableName_TableName_Call
TableName is a helper method to define mock.On call
type ModelWithTableName_TableName_Call ¶
ModelWithTableName_TableName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TableName'
func (*ModelWithTableName_TableName_Call) Return ¶
func (_c *ModelWithTableName_TableName_Call) Return(_a0 string) *ModelWithTableName_TableName_Call
func (*ModelWithTableName_TableName_Call) Run ¶
func (_c *ModelWithTableName_TableName_Call) Run(run func()) *ModelWithTableName_TableName_Call
func (*ModelWithTableName_TableName_Call) RunAndReturn ¶
func (_c *ModelWithTableName_TableName_Call) RunAndReturn(run func() string) *ModelWithTableName_TableName_Call
type MorphRelationCallback ¶
MorphRelationCallback is an autogenerated mock type for the MorphRelationCallback type
func NewMorphRelationCallback ¶
func NewMorphRelationCallback(t interface {
mock.TestingT
Cleanup(func())
}) *MorphRelationCallback
NewMorphRelationCallback creates a new instance of MorphRelationCallback. 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 (*MorphRelationCallback) EXPECT ¶
func (_m *MorphRelationCallback) EXPECT() *MorphRelationCallback_Expecter
type MorphRelationCallback_Execute_Call ¶
MorphRelationCallback_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MorphRelationCallback_Execute_Call) Return ¶
func (_c *MorphRelationCallback_Execute_Call) Return(_a0 orm.Query) *MorphRelationCallback_Execute_Call
func (*MorphRelationCallback_Execute_Call) Run ¶
func (_c *MorphRelationCallback_Execute_Call) Run(run func(query orm.Query, morphType string)) *MorphRelationCallback_Execute_Call
func (*MorphRelationCallback_Execute_Call) RunAndReturn ¶
func (_c *MorphRelationCallback_Execute_Call) RunAndReturn(run func(orm.Query, string) orm.Query) *MorphRelationCallback_Execute_Call
type MorphRelationCallback_Expecter ¶
type MorphRelationCallback_Expecter struct {
// contains filtered or unexported fields
}
func (*MorphRelationCallback_Expecter) Execute ¶
func (_e *MorphRelationCallback_Expecter) Execute(query interface{}, morphType interface{}) *MorphRelationCallback_Execute_Call
Execute is a helper method to define mock.On call
- query orm.Query
- morphType string
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
type ObserverWithCreating ¶
ObserverWithCreating is an autogenerated mock type for the ObserverWithCreating type
func NewObserverWithCreating ¶
func NewObserverWithCreating(t interface {
mock.TestingT
Cleanup(func())
}) *ObserverWithCreating
NewObserverWithCreating creates a new instance of ObserverWithCreating. 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 (*ObserverWithCreating) Creating ¶
func (_m *ObserverWithCreating) Creating(_a0 orm.Event) error
Creating provides a mock function with given fields: _a0
func (*ObserverWithCreating) EXPECT ¶
func (_m *ObserverWithCreating) EXPECT() *ObserverWithCreating_Expecter
type ObserverWithCreating_Creating_Call ¶
ObserverWithCreating_Creating_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Creating'
func (*ObserverWithCreating_Creating_Call) Return ¶
func (_c *ObserverWithCreating_Creating_Call) Return(_a0 error) *ObserverWithCreating_Creating_Call
func (*ObserverWithCreating_Creating_Call) Run ¶
func (_c *ObserverWithCreating_Creating_Call) Run(run func(_a0 orm.Event)) *ObserverWithCreating_Creating_Call
func (*ObserverWithCreating_Creating_Call) RunAndReturn ¶
func (_c *ObserverWithCreating_Creating_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithCreating_Creating_Call
type ObserverWithCreating_Expecter ¶
type ObserverWithCreating_Expecter struct {
// contains filtered or unexported fields
}
func (*ObserverWithCreating_Expecter) Creating ¶
func (_e *ObserverWithCreating_Expecter) Creating(_a0 interface{}) *ObserverWithCreating_Creating_Call
Creating is a helper method to define mock.On call
- _a0 orm.Event
type ObserverWithDeleting ¶
ObserverWithDeleting is an autogenerated mock type for the ObserverWithDeleting type
func NewObserverWithDeleting ¶
func NewObserverWithDeleting(t interface {
mock.TestingT
Cleanup(func())
}) *ObserverWithDeleting
NewObserverWithDeleting creates a new instance of ObserverWithDeleting. 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 (*ObserverWithDeleting) Deleting ¶
func (_m *ObserverWithDeleting) Deleting(_a0 orm.Event) error
Deleting provides a mock function with given fields: _a0
func (*ObserverWithDeleting) EXPECT ¶
func (_m *ObserverWithDeleting) EXPECT() *ObserverWithDeleting_Expecter
type ObserverWithDeleting_Deleting_Call ¶
ObserverWithDeleting_Deleting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deleting'
func (*ObserverWithDeleting_Deleting_Call) Return ¶
func (_c *ObserverWithDeleting_Deleting_Call) Return(_a0 error) *ObserverWithDeleting_Deleting_Call
func (*ObserverWithDeleting_Deleting_Call) Run ¶
func (_c *ObserverWithDeleting_Deleting_Call) Run(run func(_a0 orm.Event)) *ObserverWithDeleting_Deleting_Call
func (*ObserverWithDeleting_Deleting_Call) RunAndReturn ¶
func (_c *ObserverWithDeleting_Deleting_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithDeleting_Deleting_Call
type ObserverWithDeleting_Expecter ¶
type ObserverWithDeleting_Expecter struct {
// contains filtered or unexported fields
}
func (*ObserverWithDeleting_Expecter) Deleting ¶
func (_e *ObserverWithDeleting_Expecter) Deleting(_a0 interface{}) *ObserverWithDeleting_Deleting_Call
Deleting is a helper method to define mock.On call
- _a0 orm.Event
type ObserverWithForceDeleting ¶
ObserverWithForceDeleting is an autogenerated mock type for the ObserverWithForceDeleting type
func NewObserverWithForceDeleting ¶
func NewObserverWithForceDeleting(t interface {
mock.TestingT
Cleanup(func())
}) *ObserverWithForceDeleting
NewObserverWithForceDeleting creates a new instance of ObserverWithForceDeleting. 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 (*ObserverWithForceDeleting) EXPECT ¶
func (_m *ObserverWithForceDeleting) EXPECT() *ObserverWithForceDeleting_Expecter
func (*ObserverWithForceDeleting) ForceDeleting ¶
func (_m *ObserverWithForceDeleting) ForceDeleting(_a0 orm.Event) error
ForceDeleting provides a mock function with given fields: _a0
type ObserverWithForceDeleting_Expecter ¶
type ObserverWithForceDeleting_Expecter struct {
// contains filtered or unexported fields
}
func (*ObserverWithForceDeleting_Expecter) ForceDeleting ¶
func (_e *ObserverWithForceDeleting_Expecter) ForceDeleting(_a0 interface{}) *ObserverWithForceDeleting_ForceDeleting_Call
ForceDeleting is a helper method to define mock.On call
- _a0 orm.Event
type ObserverWithForceDeleting_ForceDeleting_Call ¶
ObserverWithForceDeleting_ForceDeleting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceDeleting'
func (*ObserverWithForceDeleting_ForceDeleting_Call) Return ¶
func (_c *ObserverWithForceDeleting_ForceDeleting_Call) Return(_a0 error) *ObserverWithForceDeleting_ForceDeleting_Call
func (*ObserverWithForceDeleting_ForceDeleting_Call) Run ¶
func (_c *ObserverWithForceDeleting_ForceDeleting_Call) Run(run func(_a0 orm.Event)) *ObserverWithForceDeleting_ForceDeleting_Call
func (*ObserverWithForceDeleting_ForceDeleting_Call) RunAndReturn ¶
func (_c *ObserverWithForceDeleting_ForceDeleting_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithForceDeleting_ForceDeleting_Call
type ObserverWithRestored ¶
ObserverWithRestored is an autogenerated mock type for the ObserverWithRestored type
func NewObserverWithRestored ¶
func NewObserverWithRestored(t interface {
mock.TestingT
Cleanup(func())
}) *ObserverWithRestored
NewObserverWithRestored creates a new instance of ObserverWithRestored. 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 (*ObserverWithRestored) EXPECT ¶
func (_m *ObserverWithRestored) EXPECT() *ObserverWithRestored_Expecter
type ObserverWithRestored_Expecter ¶
type ObserverWithRestored_Expecter struct {
// contains filtered or unexported fields
}
func (*ObserverWithRestored_Expecter) Restored ¶
func (_e *ObserverWithRestored_Expecter) Restored(_a0 interface{}) *ObserverWithRestored_Restored_Call
Restored is a helper method to define mock.On call
- _a0 orm.Event
type ObserverWithRestored_Restored_Call ¶
ObserverWithRestored_Restored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Restored'
func (*ObserverWithRestored_Restored_Call) Return ¶
func (_c *ObserverWithRestored_Restored_Call) Return(_a0 error) *ObserverWithRestored_Restored_Call
func (*ObserverWithRestored_Restored_Call) Run ¶
func (_c *ObserverWithRestored_Restored_Call) Run(run func(_a0 orm.Event)) *ObserverWithRestored_Restored_Call
func (*ObserverWithRestored_Restored_Call) RunAndReturn ¶
func (_c *ObserverWithRestored_Restored_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithRestored_Restored_Call
type ObserverWithRestoring ¶
ObserverWithRestoring is an autogenerated mock type for the ObserverWithRestoring type
func NewObserverWithRestoring ¶
func NewObserverWithRestoring(t interface {
mock.TestingT
Cleanup(func())
}) *ObserverWithRestoring
NewObserverWithRestoring creates a new instance of ObserverWithRestoring. 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 (*ObserverWithRestoring) EXPECT ¶
func (_m *ObserverWithRestoring) EXPECT() *ObserverWithRestoring_Expecter
type ObserverWithRestoring_Expecter ¶
type ObserverWithRestoring_Expecter struct {
// contains filtered or unexported fields
}
func (*ObserverWithRestoring_Expecter) Restoring ¶
func (_e *ObserverWithRestoring_Expecter) Restoring(_a0 interface{}) *ObserverWithRestoring_Restoring_Call
Restoring is a helper method to define mock.On call
- _a0 orm.Event
type ObserverWithRestoring_Restoring_Call ¶
ObserverWithRestoring_Restoring_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Restoring'
func (*ObserverWithRestoring_Restoring_Call) Return ¶
func (_c *ObserverWithRestoring_Restoring_Call) Return(_a0 error) *ObserverWithRestoring_Restoring_Call
func (*ObserverWithRestoring_Restoring_Call) Run ¶
func (_c *ObserverWithRestoring_Restoring_Call) Run(run func(_a0 orm.Event)) *ObserverWithRestoring_Restoring_Call
func (*ObserverWithRestoring_Restoring_Call) RunAndReturn ¶
func (_c *ObserverWithRestoring_Restoring_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithRestoring_Restoring_Call
type ObserverWithRetrieved ¶
ObserverWithRetrieved is an autogenerated mock type for the ObserverWithRetrieved type
func NewObserverWithRetrieved ¶
func NewObserverWithRetrieved(t interface {
mock.TestingT
Cleanup(func())
}) *ObserverWithRetrieved
NewObserverWithRetrieved creates a new instance of ObserverWithRetrieved. 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 (*ObserverWithRetrieved) EXPECT ¶
func (_m *ObserverWithRetrieved) EXPECT() *ObserverWithRetrieved_Expecter
type ObserverWithRetrieved_Expecter ¶
type ObserverWithRetrieved_Expecter struct {
// contains filtered or unexported fields
}
func (*ObserverWithRetrieved_Expecter) Retrieved ¶
func (_e *ObserverWithRetrieved_Expecter) Retrieved(_a0 interface{}) *ObserverWithRetrieved_Retrieved_Call
Retrieved is a helper method to define mock.On call
- _a0 orm.Event
type ObserverWithRetrieved_Retrieved_Call ¶
ObserverWithRetrieved_Retrieved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Retrieved'
func (*ObserverWithRetrieved_Retrieved_Call) Return ¶
func (_c *ObserverWithRetrieved_Retrieved_Call) Return(_a0 error) *ObserverWithRetrieved_Retrieved_Call
func (*ObserverWithRetrieved_Retrieved_Call) Run ¶
func (_c *ObserverWithRetrieved_Retrieved_Call) Run(run func(_a0 orm.Event)) *ObserverWithRetrieved_Retrieved_Call
func (*ObserverWithRetrieved_Retrieved_Call) RunAndReturn ¶
func (_c *ObserverWithRetrieved_Retrieved_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithRetrieved_Retrieved_Call
type ObserverWithSaved ¶
ObserverWithSaved is an autogenerated mock type for the ObserverWithSaved type
func NewObserverWithSaved ¶
func NewObserverWithSaved(t interface {
mock.TestingT
Cleanup(func())
}) *ObserverWithSaved
NewObserverWithSaved creates a new instance of ObserverWithSaved. 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 (*ObserverWithSaved) EXPECT ¶
func (_m *ObserverWithSaved) EXPECT() *ObserverWithSaved_Expecter
type ObserverWithSaved_Expecter ¶
type ObserverWithSaved_Expecter struct {
// contains filtered or unexported fields
}
func (*ObserverWithSaved_Expecter) Saved ¶
func (_e *ObserverWithSaved_Expecter) Saved(_a0 interface{}) *ObserverWithSaved_Saved_Call
Saved is a helper method to define mock.On call
- _a0 orm.Event
type ObserverWithSaved_Saved_Call ¶
ObserverWithSaved_Saved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Saved'
func (*ObserverWithSaved_Saved_Call) Return ¶
func (_c *ObserverWithSaved_Saved_Call) Return(_a0 error) *ObserverWithSaved_Saved_Call
func (*ObserverWithSaved_Saved_Call) Run ¶
func (_c *ObserverWithSaved_Saved_Call) Run(run func(_a0 orm.Event)) *ObserverWithSaved_Saved_Call
func (*ObserverWithSaved_Saved_Call) RunAndReturn ¶
func (_c *ObserverWithSaved_Saved_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithSaved_Saved_Call
type ObserverWithSaving ¶
ObserverWithSaving is an autogenerated mock type for the ObserverWithSaving type
func NewObserverWithSaving ¶
func NewObserverWithSaving(t interface {
mock.TestingT
Cleanup(func())
}) *ObserverWithSaving
NewObserverWithSaving creates a new instance of ObserverWithSaving. 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 (*ObserverWithSaving) EXPECT ¶
func (_m *ObserverWithSaving) EXPECT() *ObserverWithSaving_Expecter
type ObserverWithSaving_Expecter ¶
type ObserverWithSaving_Expecter struct {
// contains filtered or unexported fields
}
func (*ObserverWithSaving_Expecter) Saving ¶
func (_e *ObserverWithSaving_Expecter) Saving(_a0 interface{}) *ObserverWithSaving_Saving_Call
Saving is a helper method to define mock.On call
- _a0 orm.Event
type ObserverWithSaving_Saving_Call ¶
ObserverWithSaving_Saving_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Saving'
func (*ObserverWithSaving_Saving_Call) Return ¶
func (_c *ObserverWithSaving_Saving_Call) Return(_a0 error) *ObserverWithSaving_Saving_Call
func (*ObserverWithSaving_Saving_Call) Run ¶
func (_c *ObserverWithSaving_Saving_Call) Run(run func(_a0 orm.Event)) *ObserverWithSaving_Saving_Call
func (*ObserverWithSaving_Saving_Call) RunAndReturn ¶
func (_c *ObserverWithSaving_Saving_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithSaving_Saving_Call
type ObserverWithUpdating ¶
ObserverWithUpdating is an autogenerated mock type for the ObserverWithUpdating type
func NewObserverWithUpdating ¶
func NewObserverWithUpdating(t interface {
mock.TestingT
Cleanup(func())
}) *ObserverWithUpdating
NewObserverWithUpdating creates a new instance of ObserverWithUpdating. 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 (*ObserverWithUpdating) EXPECT ¶
func (_m *ObserverWithUpdating) EXPECT() *ObserverWithUpdating_Expecter
type ObserverWithUpdating_Expecter ¶
type ObserverWithUpdating_Expecter struct {
// contains filtered or unexported fields
}
func (*ObserverWithUpdating_Expecter) Updating ¶
func (_e *ObserverWithUpdating_Expecter) Updating(_a0 interface{}) *ObserverWithUpdating_Updating_Call
Updating is a helper method to define mock.On call
- _a0 orm.Event
type ObserverWithUpdating_Updating_Call ¶
ObserverWithUpdating_Updating_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Updating'
func (*ObserverWithUpdating_Updating_Call) Return ¶
func (_c *ObserverWithUpdating_Updating_Call) Return(_a0 error) *ObserverWithUpdating_Updating_Call
func (*ObserverWithUpdating_Updating_Call) Run ¶
func (_c *ObserverWithUpdating_Updating_Call) Run(run func(_a0 orm.Event)) *ObserverWithUpdating_Updating_Call
func (*ObserverWithUpdating_Updating_Call) RunAndReturn ¶
func (_c *ObserverWithUpdating_Updating_Call) RunAndReturn(run func(orm.Event) error) *ObserverWithUpdating_Updating_Call
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_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_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) 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) 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) Updated ¶
func (_e *Observer_Expecter) Updated(_a0 interface{}) *Observer_Updated_Call
Updated 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_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 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) DatabaseName ¶
DatabaseName provides a mock function with no fields
func (*Orm) EXPECT ¶
func (_m *Orm) EXPECT() *Orm_Expecter
func (*Orm) Relation ¶
func (_m *Orm) Relation(parent interface{}, name string) orm.RelationWriter
Relation provides a mock function with given fields: parent, name
func (*Orm) Transaction ¶
Transaction provides a mock function with given fields: txFunc
type Orm_Config_Call ¶
Orm_Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Config'
func (*Orm_Config_Call) Return ¶
func (_c *Orm_Config_Call) Return(_a0 database.Config) *Orm_Config_Call
func (*Orm_Config_Call) Run ¶
func (_c *Orm_Config_Call) Run(run func()) *Orm_Config_Call
func (*Orm_Config_Call) RunAndReturn ¶
func (_c *Orm_Config_Call) RunAndReturn(run func() database.Config) *Orm_Config_Call
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_DatabaseName_Call ¶
Orm_DatabaseName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DatabaseName'
func (*Orm_DatabaseName_Call) Return ¶
func (_c *Orm_DatabaseName_Call) Return(_a0 string) *Orm_DatabaseName_Call
func (*Orm_DatabaseName_Call) Run ¶
func (_c *Orm_DatabaseName_Call) Run(run func()) *Orm_DatabaseName_Call
func (*Orm_DatabaseName_Call) RunAndReturn ¶
func (_c *Orm_DatabaseName_Call) RunAndReturn(run func() string) *Orm_DatabaseName_Call
type Orm_Expecter ¶
type Orm_Expecter struct {
// contains filtered or unexported fields
}
func (*Orm_Expecter) Config ¶
func (_e *Orm_Expecter) Config() *Orm_Config_Call
Config is a helper method to define mock.On call
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) DatabaseName ¶
func (_e *Orm_Expecter) DatabaseName() *Orm_DatabaseName_Call
DatabaseName 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) Fresh ¶
func (_e *Orm_Expecter) Fresh() *Orm_Fresh_Call
Fresh is a helper method to define mock.On call
func (*Orm_Expecter) Name ¶
func (_e *Orm_Expecter) Name() *Orm_Name_Call
Name 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) Related ¶
func (_e *Orm_Expecter) Related(parent interface{}, relation interface{}) *Orm_Related_Call
Related is a helper method to define mock.On call
- parent interface{}
- relation string
func (*Orm_Expecter) Relation ¶
func (_e *Orm_Expecter) Relation(parent interface{}, name interface{}) *Orm_Relation_Call
Relation is a helper method to define mock.On call
- parent interface{}
- name string
func (*Orm_Expecter) SetQuery ¶
func (_e *Orm_Expecter) SetQuery(query interface{}) *Orm_SetQuery_Call
SetQuery is a helper method to define mock.On call
- query orm.Query
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.Query) 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_Fresh_Call ¶
Orm_Fresh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fresh'
func (*Orm_Fresh_Call) Return ¶
func (_c *Orm_Fresh_Call) Return() *Orm_Fresh_Call
func (*Orm_Fresh_Call) Run ¶
func (_c *Orm_Fresh_Call) Run(run func()) *Orm_Fresh_Call
func (*Orm_Fresh_Call) RunAndReturn ¶
func (_c *Orm_Fresh_Call) RunAndReturn(run func()) *Orm_Fresh_Call
type Orm_Name_Call ¶
Orm_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*Orm_Name_Call) Return ¶
func (_c *Orm_Name_Call) Return(_a0 string) *Orm_Name_Call
func (*Orm_Name_Call) Run ¶
func (_c *Orm_Name_Call) Run(run func()) *Orm_Name_Call
func (*Orm_Name_Call) RunAndReturn ¶
func (_c *Orm_Name_Call) RunAndReturn(run func() string) *Orm_Name_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_Related_Call ¶
Orm_Related_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Related'
func (*Orm_Related_Call) Return ¶
func (_c *Orm_Related_Call) Return(_a0 orm.Query) *Orm_Related_Call
func (*Orm_Related_Call) Run ¶
func (_c *Orm_Related_Call) Run(run func(parent interface{}, relation string)) *Orm_Related_Call
func (*Orm_Related_Call) RunAndReturn ¶
func (_c *Orm_Related_Call) RunAndReturn(run func(interface{}, string) orm.Query) *Orm_Related_Call
type Orm_Relation_Call ¶
Orm_Relation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Relation'
func (*Orm_Relation_Call) Return ¶
func (_c *Orm_Relation_Call) Return(_a0 orm.RelationWriter) *Orm_Relation_Call
func (*Orm_Relation_Call) Run ¶
func (_c *Orm_Relation_Call) Run(run func(parent interface{}, name string)) *Orm_Relation_Call
func (*Orm_Relation_Call) RunAndReturn ¶
func (_c *Orm_Relation_Call) RunAndReturn(run func(interface{}, string) orm.RelationWriter) *Orm_Relation_Call
type Orm_SetQuery_Call ¶
Orm_SetQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetQuery'
func (*Orm_SetQuery_Call) Return ¶
func (_c *Orm_SetQuery_Call) Return() *Orm_SetQuery_Call
func (*Orm_SetQuery_Call) Run ¶
func (_c *Orm_SetQuery_Call) Run(run func(query orm.Query)) *Orm_SetQuery_Call
func (*Orm_SetQuery_Call) RunAndReturn ¶
func (_c *Orm_SetQuery_Call) RunAndReturn(run func(orm.Query)) *Orm_SetQuery_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.Query) error)) *Orm_Transaction_Call
func (*Orm_Transaction_Call) RunAndReturn ¶
func (_c *Orm_Transaction_Call) RunAndReturn(run func(func(orm.Query) 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 PivotCallback ¶
PivotCallback is an autogenerated mock type for the PivotCallback type
func NewPivotCallback ¶
func NewPivotCallback(t interface {
mock.TestingT
Cleanup(func())
}) *PivotCallback
NewPivotCallback creates a new instance of PivotCallback. 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 (*PivotCallback) EXPECT ¶
func (_m *PivotCallback) EXPECT() *PivotCallback_Expecter
func (*PivotCallback) Execute ¶
func (_m *PivotCallback) Execute(query orm.PivotQuery) orm.PivotQuery
Execute provides a mock function with given fields: query
type PivotCallback_Execute_Call ¶
PivotCallback_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*PivotCallback_Execute_Call) Return ¶
func (_c *PivotCallback_Execute_Call) Return(_a0 orm.PivotQuery) *PivotCallback_Execute_Call
func (*PivotCallback_Execute_Call) Run ¶
func (_c *PivotCallback_Execute_Call) Run(run func(query orm.PivotQuery)) *PivotCallback_Execute_Call
func (*PivotCallback_Execute_Call) RunAndReturn ¶
func (_c *PivotCallback_Execute_Call) RunAndReturn(run func(orm.PivotQuery) orm.PivotQuery) *PivotCallback_Execute_Call
type PivotCallback_Expecter ¶
type PivotCallback_Expecter struct {
// contains filtered or unexported fields
}
func (*PivotCallback_Expecter) Execute ¶
func (_e *PivotCallback_Expecter) Execute(query interface{}) *PivotCallback_Execute_Call
Execute is a helper method to define mock.On call
- query orm.PivotQuery
type PivotQuery ¶
PivotQuery is an autogenerated mock type for the PivotQuery type
func NewPivotQuery ¶
func NewPivotQuery(t interface {
mock.TestingT
Cleanup(func())
}) *PivotQuery
NewPivotQuery creates a new instance of PivotQuery. 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 (*PivotQuery) EXPECT ¶
func (_m *PivotQuery) EXPECT() *PivotQuery_Expecter
func (*PivotQuery) Where ¶
func (_m *PivotQuery) Where(column string, args ...interface{}) orm.PivotQuery
Where provides a mock function with given fields: column, args
func (*PivotQuery) WhereIn ¶
func (_m *PivotQuery) WhereIn(column string, values []interface{}) orm.PivotQuery
WhereIn provides a mock function with given fields: column, values
func (*PivotQuery) WhereNotIn ¶
func (_m *PivotQuery) WhereNotIn(column string, values []interface{}) orm.PivotQuery
WhereNotIn provides a mock function with given fields: column, values
func (*PivotQuery) WhereNotNull ¶
func (_m *PivotQuery) WhereNotNull(column string) orm.PivotQuery
WhereNotNull provides a mock function with given fields: column
func (*PivotQuery) WhereNull ¶
func (_m *PivotQuery) WhereNull(column string) orm.PivotQuery
WhereNull provides a mock function with given fields: column
type PivotQuery_Expecter ¶
type PivotQuery_Expecter struct {
// contains filtered or unexported fields
}
func (*PivotQuery_Expecter) Where ¶
func (_e *PivotQuery_Expecter) Where(column interface{}, args ...interface{}) *PivotQuery_Where_Call
Where is a helper method to define mock.On call
- column string
- args ...interface{}
func (*PivotQuery_Expecter) WhereIn ¶
func (_e *PivotQuery_Expecter) WhereIn(column interface{}, values interface{}) *PivotQuery_WhereIn_Call
WhereIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*PivotQuery_Expecter) WhereNotIn ¶
func (_e *PivotQuery_Expecter) WhereNotIn(column interface{}, values interface{}) *PivotQuery_WhereNotIn_Call
WhereNotIn is a helper method to define mock.On call
- column string
- values []interface{}
func (*PivotQuery_Expecter) WhereNotNull ¶
func (_e *PivotQuery_Expecter) WhereNotNull(column interface{}) *PivotQuery_WhereNotNull_Call
WhereNotNull is a helper method to define mock.On call
- column string
func (*PivotQuery_Expecter) WhereNull ¶
func (_e *PivotQuery_Expecter) WhereNull(column interface{}) *PivotQuery_WhereNull_Call
WhereNull is a helper method to define mock.On call
- column string
type PivotQuery_WhereIn_Call ¶
PivotQuery_WhereIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereIn'
func (*PivotQuery_WhereIn_Call) Return ¶
func (_c *PivotQuery_WhereIn_Call) Return(_a0 orm.PivotQuery) *PivotQuery_WhereIn_Call
func (*PivotQuery_WhereIn_Call) Run ¶
func (_c *PivotQuery_WhereIn_Call) Run(run func(column string, values []interface{})) *PivotQuery_WhereIn_Call
func (*PivotQuery_WhereIn_Call) RunAndReturn ¶
func (_c *PivotQuery_WhereIn_Call) RunAndReturn(run func(string, []interface{}) orm.PivotQuery) *PivotQuery_WhereIn_Call
type PivotQuery_WhereNotIn_Call ¶
PivotQuery_WhereNotIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNotIn'
func (*PivotQuery_WhereNotIn_Call) Return ¶
func (_c *PivotQuery_WhereNotIn_Call) Return(_a0 orm.PivotQuery) *PivotQuery_WhereNotIn_Call
func (*PivotQuery_WhereNotIn_Call) Run ¶
func (_c *PivotQuery_WhereNotIn_Call) Run(run func(column string, values []interface{})) *PivotQuery_WhereNotIn_Call
func (*PivotQuery_WhereNotIn_Call) RunAndReturn ¶
func (_c *PivotQuery_WhereNotIn_Call) RunAndReturn(run func(string, []interface{}) orm.PivotQuery) *PivotQuery_WhereNotIn_Call
type PivotQuery_WhereNotNull_Call ¶
PivotQuery_WhereNotNull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNotNull'
func (*PivotQuery_WhereNotNull_Call) Return ¶
func (_c *PivotQuery_WhereNotNull_Call) Return(_a0 orm.PivotQuery) *PivotQuery_WhereNotNull_Call
func (*PivotQuery_WhereNotNull_Call) Run ¶
func (_c *PivotQuery_WhereNotNull_Call) Run(run func(column string)) *PivotQuery_WhereNotNull_Call
func (*PivotQuery_WhereNotNull_Call) RunAndReturn ¶
func (_c *PivotQuery_WhereNotNull_Call) RunAndReturn(run func(string) orm.PivotQuery) *PivotQuery_WhereNotNull_Call
type PivotQuery_WhereNull_Call ¶
PivotQuery_WhereNull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNull'
func (*PivotQuery_WhereNull_Call) Return ¶
func (_c *PivotQuery_WhereNull_Call) Return(_a0 orm.PivotQuery) *PivotQuery_WhereNull_Call
func (*PivotQuery_WhereNull_Call) Run ¶
func (_c *PivotQuery_WhereNull_Call) Run(run func(column string)) *PivotQuery_WhereNull_Call
func (*PivotQuery_WhereNull_Call) RunAndReturn ¶
func (_c *PivotQuery_WhereNull_Call) RunAndReturn(run func(string) orm.PivotQuery) *PivotQuery_WhereNull_Call
type PivotQuery_Where_Call ¶
PivotQuery_Where_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Where'
func (*PivotQuery_Where_Call) Return ¶
func (_c *PivotQuery_Where_Call) Return(_a0 orm.PivotQuery) *PivotQuery_Where_Call
func (*PivotQuery_Where_Call) Run ¶
func (_c *PivotQuery_Where_Call) Run(run func(column string, args ...interface{})) *PivotQuery_Where_Call
func (*PivotQuery_Where_Call) RunAndReturn ¶
func (_c *PivotQuery_Where_Call) RunAndReturn(run func(string, ...interface{}) orm.PivotQuery) *PivotQuery_Where_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) BeginTransaction ¶
BeginTransaction provides a mock function with no fields
func (*Query) CursorPaginate ¶
func (_m *Query) CursorPaginate(perPage int, cursor string, dest interface{}) (db.CursorPaginator, error)
CursorPaginate provides a mock function with given fields: perPage, cursor, dest
func (*Query) DoesntHave ¶
DoesntHave provides a mock function with given fields: relation, args
func (*Query) DoesntHaveMorph ¶
func (_m *Query) DoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
DoesntHaveMorph provides a mock function with given fields: relation, types, args
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
func (*Query) InRandomOrder ¶
InRandomOrder provides a mock function with no fields
func (*Query) InTransaction ¶
InTransaction provides a mock function with no fields
func (*Query) LatestOfMany ¶
LatestOfMany provides a mock function with given fields: column
func (*Query) LoadMissing ¶
LoadMissing provides a mock function with given fields: dest, relation, args
func (*Query) LockForUpdate ¶
LockForUpdate provides a mock function with no fields
func (*Query) OldestOfMany ¶
OldestOfMany provides a mock function with given fields: column
func (*Query) OnlyTrashed ¶
OnlyTrashed provides a mock function with no fields
func (*Query) OrDoesntHave ¶
OrDoesntHave provides a mock function with given fields: relation, args
func (*Query) OrDoesntHaveMorph ¶
func (_m *Query) OrDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
OrDoesntHaveMorph provides a mock function with given fields: relation, types, args
func (*Query) OrHasMorph ¶
OrHasMorph provides a mock function with given fields: relation, types, args
func (*Query) OrWhereBelongsTo ¶
OrWhereBelongsTo provides a mock function with given fields: related, relation
func (*Query) OrWhereBetween ¶
OrWhereBetween provides a mock function with given fields: column, x, y
func (*Query) OrWhereDoesntHave ¶
OrWhereDoesntHave provides a mock function with given fields: relation, args
func (*Query) OrWhereDoesntHaveMorph ¶
func (_m *Query) OrWhereDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
OrWhereDoesntHaveMorph provides a mock function with given fields: relation, types, args
func (*Query) OrWhereDoesntHaveRelation ¶
func (_m *Query) OrWhereDoesntHaveRelation(relation string, column interface{}, args ...interface{}) orm.Query
OrWhereDoesntHaveRelation provides a mock function with given fields: relation, column, args
func (*Query) OrWhereHas ¶
OrWhereHas provides a mock function with given fields: relation, args
func (*Query) OrWhereHasMorph ¶
func (_m *Query) OrWhereHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
OrWhereHasMorph provides a mock function with given fields: relation, types, args
func (*Query) OrWhereJsonContains ¶
OrWhereJsonContains provides a mock function with given fields: column, value
func (*Query) OrWhereJsonContainsKey ¶
OrWhereJsonContainsKey provides a mock function with given fields: column
func (*Query) OrWhereJsonDoesntContain ¶
OrWhereJsonDoesntContain provides a mock function with given fields: column, value
func (*Query) OrWhereJsonDoesntContainKey ¶
OrWhereJsonDoesntContainKey provides a mock function with given fields: column
func (*Query) OrWhereJsonLength ¶
OrWhereJsonLength provides a mock function with given fields: column, args
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) OrWhereRelation ¶
func (_m *Query) OrWhereRelation(relation string, column interface{}, args ...interface{}) orm.Query
OrWhereRelation provides a mock function with given fields: relation, column, args
func (*Query) OrderByDesc ¶
OrderByDesc provides a mock function with given fields: column
func (*Query) OrderByRaw ¶
OrderByRaw provides a mock function with given fields: raw
func (*Query) Paginate ¶
Paginate provides a mock function with given fields: page, limit, dest, total
func (*Query) Relation ¶
func (_m *Query) Relation(parent interface{}, name string) orm.RelationWriter
Relation provides a mock function with given fields: parent, name
func (*Query) SaveQuietly ¶
SaveQuietly provides a mock function with given fields: value
func (*Query) SharedLock ¶
SharedLock provides a mock function with no fields
func (*Query) UpdateOrCreate ¶
UpdateOrCreate provides a mock function with given fields: dest, attributes, values
func (*Query) Upsert ¶
func (_m *Query) Upsert(values interface{}, uniqueBy []string, update ...interface{}) (*db.Result, error)
Upsert provides a mock function with given fields: values, uniqueBy, update
func (*Query) UseWritePdo ¶
UseWritePdo provides a mock function with no fields
func (*Query) When ¶
func (_m *Query) When(condition bool, callback func(orm.Query) orm.Query, falseCallback ...func(orm.Query) orm.Query) orm.Query
When provides a mock function with given fields: condition, callback, falseCallback
func (*Query) WhereBelongsTo ¶
WhereBelongsTo provides a mock function with given fields: related, relation
func (*Query) WhereBetween ¶
WhereBetween provides a mock function with given fields: column, x, y
func (*Query) WhereDoesntHave ¶
WhereDoesntHave provides a mock function with given fields: relation, args
func (*Query) WhereDoesntHaveMorph ¶
func (_m *Query) WhereDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
WhereDoesntHaveMorph provides a mock function with given fields: relation, types, args
func (*Query) WhereDoesntHaveRelation ¶
func (_m *Query) WhereDoesntHaveRelation(relation string, column interface{}, args ...interface{}) orm.Query
WhereDoesntHaveRelation provides a mock function with given fields: relation, column, args
func (*Query) WhereHasMorph ¶
WhereHasMorph provides a mock function with given fields: relation, types, args
func (*Query) WhereJsonContains ¶
WhereJsonContains provides a mock function with given fields: column, value
func (*Query) WhereJsonContainsKey ¶
WhereJsonContainsKey provides a mock function with given fields: column
func (*Query) WhereJsonDoesntContain ¶
WhereJsonDoesntContain provides a mock function with given fields: column, value
func (*Query) WhereJsonDoesntContainKey ¶
WhereJsonDoesntContainKey provides a mock function with given fields: column
func (*Query) WhereJsonLength ¶
WhereJsonLength provides a mock function with given fields: column, args
func (*Query) WhereKeyNot ¶
WhereKeyNot provides a mock function with given fields: id
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) WhereRelation ¶
WhereRelation provides a mock function with given fields: relation, column, args
func (*Query) WithAggregate ¶
func (_m *Query) WithAggregate(relation string, column string, fn string, args ...interface{}) orm.Query
WithAggregate provides a mock function with given fields: relation, column, fn, args
func (*Query) WithAttributes ¶
WithAttributes provides a mock function with given fields: attributes, args
func (*Query) WithExists ¶
WithExists provides a mock function with given fields: relations
func (*Query) WithTrashed ¶
WithTrashed provides a mock function with no fields
func (*Query) WithWhereHas ¶
WithWhereHas provides a mock function with given fields: relation, args
func (*Query) WithoutEvents ¶
WithoutEvents provides a mock function with no fields
type QueryWithClone ¶
QueryWithClone is an autogenerated mock type for the QueryWithClone type
func NewQueryWithClone ¶
func NewQueryWithClone(t interface {
mock.TestingT
Cleanup(func())
}) *QueryWithClone
NewQueryWithClone creates a new instance of QueryWithClone. 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 (*QueryWithClone) Clone ¶
func (_m *QueryWithClone) Clone() orm.Query
Clone provides a mock function with no fields
func (*QueryWithClone) EXPECT ¶
func (_m *QueryWithClone) EXPECT() *QueryWithClone_Expecter
type QueryWithClone_Clone_Call ¶
QueryWithClone_Clone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clone'
func (*QueryWithClone_Clone_Call) Return ¶
func (_c *QueryWithClone_Clone_Call) Return(_a0 orm.Query) *QueryWithClone_Clone_Call
func (*QueryWithClone_Clone_Call) Run ¶
func (_c *QueryWithClone_Clone_Call) Run(run func()) *QueryWithClone_Clone_Call
func (*QueryWithClone_Clone_Call) RunAndReturn ¶
func (_c *QueryWithClone_Clone_Call) RunAndReturn(run func() orm.Query) *QueryWithClone_Clone_Call
type QueryWithClone_Expecter ¶
type QueryWithClone_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryWithClone_Expecter) Clone ¶
func (_e *QueryWithClone_Expecter) Clone() *QueryWithClone_Clone_Call
Clone is a helper method to define mock.On call
type QueryWithContext ¶
QueryWithContext is an autogenerated mock type for the QueryWithContext type
func NewQueryWithContext ¶
func NewQueryWithContext(t interface {
mock.TestingT
Cleanup(func())
}) *QueryWithContext
NewQueryWithContext creates a new instance of QueryWithContext. 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 (*QueryWithContext) EXPECT ¶
func (_m *QueryWithContext) EXPECT() *QueryWithContext_Expecter
func (*QueryWithContext) WithContext ¶
func (_m *QueryWithContext) WithContext(ctx context.Context) orm.Query
WithContext provides a mock function with given fields: ctx
type QueryWithContext_Expecter ¶
type QueryWithContext_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryWithContext_Expecter) WithContext ¶
func (_e *QueryWithContext_Expecter) WithContext(ctx interface{}) *QueryWithContext_WithContext_Call
WithContext is a helper method to define mock.On call
- ctx context.Context
type QueryWithContext_WithContext_Call ¶
QueryWithContext_WithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithContext'
func (*QueryWithContext_WithContext_Call) Return ¶
func (_c *QueryWithContext_WithContext_Call) Return(_a0 orm.Query) *QueryWithContext_WithContext_Call
func (*QueryWithContext_WithContext_Call) Run ¶
func (_c *QueryWithContext_WithContext_Call) Run(run func(ctx context.Context)) *QueryWithContext_WithContext_Call
func (*QueryWithContext_WithContext_Call) RunAndReturn ¶
func (_c *QueryWithContext_WithContext_Call) RunAndReturn(run func(context.Context) orm.Query) *QueryWithContext_WithContext_Call
type QueryWithObserver ¶
QueryWithObserver is an autogenerated mock type for the QueryWithObserver type
func NewQueryWithObserver ¶
func NewQueryWithObserver(t interface {
mock.TestingT
Cleanup(func())
}) *QueryWithObserver
NewQueryWithObserver creates a new instance of QueryWithObserver. 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 (*QueryWithObserver) EXPECT ¶
func (_m *QueryWithObserver) EXPECT() *QueryWithObserver_Expecter
func (*QueryWithObserver) Observe ¶
func (_m *QueryWithObserver) Observe(model interface{}, observer orm.Observer)
Observe provides a mock function with given fields: model, observer
type QueryWithObserver_Expecter ¶
type QueryWithObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryWithObserver_Expecter) Observe ¶
func (_e *QueryWithObserver_Expecter) Observe(model interface{}, observer interface{}) *QueryWithObserver_Observe_Call
Observe is a helper method to define mock.On call
- model interface{}
- observer orm.Observer
type QueryWithObserver_Observe_Call ¶
QueryWithObserver_Observe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Observe'
func (*QueryWithObserver_Observe_Call) Return ¶
func (_c *QueryWithObserver_Observe_Call) Return() *QueryWithObserver_Observe_Call
func (*QueryWithObserver_Observe_Call) Run ¶
func (_c *QueryWithObserver_Observe_Call) Run(run func(model interface{}, observer orm.Observer)) *QueryWithObserver_Observe_Call
func (*QueryWithObserver_Observe_Call) RunAndReturn ¶
func (_c *QueryWithObserver_Observe_Call) RunAndReturn(run func(interface{}, orm.Observer)) *QueryWithObserver_Observe_Call
type QueryWithRelations ¶
QueryWithRelations is an autogenerated mock type for the QueryWithRelations type
func NewQueryWithRelations ¶
func NewQueryWithRelations(t interface {
mock.TestingT
Cleanup(func())
}) *QueryWithRelations
NewQueryWithRelations creates a new instance of QueryWithRelations. 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 (*QueryWithRelations) DoesntHave ¶
func (_m *QueryWithRelations) DoesntHave(relation string, args ...interface{}) orm.Query
DoesntHave provides a mock function with given fields: relation, args
func (*QueryWithRelations) DoesntHaveMorph ¶
func (_m *QueryWithRelations) DoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
DoesntHaveMorph provides a mock function with given fields: relation, types, args
func (*QueryWithRelations) EXPECT ¶
func (_m *QueryWithRelations) EXPECT() *QueryWithRelations_Expecter
func (*QueryWithRelations) Has ¶
func (_m *QueryWithRelations) Has(relation string, args ...interface{}) orm.Query
Has provides a mock function with given fields: relation, args
func (*QueryWithRelations) HasMorph ¶
func (_m *QueryWithRelations) HasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
HasMorph provides a mock function with given fields: relation, types, args
func (*QueryWithRelations) OrDoesntHave ¶
func (_m *QueryWithRelations) OrDoesntHave(relation string, args ...interface{}) orm.Query
OrDoesntHave provides a mock function with given fields: relation, args
func (*QueryWithRelations) OrDoesntHaveMorph ¶
func (_m *QueryWithRelations) OrDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
OrDoesntHaveMorph provides a mock function with given fields: relation, types, args
func (*QueryWithRelations) OrHas ¶
func (_m *QueryWithRelations) OrHas(relation string, args ...interface{}) orm.Query
OrHas provides a mock function with given fields: relation, args
func (*QueryWithRelations) OrHasMorph ¶
func (_m *QueryWithRelations) OrHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
OrHasMorph provides a mock function with given fields: relation, types, args
func (*QueryWithRelations) OrWhereBelongsTo ¶
func (_m *QueryWithRelations) OrWhereBelongsTo(related interface{}, relation ...string) orm.Query
OrWhereBelongsTo provides a mock function with given fields: related, relation
func (*QueryWithRelations) OrWhereDoesntHave ¶
func (_m *QueryWithRelations) OrWhereDoesntHave(relation string, args ...interface{}) orm.Query
OrWhereDoesntHave provides a mock function with given fields: relation, args
func (*QueryWithRelations) OrWhereDoesntHaveMorph ¶
func (_m *QueryWithRelations) OrWhereDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
OrWhereDoesntHaveMorph provides a mock function with given fields: relation, types, args
func (*QueryWithRelations) OrWhereDoesntHaveRelation ¶
func (_m *QueryWithRelations) OrWhereDoesntHaveRelation(relation string, column interface{}, args ...interface{}) orm.Query
OrWhereDoesntHaveRelation provides a mock function with given fields: relation, column, args
func (*QueryWithRelations) OrWhereHas ¶
func (_m *QueryWithRelations) OrWhereHas(relation string, args ...interface{}) orm.Query
OrWhereHas provides a mock function with given fields: relation, args
func (*QueryWithRelations) OrWhereHasMorph ¶
func (_m *QueryWithRelations) OrWhereHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
OrWhereHasMorph provides a mock function with given fields: relation, types, args
func (*QueryWithRelations) OrWhereRelation ¶
func (_m *QueryWithRelations) OrWhereRelation(relation string, column interface{}, args ...interface{}) orm.Query
OrWhereRelation provides a mock function with given fields: relation, column, args
func (*QueryWithRelations) WhereBelongsTo ¶
func (_m *QueryWithRelations) WhereBelongsTo(related interface{}, relation ...string) orm.Query
WhereBelongsTo provides a mock function with given fields: related, relation
func (*QueryWithRelations) WhereDoesntHave ¶
func (_m *QueryWithRelations) WhereDoesntHave(relation string, args ...interface{}) orm.Query
WhereDoesntHave provides a mock function with given fields: relation, args
func (*QueryWithRelations) WhereDoesntHaveMorph ¶
func (_m *QueryWithRelations) WhereDoesntHaveMorph(relation string, types []interface{}, args ...interface{}) orm.Query
WhereDoesntHaveMorph provides a mock function with given fields: relation, types, args
func (*QueryWithRelations) WhereDoesntHaveRelation ¶
func (_m *QueryWithRelations) WhereDoesntHaveRelation(relation string, column interface{}, args ...interface{}) orm.Query
WhereDoesntHaveRelation provides a mock function with given fields: relation, column, args
func (*QueryWithRelations) WhereHas ¶
func (_m *QueryWithRelations) WhereHas(relation string, args ...interface{}) orm.Query
WhereHas provides a mock function with given fields: relation, args
func (*QueryWithRelations) WhereHasMorph ¶
func (_m *QueryWithRelations) WhereHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query
WhereHasMorph provides a mock function with given fields: relation, types, args
func (*QueryWithRelations) WhereRelation ¶
func (_m *QueryWithRelations) WhereRelation(relation string, column interface{}, args ...interface{}) orm.Query
WhereRelation provides a mock function with given fields: relation, column, args
func (*QueryWithRelations) WithAggregate ¶
func (_m *QueryWithRelations) WithAggregate(relation string, column string, fn string, args ...interface{}) orm.Query
WithAggregate provides a mock function with given fields: relation, column, fn, args
func (*QueryWithRelations) WithAvg ¶
func (_m *QueryWithRelations) WithAvg(relation string, column string, args ...interface{}) orm.Query
WithAvg provides a mock function with given fields: relation, column, args
func (*QueryWithRelations) WithCount ¶
func (_m *QueryWithRelations) WithCount(relations ...interface{}) orm.Query
WithCount provides a mock function with given fields: relations
func (*QueryWithRelations) WithExists ¶
func (_m *QueryWithRelations) WithExists(relations ...string) orm.Query
WithExists provides a mock function with given fields: relations
func (*QueryWithRelations) WithMax ¶
func (_m *QueryWithRelations) WithMax(relation string, column string, args ...interface{}) orm.Query
WithMax provides a mock function with given fields: relation, column, args
func (*QueryWithRelations) WithMin ¶
func (_m *QueryWithRelations) WithMin(relation string, column string, args ...interface{}) orm.Query
WithMin provides a mock function with given fields: relation, column, args
func (*QueryWithRelations) WithSum ¶
func (_m *QueryWithRelations) WithSum(relation string, column string, args ...interface{}) orm.Query
WithSum provides a mock function with given fields: relation, column, args
func (*QueryWithRelations) WithWhereHas ¶
func (_m *QueryWithRelations) WithWhereHas(relation string, args ...interface{}) orm.Query
WithWhereHas provides a mock function with given fields: relation, args
type QueryWithRelations_DoesntHaveMorph_Call ¶
QueryWithRelations_DoesntHaveMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DoesntHaveMorph'
func (*QueryWithRelations_DoesntHaveMorph_Call) Return ¶
func (_c *QueryWithRelations_DoesntHaveMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_DoesntHaveMorph_Call
func (*QueryWithRelations_DoesntHaveMorph_Call) Run ¶
func (_c *QueryWithRelations_DoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_DoesntHaveMorph_Call
func (*QueryWithRelations_DoesntHaveMorph_Call) RunAndReturn ¶
func (_c *QueryWithRelations_DoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_DoesntHaveMorph_Call
type QueryWithRelations_DoesntHave_Call ¶
QueryWithRelations_DoesntHave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DoesntHave'
func (*QueryWithRelations_DoesntHave_Call) Return ¶
func (_c *QueryWithRelations_DoesntHave_Call) Return(_a0 orm.Query) *QueryWithRelations_DoesntHave_Call
func (*QueryWithRelations_DoesntHave_Call) Run ¶
func (_c *QueryWithRelations_DoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_DoesntHave_Call
func (*QueryWithRelations_DoesntHave_Call) RunAndReturn ¶
func (_c *QueryWithRelations_DoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_DoesntHave_Call
type QueryWithRelations_Expecter ¶
type QueryWithRelations_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryWithRelations_Expecter) DoesntHave ¶
func (_e *QueryWithRelations_Expecter) DoesntHave(relation interface{}, args ...interface{}) *QueryWithRelations_DoesntHave_Call
DoesntHave is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*QueryWithRelations_Expecter) DoesntHaveMorph ¶
func (_e *QueryWithRelations_Expecter) DoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_DoesntHaveMorph_Call
DoesntHaveMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) Has ¶
func (_e *QueryWithRelations_Expecter) Has(relation interface{}, args ...interface{}) *QueryWithRelations_Has_Call
Has is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*QueryWithRelations_Expecter) HasMorph ¶
func (_e *QueryWithRelations_Expecter) HasMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_HasMorph_Call
HasMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) OrDoesntHave ¶
func (_e *QueryWithRelations_Expecter) OrDoesntHave(relation interface{}, args ...interface{}) *QueryWithRelations_OrDoesntHave_Call
OrDoesntHave is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*QueryWithRelations_Expecter) OrDoesntHaveMorph ¶
func (_e *QueryWithRelations_Expecter) OrDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_OrDoesntHaveMorph_Call
OrDoesntHaveMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) OrHas ¶
func (_e *QueryWithRelations_Expecter) OrHas(relation interface{}, args ...interface{}) *QueryWithRelations_OrHas_Call
OrHas is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*QueryWithRelations_Expecter) OrHasMorph ¶
func (_e *QueryWithRelations_Expecter) OrHasMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_OrHasMorph_Call
OrHasMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) OrWhereBelongsTo ¶
func (_e *QueryWithRelations_Expecter) OrWhereBelongsTo(related interface{}, relation ...interface{}) *QueryWithRelations_OrWhereBelongsTo_Call
OrWhereBelongsTo is a helper method to define mock.On call
- related interface{}
- relation ...string
func (*QueryWithRelations_Expecter) OrWhereDoesntHave ¶
func (_e *QueryWithRelations_Expecter) OrWhereDoesntHave(relation interface{}, args ...interface{}) *QueryWithRelations_OrWhereDoesntHave_Call
OrWhereDoesntHave is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*QueryWithRelations_Expecter) OrWhereDoesntHaveMorph ¶
func (_e *QueryWithRelations_Expecter) OrWhereDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_OrWhereDoesntHaveMorph_Call
OrWhereDoesntHaveMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) OrWhereDoesntHaveRelation ¶
func (_e *QueryWithRelations_Expecter) OrWhereDoesntHaveRelation(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_OrWhereDoesntHaveRelation_Call
OrWhereDoesntHaveRelation is a helper method to define mock.On call
- relation string
- column interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) OrWhereHas ¶
func (_e *QueryWithRelations_Expecter) OrWhereHas(relation interface{}, args ...interface{}) *QueryWithRelations_OrWhereHas_Call
OrWhereHas is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*QueryWithRelations_Expecter) OrWhereHasMorph ¶
func (_e *QueryWithRelations_Expecter) OrWhereHasMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_OrWhereHasMorph_Call
OrWhereHasMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) OrWhereRelation ¶
func (_e *QueryWithRelations_Expecter) OrWhereRelation(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_OrWhereRelation_Call
OrWhereRelation is a helper method to define mock.On call
- relation string
- column interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) WhereBelongsTo ¶
func (_e *QueryWithRelations_Expecter) WhereBelongsTo(related interface{}, relation ...interface{}) *QueryWithRelations_WhereBelongsTo_Call
WhereBelongsTo is a helper method to define mock.On call
- related interface{}
- relation ...string
func (*QueryWithRelations_Expecter) WhereDoesntHave ¶
func (_e *QueryWithRelations_Expecter) WhereDoesntHave(relation interface{}, args ...interface{}) *QueryWithRelations_WhereDoesntHave_Call
WhereDoesntHave is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*QueryWithRelations_Expecter) WhereDoesntHaveMorph ¶
func (_e *QueryWithRelations_Expecter) WhereDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_WhereDoesntHaveMorph_Call
WhereDoesntHaveMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) WhereDoesntHaveRelation ¶
func (_e *QueryWithRelations_Expecter) WhereDoesntHaveRelation(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WhereDoesntHaveRelation_Call
WhereDoesntHaveRelation is a helper method to define mock.On call
- relation string
- column interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) WhereHas ¶
func (_e *QueryWithRelations_Expecter) WhereHas(relation interface{}, args ...interface{}) *QueryWithRelations_WhereHas_Call
WhereHas is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*QueryWithRelations_Expecter) WhereHasMorph ¶
func (_e *QueryWithRelations_Expecter) WhereHasMorph(relation interface{}, types interface{}, args ...interface{}) *QueryWithRelations_WhereHasMorph_Call
WhereHasMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) WhereRelation ¶
func (_e *QueryWithRelations_Expecter) WhereRelation(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WhereRelation_Call
WhereRelation is a helper method to define mock.On call
- relation string
- column interface{}
- args ...interface{}
func (*QueryWithRelations_Expecter) WithAggregate ¶
func (_e *QueryWithRelations_Expecter) WithAggregate(relation interface{}, column interface{}, fn interface{}, args ...interface{}) *QueryWithRelations_WithAggregate_Call
WithAggregate is a helper method to define mock.On call
- relation string
- column string
- fn string
- args ...interface{}
func (*QueryWithRelations_Expecter) WithAvg ¶
func (_e *QueryWithRelations_Expecter) WithAvg(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WithAvg_Call
WithAvg is a helper method to define mock.On call
- relation string
- column string
- args ...interface{}
func (*QueryWithRelations_Expecter) WithCount ¶
func (_e *QueryWithRelations_Expecter) WithCount(relations ...interface{}) *QueryWithRelations_WithCount_Call
WithCount is a helper method to define mock.On call
- relations ...interface{}
func (*QueryWithRelations_Expecter) WithExists ¶
func (_e *QueryWithRelations_Expecter) WithExists(relations ...interface{}) *QueryWithRelations_WithExists_Call
WithExists is a helper method to define mock.On call
- relations ...string
func (*QueryWithRelations_Expecter) WithMax ¶
func (_e *QueryWithRelations_Expecter) WithMax(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WithMax_Call
WithMax is a helper method to define mock.On call
- relation string
- column string
- args ...interface{}
func (*QueryWithRelations_Expecter) WithMin ¶
func (_e *QueryWithRelations_Expecter) WithMin(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WithMin_Call
WithMin is a helper method to define mock.On call
- relation string
- column string
- args ...interface{}
func (*QueryWithRelations_Expecter) WithSum ¶
func (_e *QueryWithRelations_Expecter) WithSum(relation interface{}, column interface{}, args ...interface{}) *QueryWithRelations_WithSum_Call
WithSum is a helper method to define mock.On call
- relation string
- column string
- args ...interface{}
func (*QueryWithRelations_Expecter) WithWhereHas ¶
func (_e *QueryWithRelations_Expecter) WithWhereHas(relation interface{}, args ...interface{}) *QueryWithRelations_WithWhereHas_Call
WithWhereHas is a helper method to define mock.On call
- relation string
- args ...interface{}
type QueryWithRelations_HasMorph_Call ¶
QueryWithRelations_HasMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasMorph'
func (*QueryWithRelations_HasMorph_Call) Return ¶
func (_c *QueryWithRelations_HasMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_HasMorph_Call
func (*QueryWithRelations_HasMorph_Call) Run ¶
func (_c *QueryWithRelations_HasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_HasMorph_Call
func (*QueryWithRelations_HasMorph_Call) RunAndReturn ¶
func (_c *QueryWithRelations_HasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_HasMorph_Call
type QueryWithRelations_Has_Call ¶
QueryWithRelations_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*QueryWithRelations_Has_Call) Return ¶
func (_c *QueryWithRelations_Has_Call) Return(_a0 orm.Query) *QueryWithRelations_Has_Call
func (*QueryWithRelations_Has_Call) Run ¶
func (_c *QueryWithRelations_Has_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_Has_Call
func (*QueryWithRelations_Has_Call) RunAndReturn ¶
func (_c *QueryWithRelations_Has_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_Has_Call
type QueryWithRelations_OrDoesntHaveMorph_Call ¶
QueryWithRelations_OrDoesntHaveMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrDoesntHaveMorph'
func (*QueryWithRelations_OrDoesntHaveMorph_Call) Return ¶
func (_c *QueryWithRelations_OrDoesntHaveMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_OrDoesntHaveMorph_Call
func (*QueryWithRelations_OrDoesntHaveMorph_Call) Run ¶
func (_c *QueryWithRelations_OrDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_OrDoesntHaveMorph_Call
func (*QueryWithRelations_OrDoesntHaveMorph_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrDoesntHaveMorph_Call
type QueryWithRelations_OrDoesntHave_Call ¶
QueryWithRelations_OrDoesntHave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrDoesntHave'
func (*QueryWithRelations_OrDoesntHave_Call) Return ¶
func (_c *QueryWithRelations_OrDoesntHave_Call) Return(_a0 orm.Query) *QueryWithRelations_OrDoesntHave_Call
func (*QueryWithRelations_OrDoesntHave_Call) Run ¶
func (_c *QueryWithRelations_OrDoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_OrDoesntHave_Call
func (*QueryWithRelations_OrDoesntHave_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_OrDoesntHave_Call
type QueryWithRelations_OrHasMorph_Call ¶
QueryWithRelations_OrHasMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrHasMorph'
func (*QueryWithRelations_OrHasMorph_Call) Return ¶
func (_c *QueryWithRelations_OrHasMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_OrHasMorph_Call
func (*QueryWithRelations_OrHasMorph_Call) Run ¶
func (_c *QueryWithRelations_OrHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_OrHasMorph_Call
func (*QueryWithRelations_OrHasMorph_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrHasMorph_Call
type QueryWithRelations_OrHas_Call ¶
QueryWithRelations_OrHas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrHas'
func (*QueryWithRelations_OrHas_Call) Return ¶
func (_c *QueryWithRelations_OrHas_Call) Return(_a0 orm.Query) *QueryWithRelations_OrHas_Call
func (*QueryWithRelations_OrHas_Call) Run ¶
func (_c *QueryWithRelations_OrHas_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_OrHas_Call
func (*QueryWithRelations_OrHas_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_OrHas_Call
type QueryWithRelations_OrWhereBelongsTo_Call ¶
QueryWithRelations_OrWhereBelongsTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereBelongsTo'
func (*QueryWithRelations_OrWhereBelongsTo_Call) Return ¶
func (_c *QueryWithRelations_OrWhereBelongsTo_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereBelongsTo_Call
func (*QueryWithRelations_OrWhereBelongsTo_Call) Run ¶
func (_c *QueryWithRelations_OrWhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *QueryWithRelations_OrWhereBelongsTo_Call
func (*QueryWithRelations_OrWhereBelongsTo_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrWhereBelongsTo_Call) RunAndReturn(run func(interface{}, ...string) orm.Query) *QueryWithRelations_OrWhereBelongsTo_Call
type QueryWithRelations_OrWhereDoesntHaveMorph_Call ¶
QueryWithRelations_OrWhereDoesntHaveMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereDoesntHaveMorph'
func (*QueryWithRelations_OrWhereDoesntHaveMorph_Call) Return ¶
func (_c *QueryWithRelations_OrWhereDoesntHaveMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereDoesntHaveMorph_Call
func (*QueryWithRelations_OrWhereDoesntHaveMorph_Call) Run ¶
func (_c *QueryWithRelations_OrWhereDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_OrWhereDoesntHaveMorph_Call
func (*QueryWithRelations_OrWhereDoesntHaveMorph_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrWhereDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrWhereDoesntHaveMorph_Call
type QueryWithRelations_OrWhereDoesntHaveRelation_Call ¶
QueryWithRelations_OrWhereDoesntHaveRelation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereDoesntHaveRelation'
func (*QueryWithRelations_OrWhereDoesntHaveRelation_Call) Return ¶
func (_c *QueryWithRelations_OrWhereDoesntHaveRelation_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereDoesntHaveRelation_Call
func (*QueryWithRelations_OrWhereDoesntHaveRelation_Call) Run ¶
func (_c *QueryWithRelations_OrWhereDoesntHaveRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *QueryWithRelations_OrWhereDoesntHaveRelation_Call
func (*QueryWithRelations_OrWhereDoesntHaveRelation_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrWhereDoesntHaveRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrWhereDoesntHaveRelation_Call
type QueryWithRelations_OrWhereDoesntHave_Call ¶
QueryWithRelations_OrWhereDoesntHave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereDoesntHave'
func (*QueryWithRelations_OrWhereDoesntHave_Call) Return ¶
func (_c *QueryWithRelations_OrWhereDoesntHave_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereDoesntHave_Call
func (*QueryWithRelations_OrWhereDoesntHave_Call) Run ¶
func (_c *QueryWithRelations_OrWhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_OrWhereDoesntHave_Call
func (*QueryWithRelations_OrWhereDoesntHave_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrWhereDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_OrWhereDoesntHave_Call
type QueryWithRelations_OrWhereHasMorph_Call ¶
QueryWithRelations_OrWhereHasMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereHasMorph'
func (*QueryWithRelations_OrWhereHasMorph_Call) Return ¶
func (_c *QueryWithRelations_OrWhereHasMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereHasMorph_Call
func (*QueryWithRelations_OrWhereHasMorph_Call) Run ¶
func (_c *QueryWithRelations_OrWhereHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_OrWhereHasMorph_Call
func (*QueryWithRelations_OrWhereHasMorph_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrWhereHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrWhereHasMorph_Call
type QueryWithRelations_OrWhereHas_Call ¶
QueryWithRelations_OrWhereHas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereHas'
func (*QueryWithRelations_OrWhereHas_Call) Return ¶
func (_c *QueryWithRelations_OrWhereHas_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereHas_Call
func (*QueryWithRelations_OrWhereHas_Call) Run ¶
func (_c *QueryWithRelations_OrWhereHas_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_OrWhereHas_Call
func (*QueryWithRelations_OrWhereHas_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrWhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_OrWhereHas_Call
type QueryWithRelations_OrWhereRelation_Call ¶
QueryWithRelations_OrWhereRelation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereRelation'
func (*QueryWithRelations_OrWhereRelation_Call) Return ¶
func (_c *QueryWithRelations_OrWhereRelation_Call) Return(_a0 orm.Query) *QueryWithRelations_OrWhereRelation_Call
func (*QueryWithRelations_OrWhereRelation_Call) Run ¶
func (_c *QueryWithRelations_OrWhereRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *QueryWithRelations_OrWhereRelation_Call
func (*QueryWithRelations_OrWhereRelation_Call) RunAndReturn ¶
func (_c *QueryWithRelations_OrWhereRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *QueryWithRelations_OrWhereRelation_Call
type QueryWithRelations_WhereBelongsTo_Call ¶
QueryWithRelations_WhereBelongsTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereBelongsTo'
func (*QueryWithRelations_WhereBelongsTo_Call) Return ¶
func (_c *QueryWithRelations_WhereBelongsTo_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereBelongsTo_Call
func (*QueryWithRelations_WhereBelongsTo_Call) Run ¶
func (_c *QueryWithRelations_WhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *QueryWithRelations_WhereBelongsTo_Call
func (*QueryWithRelations_WhereBelongsTo_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WhereBelongsTo_Call) RunAndReturn(run func(interface{}, ...string) orm.Query) *QueryWithRelations_WhereBelongsTo_Call
type QueryWithRelations_WhereDoesntHaveMorph_Call ¶
QueryWithRelations_WhereDoesntHaveMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereDoesntHaveMorph'
func (*QueryWithRelations_WhereDoesntHaveMorph_Call) Return ¶
func (_c *QueryWithRelations_WhereDoesntHaveMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereDoesntHaveMorph_Call
func (*QueryWithRelations_WhereDoesntHaveMorph_Call) Run ¶
func (_c *QueryWithRelations_WhereDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_WhereDoesntHaveMorph_Call
func (*QueryWithRelations_WhereDoesntHaveMorph_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WhereDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_WhereDoesntHaveMorph_Call
type QueryWithRelations_WhereDoesntHaveRelation_Call ¶
QueryWithRelations_WhereDoesntHaveRelation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereDoesntHaveRelation'
func (*QueryWithRelations_WhereDoesntHaveRelation_Call) Return ¶
func (_c *QueryWithRelations_WhereDoesntHaveRelation_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereDoesntHaveRelation_Call
func (*QueryWithRelations_WhereDoesntHaveRelation_Call) Run ¶
func (_c *QueryWithRelations_WhereDoesntHaveRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *QueryWithRelations_WhereDoesntHaveRelation_Call
func (*QueryWithRelations_WhereDoesntHaveRelation_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WhereDoesntHaveRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *QueryWithRelations_WhereDoesntHaveRelation_Call
type QueryWithRelations_WhereDoesntHave_Call ¶
QueryWithRelations_WhereDoesntHave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereDoesntHave'
func (*QueryWithRelations_WhereDoesntHave_Call) Return ¶
func (_c *QueryWithRelations_WhereDoesntHave_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereDoesntHave_Call
func (*QueryWithRelations_WhereDoesntHave_Call) Run ¶
func (_c *QueryWithRelations_WhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_WhereDoesntHave_Call
func (*QueryWithRelations_WhereDoesntHave_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WhereDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_WhereDoesntHave_Call
type QueryWithRelations_WhereHasMorph_Call ¶
QueryWithRelations_WhereHasMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereHasMorph'
func (*QueryWithRelations_WhereHasMorph_Call) Return ¶
func (_c *QueryWithRelations_WhereHasMorph_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereHasMorph_Call
func (*QueryWithRelations_WhereHasMorph_Call) Run ¶
func (_c *QueryWithRelations_WhereHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *QueryWithRelations_WhereHasMorph_Call
func (*QueryWithRelations_WhereHasMorph_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WhereHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *QueryWithRelations_WhereHasMorph_Call
type QueryWithRelations_WhereHas_Call ¶
QueryWithRelations_WhereHas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereHas'
func (*QueryWithRelations_WhereHas_Call) Return ¶
func (_c *QueryWithRelations_WhereHas_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereHas_Call
func (*QueryWithRelations_WhereHas_Call) Run ¶
func (_c *QueryWithRelations_WhereHas_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_WhereHas_Call
func (*QueryWithRelations_WhereHas_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_WhereHas_Call
type QueryWithRelations_WhereRelation_Call ¶
QueryWithRelations_WhereRelation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereRelation'
func (*QueryWithRelations_WhereRelation_Call) Return ¶
func (_c *QueryWithRelations_WhereRelation_Call) Return(_a0 orm.Query) *QueryWithRelations_WhereRelation_Call
func (*QueryWithRelations_WhereRelation_Call) Run ¶
func (_c *QueryWithRelations_WhereRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *QueryWithRelations_WhereRelation_Call
func (*QueryWithRelations_WhereRelation_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WhereRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *QueryWithRelations_WhereRelation_Call
type QueryWithRelations_WithAggregate_Call ¶
QueryWithRelations_WithAggregate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithAggregate'
func (*QueryWithRelations_WithAggregate_Call) Return ¶
func (_c *QueryWithRelations_WithAggregate_Call) Return(_a0 orm.Query) *QueryWithRelations_WithAggregate_Call
func (*QueryWithRelations_WithAggregate_Call) Run ¶
func (_c *QueryWithRelations_WithAggregate_Call) Run(run func(relation string, column string, fn string, args ...interface{})) *QueryWithRelations_WithAggregate_Call
func (*QueryWithRelations_WithAggregate_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WithAggregate_Call) RunAndReturn(run func(string, string, string, ...interface{}) orm.Query) *QueryWithRelations_WithAggregate_Call
type QueryWithRelations_WithAvg_Call ¶
QueryWithRelations_WithAvg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithAvg'
func (*QueryWithRelations_WithAvg_Call) Return ¶
func (_c *QueryWithRelations_WithAvg_Call) Return(_a0 orm.Query) *QueryWithRelations_WithAvg_Call
func (*QueryWithRelations_WithAvg_Call) Run ¶
func (_c *QueryWithRelations_WithAvg_Call) Run(run func(relation string, column string, args ...interface{})) *QueryWithRelations_WithAvg_Call
func (*QueryWithRelations_WithAvg_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WithAvg_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *QueryWithRelations_WithAvg_Call
type QueryWithRelations_WithCount_Call ¶
QueryWithRelations_WithCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithCount'
func (*QueryWithRelations_WithCount_Call) Return ¶
func (_c *QueryWithRelations_WithCount_Call) Return(_a0 orm.Query) *QueryWithRelations_WithCount_Call
func (*QueryWithRelations_WithCount_Call) Run ¶
func (_c *QueryWithRelations_WithCount_Call) Run(run func(relations ...interface{})) *QueryWithRelations_WithCount_Call
func (*QueryWithRelations_WithCount_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WithCount_Call) RunAndReturn(run func(...interface{}) orm.Query) *QueryWithRelations_WithCount_Call
type QueryWithRelations_WithExists_Call ¶
QueryWithRelations_WithExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithExists'
func (*QueryWithRelations_WithExists_Call) Return ¶
func (_c *QueryWithRelations_WithExists_Call) Return(_a0 orm.Query) *QueryWithRelations_WithExists_Call
func (*QueryWithRelations_WithExists_Call) Run ¶
func (_c *QueryWithRelations_WithExists_Call) Run(run func(relations ...string)) *QueryWithRelations_WithExists_Call
func (*QueryWithRelations_WithExists_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WithExists_Call) RunAndReturn(run func(...string) orm.Query) *QueryWithRelations_WithExists_Call
type QueryWithRelations_WithMax_Call ¶
QueryWithRelations_WithMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithMax'
func (*QueryWithRelations_WithMax_Call) Return ¶
func (_c *QueryWithRelations_WithMax_Call) Return(_a0 orm.Query) *QueryWithRelations_WithMax_Call
func (*QueryWithRelations_WithMax_Call) Run ¶
func (_c *QueryWithRelations_WithMax_Call) Run(run func(relation string, column string, args ...interface{})) *QueryWithRelations_WithMax_Call
func (*QueryWithRelations_WithMax_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WithMax_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *QueryWithRelations_WithMax_Call
type QueryWithRelations_WithMin_Call ¶
QueryWithRelations_WithMin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithMin'
func (*QueryWithRelations_WithMin_Call) Return ¶
func (_c *QueryWithRelations_WithMin_Call) Return(_a0 orm.Query) *QueryWithRelations_WithMin_Call
func (*QueryWithRelations_WithMin_Call) Run ¶
func (_c *QueryWithRelations_WithMin_Call) Run(run func(relation string, column string, args ...interface{})) *QueryWithRelations_WithMin_Call
func (*QueryWithRelations_WithMin_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WithMin_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *QueryWithRelations_WithMin_Call
type QueryWithRelations_WithSum_Call ¶
QueryWithRelations_WithSum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithSum'
func (*QueryWithRelations_WithSum_Call) Return ¶
func (_c *QueryWithRelations_WithSum_Call) Return(_a0 orm.Query) *QueryWithRelations_WithSum_Call
func (*QueryWithRelations_WithSum_Call) Run ¶
func (_c *QueryWithRelations_WithSum_Call) Run(run func(relation string, column string, args ...interface{})) *QueryWithRelations_WithSum_Call
func (*QueryWithRelations_WithSum_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WithSum_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *QueryWithRelations_WithSum_Call
type QueryWithRelations_WithWhereHas_Call ¶
QueryWithRelations_WithWhereHas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithWhereHas'
func (*QueryWithRelations_WithWhereHas_Call) Return ¶
func (_c *QueryWithRelations_WithWhereHas_Call) Return(_a0 orm.Query) *QueryWithRelations_WithWhereHas_Call
func (*QueryWithRelations_WithWhereHas_Call) Run ¶
func (_c *QueryWithRelations_WithWhereHas_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_WithWhereHas_Call
func (*QueryWithRelations_WithWhereHas_Call) RunAndReturn ¶
func (_c *QueryWithRelations_WithWhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *QueryWithRelations_WithWhereHas_Call
type Query_Avg_Call ¶
Query_Avg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Avg'
func (*Query_Avg_Call) Return ¶
func (_c *Query_Avg_Call) Return(_a0 error) *Query_Avg_Call
func (*Query_Avg_Call) Run ¶
func (_c *Query_Avg_Call) Run(run func(column string, dest interface{})) *Query_Avg_Call
func (*Query_Avg_Call) RunAndReturn ¶
func (_c *Query_Avg_Call) RunAndReturn(run func(string, interface{}) error) *Query_Avg_Call
type Query_BeginTransaction_Call ¶
Query_BeginTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BeginTransaction'
func (*Query_BeginTransaction_Call) Return ¶
func (_c *Query_BeginTransaction_Call) Return(_a0 orm.Query, _a1 error) *Query_BeginTransaction_Call
func (*Query_BeginTransaction_Call) Run ¶
func (_c *Query_BeginTransaction_Call) Run(run func()) *Query_BeginTransaction_Call
func (*Query_BeginTransaction_Call) RunAndReturn ¶
func (_c *Query_BeginTransaction_Call) RunAndReturn(run func() (orm.Query, error)) *Query_BeginTransaction_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.Query, _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.Query, error)) *Query_Begin_Call
type Query_Commit_Call ¶
Query_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*Query_Commit_Call) Return ¶
func (_c *Query_Commit_Call) Return(_a0 error) *Query_Commit_Call
func (*Query_Commit_Call) Run ¶
func (_c *Query_Commit_Call) Run(run func()) *Query_Commit_Call
func (*Query_Commit_Call) RunAndReturn ¶
func (_c *Query_Commit_Call) RunAndReturn(run func() error) *Query_Commit_Call
type Query_Context_Call ¶
Query_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*Query_Context_Call) Return ¶
func (_c *Query_Context_Call) Return(_a0 context.Context) *Query_Context_Call
func (*Query_Context_Call) Run ¶
func (_c *Query_Context_Call) Run(run func()) *Query_Context_Call
func (*Query_Context_Call) RunAndReturn ¶
func (_c *Query_Context_Call) RunAndReturn(run func() context.Context) *Query_Context_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 int64, _a1 error) *Query_Count_Call
func (*Query_Count_Call) Run ¶
func (_c *Query_Count_Call) Run(run func()) *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_CursorPaginate_Call ¶
Query_CursorPaginate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CursorPaginate'
func (*Query_CursorPaginate_Call) Return ¶
func (_c *Query_CursorPaginate_Call) Return(_a0 db.CursorPaginator, _a1 error) *Query_CursorPaginate_Call
func (*Query_CursorPaginate_Call) Run ¶
func (_c *Query_CursorPaginate_Call) Run(run func(perPage int, cursor string, dest interface{})) *Query_CursorPaginate_Call
func (*Query_CursorPaginate_Call) RunAndReturn ¶
func (_c *Query_CursorPaginate_Call) RunAndReturn(run func(int, string, interface{}) (db.CursorPaginator, error)) *Query_CursorPaginate_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 db.Row) *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 db.Row) *Query_Cursor_Call
type Query_DB_Call ¶
Query_DB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DB'
func (*Query_DB_Call) Return ¶
func (_c *Query_DB_Call) Return(_a0 *sql.DB, _a1 error) *Query_DB_Call
func (*Query_DB_Call) Run ¶
func (_c *Query_DB_Call) Run(run func()) *Query_DB_Call
func (*Query_DB_Call) RunAndReturn ¶
func (_c *Query_DB_Call) RunAndReturn(run func() (*sql.DB, error)) *Query_DB_Call
type Query_Decrement_Call ¶
Query_Decrement_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Decrement'
func (*Query_Decrement_Call) Return ¶
func (_c *Query_Decrement_Call) Return(_a0 *db.Result, _a1 error) *Query_Decrement_Call
func (*Query_Decrement_Call) Run ¶
func (_c *Query_Decrement_Call) Run(run func(column string, args ...interface{})) *Query_Decrement_Call
func (*Query_Decrement_Call) RunAndReturn ¶
func (_c *Query_Decrement_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *Query_Decrement_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 *db.Result, _a1 error) *Query_Delete_Call
func (*Query_Delete_Call) Run ¶
func (_c *Query_Delete_Call) Run(run func(value ...interface{})) *Query_Delete_Call
func (*Query_Delete_Call) RunAndReturn ¶
func (_c *Query_Delete_Call) RunAndReturn(run func(...interface{}) (*db.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(columns ...string)) *Query_Distinct_Call
func (*Query_Distinct_Call) RunAndReturn ¶
func (_c *Query_Distinct_Call) RunAndReturn(run func(...string) orm.Query) *Query_Distinct_Call
type Query_DoesntHaveMorph_Call ¶
Query_DoesntHaveMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DoesntHaveMorph'
func (*Query_DoesntHaveMorph_Call) Return ¶
func (_c *Query_DoesntHaveMorph_Call) Return(_a0 orm.Query) *Query_DoesntHaveMorph_Call
func (*Query_DoesntHaveMorph_Call) Run ¶
func (_c *Query_DoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_DoesntHaveMorph_Call
func (*Query_DoesntHaveMorph_Call) RunAndReturn ¶
func (_c *Query_DoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_DoesntHaveMorph_Call
type Query_DoesntHave_Call ¶
Query_DoesntHave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DoesntHave'
func (*Query_DoesntHave_Call) Return ¶
func (_c *Query_DoesntHave_Call) Return(_a0 orm.Query) *Query_DoesntHave_Call
func (*Query_DoesntHave_Call) Run ¶
func (_c *Query_DoesntHave_Call) Run(run func(relation string, args ...interface{})) *Query_DoesntHave_Call
func (*Query_DoesntHave_Call) RunAndReturn ¶
func (_c *Query_DoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_DoesntHave_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 string) *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() string) *Query_Driver_Call
type Query_Except_Call ¶
Query_Except_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Except'
func (*Query_Except_Call) Return ¶
func (_c *Query_Except_Call) Return(_a0 orm.Query) *Query_Except_Call
func (*Query_Except_Call) Run ¶
func (_c *Query_Except_Call) Run(run func(models interface{})) *Query_Except_Call
func (*Query_Except_Call) RunAndReturn ¶
func (_c *Query_Except_Call) RunAndReturn(run func(interface{}) orm.Query) *Query_Except_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 *db.Result, _a1 error) *Query_Exec_Call
func (*Query_Exec_Call) Run ¶
func (_c *Query_Exec_Call) Run(run func(_a0 string, values ...interface{})) *Query_Exec_Call
func (*Query_Exec_Call) RunAndReturn ¶
func (_c *Query_Exec_Call) RunAndReturn(run func(string, ...interface{}) (*db.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 bool, _a1 error) *Query_Exists_Call
func (*Query_Exists_Call) Run ¶
func (_c *Query_Exists_Call) Run(run func()) *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) Avg ¶
func (_e *Query_Expecter) Avg(column interface{}, dest interface{}) *Query_Avg_Call
Avg is a helper method to define mock.On call
- column string
- dest interface{}
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) BeginTransaction ¶
func (_e *Query_Expecter) BeginTransaction() *Query_BeginTransaction_Call
BeginTransaction is a helper method to define mock.On call
func (*Query_Expecter) Commit ¶
func (_e *Query_Expecter) Commit() *Query_Commit_Call
Commit is a helper method to define mock.On call
func (*Query_Expecter) Context ¶
func (_e *Query_Expecter) Context() *Query_Context_Call
Context is a helper method to define mock.On call
func (*Query_Expecter) Count ¶
func (_e *Query_Expecter) Count() *Query_Count_Call
Count is a helper method to define mock.On call
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) CursorPaginate ¶
func (_e *Query_Expecter) CursorPaginate(perPage interface{}, cursor interface{}, dest interface{}) *Query_CursorPaginate_Call
CursorPaginate is a helper method to define mock.On call
- perPage int
- cursor string
- dest interface{}
func (*Query_Expecter) DB ¶
func (_e *Query_Expecter) DB() *Query_DB_Call
DB is a helper method to define mock.On call
func (*Query_Expecter) Decrement ¶
func (_e *Query_Expecter) Decrement(column interface{}, args ...interface{}) *Query_Decrement_Call
Decrement is a helper method to define mock.On call
- column string
- args ...interface{}
func (*Query_Expecter) Delete ¶
func (_e *Query_Expecter) Delete(value ...interface{}) *Query_Delete_Call
Delete is a helper method to define mock.On call
- value ...interface{}
func (*Query_Expecter) Distinct ¶
func (_e *Query_Expecter) Distinct(columns ...interface{}) *Query_Distinct_Call
Distinct is a helper method to define mock.On call
- columns ...string
func (*Query_Expecter) DoesntHave ¶
func (_e *Query_Expecter) DoesntHave(relation interface{}, args ...interface{}) *Query_DoesntHave_Call
DoesntHave is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*Query_Expecter) DoesntHaveMorph ¶
func (_e *Query_Expecter) DoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *Query_DoesntHaveMorph_Call
DoesntHaveMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- 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) Except ¶
func (_e *Query_Expecter) Except(models interface{}) *Query_Except_Call
Except is a helper method to define mock.On call
- models interface{}
func (*Query_Expecter) Exec ¶
func (_e *Query_Expecter) Exec(_a0 interface{}, values ...interface{}) *Query_Exec_Call
Exec is a helper method to define mock.On call
- _a0 string
- values ...interface{}
func (*Query_Expecter) Exists ¶
func (_e *Query_Expecter) Exists() *Query_Exists_Call
Exists is a helper method to define mock.On call
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) FindMany ¶
func (_e *Query_Expecter) FindMany(dest interface{}, ids interface{}, columns ...interface{}) *Query_FindMany_Call
FindMany is a helper method to define mock.On call
- dest interface{}
- ids []interface{}
- columns ...interface{}
func (*Query_Expecter) FindOr ¶
func (_e *Query_Expecter) FindOr(dest interface{}, id interface{}, callback interface{}) *Query_FindOr_Call
FindOr is a helper method to define mock.On call
- dest interface{}
- id interface{}
- callback func() error
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{}) *Query_ForceDelete_Call
ForceDelete is a helper method to define mock.On call
- value ...interface{}
func (*Query_Expecter) Get ¶
func (_e *Query_Expecter) Get(dest interface{}, columns ...interface{}) *Query_Get_Call
Get is a helper method to define mock.On call
- dest interface{}
- columns ...interface{}
func (*Query_Expecter) Group ¶
func (_e *Query_Expecter) Group(column interface{}) *Query_Group_Call
Group is a helper method to define mock.On call
- column string
func (*Query_Expecter) GroupBy ¶
func (_e *Query_Expecter) GroupBy(column ...interface{}) *Query_GroupBy_Call
GroupBy is a helper method to define mock.On call
- column ...string
func (*Query_Expecter) Has ¶
func (_e *Query_Expecter) Has(relation interface{}, args ...interface{}) *Query_Has_Call
Has is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*Query_Expecter) HasMorph ¶
func (_e *Query_Expecter) HasMorph(relation interface{}, types interface{}, args ...interface{}) *Query_HasMorph_Call
HasMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
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) InTransaction ¶
func (_e *Query_Expecter) InTransaction() *Query_InTransaction_Call
InTransaction is a helper method to define mock.On call
func (*Query_Expecter) Increment ¶
func (_e *Query_Expecter) Increment(column interface{}, args ...interface{}) *Query_Increment_Call
Increment is a helper method to define mock.On call
- column string
- args ...interface{}
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) Latest ¶
func (_e *Query_Expecter) Latest(column ...interface{}) *Query_Latest_Call
Latest is a helper method to define mock.On call
- column ...string
func (*Query_Expecter) LatestOfMany ¶
func (_e *Query_Expecter) LatestOfMany(column ...interface{}) *Query_LatestOfMany_Call
LatestOfMany is a helper method to define mock.On call
- column ...string
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) Max ¶
func (_e *Query_Expecter) Max(column interface{}, dest interface{}) *Query_Max_Call
Max is a helper method to define mock.On call
- column string
- dest interface{}
func (*Query_Expecter) Min ¶
func (_e *Query_Expecter) Min(column interface{}, dest interface{}) *Query_Min_Call
Min is a helper method to define mock.On call
- column string
- dest interface{}
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) OfMany ¶
func (_e *Query_Expecter) OfMany(column interface{}, aggregate interface{}) *Query_OfMany_Call
OfMany is a helper method to define mock.On call
- column string
- aggregate string
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) Oldest ¶
func (_e *Query_Expecter) Oldest(column ...interface{}) *Query_Oldest_Call
Oldest is a helper method to define mock.On call
- column ...string
func (*Query_Expecter) OldestOfMany ¶
func (_e *Query_Expecter) OldestOfMany(column ...interface{}) *Query_OldestOfMany_Call
OldestOfMany is a helper method to define mock.On call
- column ...string
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) OnlyTrashed ¶
func (_e *Query_Expecter) OnlyTrashed() *Query_OnlyTrashed_Call
OnlyTrashed is a helper method to define mock.On call
func (*Query_Expecter) OrDoesntHave ¶
func (_e *Query_Expecter) OrDoesntHave(relation interface{}, args ...interface{}) *Query_OrDoesntHave_Call
OrDoesntHave is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*Query_Expecter) OrDoesntHaveMorph ¶
func (_e *Query_Expecter) OrDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *Query_OrDoesntHaveMorph_Call
OrDoesntHaveMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*Query_Expecter) OrHas ¶
func (_e *Query_Expecter) OrHas(relation interface{}, args ...interface{}) *Query_OrHas_Call
OrHas is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*Query_Expecter) OrHasMorph ¶
func (_e *Query_Expecter) OrHasMorph(relation interface{}, types interface{}, args ...interface{}) *Query_OrHasMorph_Call
OrHasMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
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) OrWhereBelongsTo ¶
func (_e *Query_Expecter) OrWhereBelongsTo(related interface{}, relation ...interface{}) *Query_OrWhereBelongsTo_Call
OrWhereBelongsTo is a helper method to define mock.On call
- related interface{}
- relation ...string
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) OrWhereDoesntHave ¶
func (_e *Query_Expecter) OrWhereDoesntHave(relation interface{}, args ...interface{}) *Query_OrWhereDoesntHave_Call
OrWhereDoesntHave is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*Query_Expecter) OrWhereDoesntHaveMorph ¶
func (_e *Query_Expecter) OrWhereDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *Query_OrWhereDoesntHaveMorph_Call
OrWhereDoesntHaveMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*Query_Expecter) OrWhereDoesntHaveRelation ¶
func (_e *Query_Expecter) OrWhereDoesntHaveRelation(relation interface{}, column interface{}, args ...interface{}) *Query_OrWhereDoesntHaveRelation_Call
OrWhereDoesntHaveRelation is a helper method to define mock.On call
- relation string
- column interface{}
- args ...interface{}
func (*Query_Expecter) OrWhereHas ¶
func (_e *Query_Expecter) OrWhereHas(relation interface{}, args ...interface{}) *Query_OrWhereHas_Call
OrWhereHas is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*Query_Expecter) OrWhereHasMorph ¶
func (_e *Query_Expecter) OrWhereHasMorph(relation interface{}, types interface{}, args ...interface{}) *Query_OrWhereHasMorph_Call
OrWhereHasMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...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) OrWhereJsonContains ¶
func (_e *Query_Expecter) OrWhereJsonContains(column interface{}, value interface{}) *Query_OrWhereJsonContains_Call
OrWhereJsonContains is a helper method to define mock.On call
- column string
- value interface{}
func (*Query_Expecter) OrWhereJsonContainsKey ¶
func (_e *Query_Expecter) OrWhereJsonContainsKey(column interface{}) *Query_OrWhereJsonContainsKey_Call
OrWhereJsonContainsKey is a helper method to define mock.On call
- column string
func (*Query_Expecter) OrWhereJsonDoesntContain ¶
func (_e *Query_Expecter) OrWhereJsonDoesntContain(column interface{}, value interface{}) *Query_OrWhereJsonDoesntContain_Call
OrWhereJsonDoesntContain is a helper method to define mock.On call
- column string
- value interface{}
func (*Query_Expecter) OrWhereJsonDoesntContainKey ¶
func (_e *Query_Expecter) OrWhereJsonDoesntContainKey(column interface{}) *Query_OrWhereJsonDoesntContainKey_Call
OrWhereJsonDoesntContainKey is a helper method to define mock.On call
- column string
func (*Query_Expecter) OrWhereJsonLength ¶
func (_e *Query_Expecter) OrWhereJsonLength(column interface{}, args ...interface{}) *Query_OrWhereJsonLength_Call
OrWhereJsonLength is a helper method to define mock.On call
- column string
- args ...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) OrWhereRelation ¶
func (_e *Query_Expecter) OrWhereRelation(relation interface{}, column interface{}, args ...interface{}) *Query_OrWhereRelation_Call
OrWhereRelation is a helper method to define mock.On call
- relation string
- column interface{}
- args ...interface{}
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) OrderByRaw ¶
func (_e *Query_Expecter) OrderByRaw(raw interface{}) *Query_OrderByRaw_Call
OrderByRaw is a helper method to define mock.On call
- raw 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(_a0 interface{}, values ...interface{}) *Query_Raw_Call
Raw is a helper method to define mock.On call
- _a0 string
- values ...interface{}
func (*Query_Expecter) Related ¶
func (_e *Query_Expecter) Related(parent interface{}, name interface{}) *Query_Related_Call
Related is a helper method to define mock.On call
- parent interface{}
- name string
func (*Query_Expecter) Relation ¶
func (_e *Query_Expecter) Relation(parent interface{}, name interface{}) *Query_Relation_Call
Relation is a helper method to define mock.On call
- parent interface{}
- name string
func (*Query_Expecter) Restore ¶
func (_e *Query_Expecter) Restore(model ...interface{}) *Query_Restore_Call
Restore is a helper method to define mock.On call
- model ...interface{}
func (*Query_Expecter) Rollback ¶
func (_e *Query_Expecter) Rollback() *Query_Rollback_Call
Rollback is a helper method to define mock.On call
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(columns ...interface{}) *Query_Select_Call
Select is a helper method to define mock.On call
- columns ...string
func (*Query_Expecter) SelectRaw ¶
func (_e *Query_Expecter) SelectRaw(query interface{}, args ...interface{}) *Query_SelectRaw_Call
SelectRaw 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) Sole ¶
func (_e *Query_Expecter) Sole(dest interface{}) *Query_Sole_Call
Sole is a helper method to define mock.On call
- dest interface{}
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 interface{}
- 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) Touch ¶
func (_e *Query_Expecter) Touch(column ...interface{}) *Query_Touch_Call
Touch is a helper method to define mock.On call
- column ...string
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) Upsert ¶
func (_e *Query_Expecter) Upsert(values interface{}, uniqueBy interface{}, update ...interface{}) *Query_Upsert_Call
Upsert is a helper method to define mock.On call
- values interface{}
- uniqueBy []string
- update ...interface{}
func (*Query_Expecter) UseWritePdo ¶
func (_e *Query_Expecter) UseWritePdo() *Query_UseWritePdo_Call
UseWritePdo is a helper method to define mock.On call
func (*Query_Expecter) Value ¶
func (_e *Query_Expecter) Value(column interface{}, dest interface{}) *Query_Value_Call
Value is a helper method to define mock.On call
- column string
- dest interface{}
func (*Query_Expecter) When ¶
func (_e *Query_Expecter) When(condition interface{}, callback interface{}, falseCallback ...interface{}) *Query_When_Call
When is a helper method to define mock.On call
- condition bool
- callback func(orm.Query) orm.Query
- falseCallback ...func(orm.Query) orm.Query
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) WhereAll ¶
func (_e *Query_Expecter) WhereAll(columns interface{}, args ...interface{}) *Query_WhereAll_Call
WhereAll is a helper method to define mock.On call
- columns []string
- args ...interface{}
func (*Query_Expecter) WhereAny ¶
func (_e *Query_Expecter) WhereAny(columns interface{}, args ...interface{}) *Query_WhereAny_Call
WhereAny is a helper method to define mock.On call
- columns []string
- args ...interface{}
func (*Query_Expecter) WhereBelongsTo ¶
func (_e *Query_Expecter) WhereBelongsTo(related interface{}, relation ...interface{}) *Query_WhereBelongsTo_Call
WhereBelongsTo is a helper method to define mock.On call
- related interface{}
- relation ...string
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) WhereDoesntHave ¶
func (_e *Query_Expecter) WhereDoesntHave(relation interface{}, args ...interface{}) *Query_WhereDoesntHave_Call
WhereDoesntHave is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*Query_Expecter) WhereDoesntHaveMorph ¶
func (_e *Query_Expecter) WhereDoesntHaveMorph(relation interface{}, types interface{}, args ...interface{}) *Query_WhereDoesntHaveMorph_Call
WhereDoesntHaveMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...interface{}
func (*Query_Expecter) WhereDoesntHaveRelation ¶
func (_e *Query_Expecter) WhereDoesntHaveRelation(relation interface{}, column interface{}, args ...interface{}) *Query_WhereDoesntHaveRelation_Call
WhereDoesntHaveRelation is a helper method to define mock.On call
- relation string
- column interface{}
- args ...interface{}
func (*Query_Expecter) WhereHas ¶
func (_e *Query_Expecter) WhereHas(relation interface{}, args ...interface{}) *Query_WhereHas_Call
WhereHas is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*Query_Expecter) WhereHasMorph ¶
func (_e *Query_Expecter) WhereHasMorph(relation interface{}, types interface{}, args ...interface{}) *Query_WhereHasMorph_Call
WhereHasMorph is a helper method to define mock.On call
- relation string
- types []interface{}
- args ...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) WhereJsonContains ¶
func (_e *Query_Expecter) WhereJsonContains(column interface{}, value interface{}) *Query_WhereJsonContains_Call
WhereJsonContains is a helper method to define mock.On call
- column string
- value interface{}
func (*Query_Expecter) WhereJsonContainsKey ¶
func (_e *Query_Expecter) WhereJsonContainsKey(column interface{}) *Query_WhereJsonContainsKey_Call
WhereJsonContainsKey is a helper method to define mock.On call
- column string
func (*Query_Expecter) WhereJsonDoesntContain ¶
func (_e *Query_Expecter) WhereJsonDoesntContain(column interface{}, value interface{}) *Query_WhereJsonDoesntContain_Call
WhereJsonDoesntContain is a helper method to define mock.On call
- column string
- value interface{}
func (*Query_Expecter) WhereJsonDoesntContainKey ¶
func (_e *Query_Expecter) WhereJsonDoesntContainKey(column interface{}) *Query_WhereJsonDoesntContainKey_Call
WhereJsonDoesntContainKey is a helper method to define mock.On call
- column string
func (*Query_Expecter) WhereJsonLength ¶
func (_e *Query_Expecter) WhereJsonLength(column interface{}, args ...interface{}) *Query_WhereJsonLength_Call
WhereJsonLength is a helper method to define mock.On call
- column string
- args ...interface{}
func (*Query_Expecter) WhereKey ¶
func (_e *Query_Expecter) WhereKey(id interface{}) *Query_WhereKey_Call
WhereKey is a helper method to define mock.On call
- id interface{}
func (*Query_Expecter) WhereKeyNot ¶
func (_e *Query_Expecter) WhereKeyNot(id interface{}) *Query_WhereKeyNot_Call
WhereKeyNot is a helper method to define mock.On call
- id interface{}
func (*Query_Expecter) WhereNone ¶
func (_e *Query_Expecter) WhereNone(columns interface{}, args ...interface{}) *Query_WhereNone_Call
WhereNone is a helper method to define mock.On call
- columns []string
- args ...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) WhereRelation ¶
func (_e *Query_Expecter) WhereRelation(relation interface{}, column interface{}, args ...interface{}) *Query_WhereRelation_Call
WhereRelation is a helper method to define mock.On call
- relation string
- column interface{}
- args ...interface{}
func (*Query_Expecter) With ¶
func (_e *Query_Expecter) With(args ...interface{}) *Query_With_Call
With is a helper method to define mock.On call
- args ...interface{}
func (*Query_Expecter) WithAggregate ¶
func (_e *Query_Expecter) WithAggregate(relation interface{}, column interface{}, fn interface{}, args ...interface{}) *Query_WithAggregate_Call
WithAggregate is a helper method to define mock.On call
- relation string
- column string
- fn string
- args ...interface{}
func (*Query_Expecter) WithAttributes ¶
func (_e *Query_Expecter) WithAttributes(attributes interface{}, args ...interface{}) *Query_WithAttributes_Call
WithAttributes is a helper method to define mock.On call
- attributes interface{}
- args ...interface{}
func (*Query_Expecter) WithAvg ¶
func (_e *Query_Expecter) WithAvg(relation interface{}, column interface{}, args ...interface{}) *Query_WithAvg_Call
WithAvg is a helper method to define mock.On call
- relation string
- column string
- args ...interface{}
func (*Query_Expecter) WithCount ¶
func (_e *Query_Expecter) WithCount(relations ...interface{}) *Query_WithCount_Call
WithCount is a helper method to define mock.On call
- relations ...interface{}
func (*Query_Expecter) WithExists ¶
func (_e *Query_Expecter) WithExists(relations ...interface{}) *Query_WithExists_Call
WithExists is a helper method to define mock.On call
- relations ...string
func (*Query_Expecter) WithMax ¶
func (_e *Query_Expecter) WithMax(relation interface{}, column interface{}, args ...interface{}) *Query_WithMax_Call
WithMax is a helper method to define mock.On call
- relation string
- column string
- args ...interface{}
func (*Query_Expecter) WithMin ¶
func (_e *Query_Expecter) WithMin(relation interface{}, column interface{}, args ...interface{}) *Query_WithMin_Call
WithMin is a helper method to define mock.On call
- relation string
- column string
- args ...interface{}
func (*Query_Expecter) WithOnly ¶
func (_e *Query_Expecter) WithOnly(args ...interface{}) *Query_WithOnly_Call
WithOnly is a helper method to define mock.On call
- args ...interface{}
func (*Query_Expecter) WithSum ¶
func (_e *Query_Expecter) WithSum(relation interface{}, column interface{}, args ...interface{}) *Query_WithSum_Call
WithSum is a helper method to define mock.On call
- relation string
- column 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) WithWhereHas ¶
func (_e *Query_Expecter) WithWhereHas(relation interface{}, args ...interface{}) *Query_WithWhereHas_Call
WithWhereHas is a helper method to define mock.On call
- relation string
- args ...interface{}
func (*Query_Expecter) Without ¶
func (_e *Query_Expecter) Without(relations ...interface{}) *Query_Without_Call
Without is a helper method to define mock.On call
- relations ...string
func (*Query_Expecter) WithoutEvents ¶
func (_e *Query_Expecter) WithoutEvents() *Query_WithoutEvents_Call
WithoutEvents is a helper method to define mock.On call
func (*Query_Expecter) WithoutGlobalScopes ¶
func (_e *Query_Expecter) WithoutGlobalScopes(names ...interface{}) *Query_WithoutGlobalScopes_Call
WithoutGlobalScopes is a helper method to define mock.On call
- names ...string
type Query_FindMany_Call ¶
Query_FindMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMany'
func (*Query_FindMany_Call) Return ¶
func (_c *Query_FindMany_Call) Return(_a0 error) *Query_FindMany_Call
func (*Query_FindMany_Call) Run ¶
func (_c *Query_FindMany_Call) Run(run func(dest interface{}, ids []interface{}, columns ...interface{})) *Query_FindMany_Call
func (*Query_FindMany_Call) RunAndReturn ¶
func (_c *Query_FindMany_Call) RunAndReturn(run func(interface{}, []interface{}, ...interface{}) error) *Query_FindMany_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_FindOr_Call ¶
Query_FindOr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOr'
func (*Query_FindOr_Call) Return ¶
func (_c *Query_FindOr_Call) Return(_a0 error) *Query_FindOr_Call
func (*Query_FindOr_Call) Run ¶
func (_c *Query_FindOr_Call) Run(run func(dest interface{}, id interface{}, callback func() error)) *Query_FindOr_Call
func (*Query_FindOr_Call) RunAndReturn ¶
func (_c *Query_FindOr_Call) RunAndReturn(run func(interface{}, interface{}, func() error) error) *Query_FindOr_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 *db.Result, _a1 error) *Query_ForceDelete_Call
func (*Query_ForceDelete_Call) Run ¶
func (_c *Query_ForceDelete_Call) Run(run func(value ...interface{})) *Query_ForceDelete_Call
func (*Query_ForceDelete_Call) RunAndReturn ¶
func (_c *Query_ForceDelete_Call) RunAndReturn(run func(...interface{}) (*db.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{}, columns ...interface{})) *Query_Get_Call
func (*Query_Get_Call) RunAndReturn ¶
func (_c *Query_Get_Call) RunAndReturn(run func(interface{}, ...interface{}) error) *Query_Get_Call
type Query_GroupBy_Call ¶
Query_GroupBy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GroupBy'
func (*Query_GroupBy_Call) Return ¶
func (_c *Query_GroupBy_Call) Return(_a0 orm.Query) *Query_GroupBy_Call
func (*Query_GroupBy_Call) Run ¶
func (_c *Query_GroupBy_Call) Run(run func(column ...string)) *Query_GroupBy_Call
func (*Query_GroupBy_Call) RunAndReturn ¶
func (_c *Query_GroupBy_Call) RunAndReturn(run func(...string) orm.Query) *Query_GroupBy_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(column 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_HasMorph_Call ¶
Query_HasMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasMorph'
func (*Query_HasMorph_Call) Return ¶
func (_c *Query_HasMorph_Call) Return(_a0 orm.Query) *Query_HasMorph_Call
func (*Query_HasMorph_Call) Run ¶
func (_c *Query_HasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_HasMorph_Call
func (*Query_HasMorph_Call) RunAndReturn ¶
func (_c *Query_HasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_HasMorph_Call
type Query_Has_Call ¶
Query_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*Query_Has_Call) Return ¶
func (_c *Query_Has_Call) Return(_a0 orm.Query) *Query_Has_Call
func (*Query_Has_Call) Run ¶
func (_c *Query_Has_Call) Run(run func(relation string, args ...interface{})) *Query_Has_Call
func (*Query_Has_Call) RunAndReturn ¶
func (_c *Query_Has_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_Has_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_InTransaction_Call ¶
Query_InTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InTransaction'
func (*Query_InTransaction_Call) Return ¶
func (_c *Query_InTransaction_Call) Return(_a0 bool) *Query_InTransaction_Call
func (*Query_InTransaction_Call) Run ¶
func (_c *Query_InTransaction_Call) Run(run func()) *Query_InTransaction_Call
func (*Query_InTransaction_Call) RunAndReturn ¶
func (_c *Query_InTransaction_Call) RunAndReturn(run func() bool) *Query_InTransaction_Call
type Query_Increment_Call ¶
Query_Increment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Increment'
func (*Query_Increment_Call) Return ¶
func (_c *Query_Increment_Call) Return(_a0 *db.Result, _a1 error) *Query_Increment_Call
func (*Query_Increment_Call) Run ¶
func (_c *Query_Increment_Call) Run(run func(column string, args ...interface{})) *Query_Increment_Call
func (*Query_Increment_Call) RunAndReturn ¶
func (_c *Query_Increment_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *Query_Increment_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_LatestOfMany_Call ¶
Query_LatestOfMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestOfMany'
func (*Query_LatestOfMany_Call) Return ¶
func (_c *Query_LatestOfMany_Call) Return(_a0 orm.Query) *Query_LatestOfMany_Call
func (*Query_LatestOfMany_Call) Run ¶
func (_c *Query_LatestOfMany_Call) Run(run func(column ...string)) *Query_LatestOfMany_Call
func (*Query_LatestOfMany_Call) RunAndReturn ¶
func (_c *Query_LatestOfMany_Call) RunAndReturn(run func(...string) orm.Query) *Query_LatestOfMany_Call
type Query_Latest_Call ¶
Query_Latest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Latest'
func (*Query_Latest_Call) Return ¶
func (_c *Query_Latest_Call) Return(_a0 orm.Query) *Query_Latest_Call
func (*Query_Latest_Call) Run ¶
func (_c *Query_Latest_Call) Run(run func(column ...string)) *Query_Latest_Call
func (*Query_Latest_Call) RunAndReturn ¶
func (_c *Query_Latest_Call) RunAndReturn(run func(...string) orm.Query) *Query_Latest_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_Max_Call ¶
Query_Max_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Max'
func (*Query_Max_Call) Return ¶
func (_c *Query_Max_Call) Return(_a0 error) *Query_Max_Call
func (*Query_Max_Call) Run ¶
func (_c *Query_Max_Call) Run(run func(column string, dest interface{})) *Query_Max_Call
func (*Query_Max_Call) RunAndReturn ¶
func (_c *Query_Max_Call) RunAndReturn(run func(string, interface{}) error) *Query_Max_Call
type Query_Min_Call ¶
Query_Min_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Min'
func (*Query_Min_Call) Return ¶
func (_c *Query_Min_Call) Return(_a0 error) *Query_Min_Call
func (*Query_Min_Call) Run ¶
func (_c *Query_Min_Call) Run(run func(column string, dest interface{})) *Query_Min_Call
func (*Query_Min_Call) RunAndReturn ¶
func (_c *Query_Min_Call) RunAndReturn(run func(string, interface{}) error) *Query_Min_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_OfMany_Call ¶
Query_OfMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OfMany'
func (*Query_OfMany_Call) Return ¶
func (_c *Query_OfMany_Call) Return(_a0 orm.Query) *Query_OfMany_Call
func (*Query_OfMany_Call) Run ¶
func (_c *Query_OfMany_Call) Run(run func(column string, aggregate string)) *Query_OfMany_Call
func (*Query_OfMany_Call) RunAndReturn ¶
func (_c *Query_OfMany_Call) RunAndReturn(run func(string, string) orm.Query) *Query_OfMany_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_OldestOfMany_Call ¶
Query_OldestOfMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OldestOfMany'
func (*Query_OldestOfMany_Call) Return ¶
func (_c *Query_OldestOfMany_Call) Return(_a0 orm.Query) *Query_OldestOfMany_Call
func (*Query_OldestOfMany_Call) Run ¶
func (_c *Query_OldestOfMany_Call) Run(run func(column ...string)) *Query_OldestOfMany_Call
func (*Query_OldestOfMany_Call) RunAndReturn ¶
func (_c *Query_OldestOfMany_Call) RunAndReturn(run func(...string) orm.Query) *Query_OldestOfMany_Call
type Query_Oldest_Call ¶
Query_Oldest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Oldest'
func (*Query_Oldest_Call) Return ¶
func (_c *Query_Oldest_Call) Return(_a0 orm.Query) *Query_Oldest_Call
func (*Query_Oldest_Call) Run ¶
func (_c *Query_Oldest_Call) Run(run func(column ...string)) *Query_Oldest_Call
func (*Query_Oldest_Call) RunAndReturn ¶
func (_c *Query_Oldest_Call) RunAndReturn(run func(...string) orm.Query) *Query_Oldest_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_OnlyTrashed_Call ¶
Query_OnlyTrashed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnlyTrashed'
func (*Query_OnlyTrashed_Call) Return ¶
func (_c *Query_OnlyTrashed_Call) Return(_a0 orm.Query) *Query_OnlyTrashed_Call
func (*Query_OnlyTrashed_Call) Run ¶
func (_c *Query_OnlyTrashed_Call) Run(run func()) *Query_OnlyTrashed_Call
func (*Query_OnlyTrashed_Call) RunAndReturn ¶
func (_c *Query_OnlyTrashed_Call) RunAndReturn(run func() orm.Query) *Query_OnlyTrashed_Call
type Query_OrDoesntHaveMorph_Call ¶
Query_OrDoesntHaveMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrDoesntHaveMorph'
func (*Query_OrDoesntHaveMorph_Call) Return ¶
func (_c *Query_OrDoesntHaveMorph_Call) Return(_a0 orm.Query) *Query_OrDoesntHaveMorph_Call
func (*Query_OrDoesntHaveMorph_Call) Run ¶
func (_c *Query_OrDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_OrDoesntHaveMorph_Call
func (*Query_OrDoesntHaveMorph_Call) RunAndReturn ¶
func (_c *Query_OrDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_OrDoesntHaveMorph_Call
type Query_OrDoesntHave_Call ¶
Query_OrDoesntHave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrDoesntHave'
func (*Query_OrDoesntHave_Call) Return ¶
func (_c *Query_OrDoesntHave_Call) Return(_a0 orm.Query) *Query_OrDoesntHave_Call
func (*Query_OrDoesntHave_Call) Run ¶
func (_c *Query_OrDoesntHave_Call) Run(run func(relation string, args ...interface{})) *Query_OrDoesntHave_Call
func (*Query_OrDoesntHave_Call) RunAndReturn ¶
func (_c *Query_OrDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_OrDoesntHave_Call
type Query_OrHasMorph_Call ¶
Query_OrHasMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrHasMorph'
func (*Query_OrHasMorph_Call) Return ¶
func (_c *Query_OrHasMorph_Call) Return(_a0 orm.Query) *Query_OrHasMorph_Call
func (*Query_OrHasMorph_Call) Run ¶
func (_c *Query_OrHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_OrHasMorph_Call
func (*Query_OrHasMorph_Call) RunAndReturn ¶
func (_c *Query_OrHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_OrHasMorph_Call
type Query_OrHas_Call ¶
Query_OrHas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrHas'
func (*Query_OrHas_Call) Return ¶
func (_c *Query_OrHas_Call) Return(_a0 orm.Query) *Query_OrHas_Call
func (*Query_OrHas_Call) Run ¶
func (_c *Query_OrHas_Call) Run(run func(relation string, args ...interface{})) *Query_OrHas_Call
func (*Query_OrHas_Call) RunAndReturn ¶
func (_c *Query_OrHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_OrHas_Call
type Query_OrWhereBelongsTo_Call ¶
Query_OrWhereBelongsTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereBelongsTo'
func (*Query_OrWhereBelongsTo_Call) Return ¶
func (_c *Query_OrWhereBelongsTo_Call) Return(_a0 orm.Query) *Query_OrWhereBelongsTo_Call
func (*Query_OrWhereBelongsTo_Call) Run ¶
func (_c *Query_OrWhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *Query_OrWhereBelongsTo_Call
func (*Query_OrWhereBelongsTo_Call) RunAndReturn ¶
func (_c *Query_OrWhereBelongsTo_Call) RunAndReturn(run func(interface{}, ...string) orm.Query) *Query_OrWhereBelongsTo_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_OrWhereDoesntHaveMorph_Call ¶
Query_OrWhereDoesntHaveMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereDoesntHaveMorph'
func (*Query_OrWhereDoesntHaveMorph_Call) Return ¶
func (_c *Query_OrWhereDoesntHaveMorph_Call) Return(_a0 orm.Query) *Query_OrWhereDoesntHaveMorph_Call
func (*Query_OrWhereDoesntHaveMorph_Call) Run ¶
func (_c *Query_OrWhereDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_OrWhereDoesntHaveMorph_Call
func (*Query_OrWhereDoesntHaveMorph_Call) RunAndReturn ¶
func (_c *Query_OrWhereDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_OrWhereDoesntHaveMorph_Call
type Query_OrWhereDoesntHaveRelation_Call ¶
Query_OrWhereDoesntHaveRelation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereDoesntHaveRelation'
func (*Query_OrWhereDoesntHaveRelation_Call) Return ¶
func (_c *Query_OrWhereDoesntHaveRelation_Call) Return(_a0 orm.Query) *Query_OrWhereDoesntHaveRelation_Call
func (*Query_OrWhereDoesntHaveRelation_Call) Run ¶
func (_c *Query_OrWhereDoesntHaveRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *Query_OrWhereDoesntHaveRelation_Call
func (*Query_OrWhereDoesntHaveRelation_Call) RunAndReturn ¶
func (_c *Query_OrWhereDoesntHaveRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *Query_OrWhereDoesntHaveRelation_Call
type Query_OrWhereDoesntHave_Call ¶
Query_OrWhereDoesntHave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereDoesntHave'
func (*Query_OrWhereDoesntHave_Call) Return ¶
func (_c *Query_OrWhereDoesntHave_Call) Return(_a0 orm.Query) *Query_OrWhereDoesntHave_Call
func (*Query_OrWhereDoesntHave_Call) Run ¶
func (_c *Query_OrWhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *Query_OrWhereDoesntHave_Call
func (*Query_OrWhereDoesntHave_Call) RunAndReturn ¶
func (_c *Query_OrWhereDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_OrWhereDoesntHave_Call
type Query_OrWhereHasMorph_Call ¶
Query_OrWhereHasMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereHasMorph'
func (*Query_OrWhereHasMorph_Call) Return ¶
func (_c *Query_OrWhereHasMorph_Call) Return(_a0 orm.Query) *Query_OrWhereHasMorph_Call
func (*Query_OrWhereHasMorph_Call) Run ¶
func (_c *Query_OrWhereHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_OrWhereHasMorph_Call
func (*Query_OrWhereHasMorph_Call) RunAndReturn ¶
func (_c *Query_OrWhereHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_OrWhereHasMorph_Call
type Query_OrWhereHas_Call ¶
Query_OrWhereHas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereHas'
func (*Query_OrWhereHas_Call) Return ¶
func (_c *Query_OrWhereHas_Call) Return(_a0 orm.Query) *Query_OrWhereHas_Call
func (*Query_OrWhereHas_Call) Run ¶
func (_c *Query_OrWhereHas_Call) Run(run func(relation string, args ...interface{})) *Query_OrWhereHas_Call
func (*Query_OrWhereHas_Call) RunAndReturn ¶
func (_c *Query_OrWhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_OrWhereHas_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_OrWhereJsonContainsKey_Call ¶
Query_OrWhereJsonContainsKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereJsonContainsKey'
func (*Query_OrWhereJsonContainsKey_Call) Return ¶
func (_c *Query_OrWhereJsonContainsKey_Call) Return(_a0 orm.Query) *Query_OrWhereJsonContainsKey_Call
func (*Query_OrWhereJsonContainsKey_Call) Run ¶
func (_c *Query_OrWhereJsonContainsKey_Call) Run(run func(column string)) *Query_OrWhereJsonContainsKey_Call
func (*Query_OrWhereJsonContainsKey_Call) RunAndReturn ¶
func (_c *Query_OrWhereJsonContainsKey_Call) RunAndReturn(run func(string) orm.Query) *Query_OrWhereJsonContainsKey_Call
type Query_OrWhereJsonContains_Call ¶
Query_OrWhereJsonContains_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereJsonContains'
func (*Query_OrWhereJsonContains_Call) Return ¶
func (_c *Query_OrWhereJsonContains_Call) Return(_a0 orm.Query) *Query_OrWhereJsonContains_Call
func (*Query_OrWhereJsonContains_Call) Run ¶
func (_c *Query_OrWhereJsonContains_Call) Run(run func(column string, value interface{})) *Query_OrWhereJsonContains_Call
func (*Query_OrWhereJsonContains_Call) RunAndReturn ¶
func (_c *Query_OrWhereJsonContains_Call) RunAndReturn(run func(string, interface{}) orm.Query) *Query_OrWhereJsonContains_Call
type Query_OrWhereJsonDoesntContainKey_Call ¶
Query_OrWhereJsonDoesntContainKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereJsonDoesntContainKey'
func (*Query_OrWhereJsonDoesntContainKey_Call) Return ¶
func (_c *Query_OrWhereJsonDoesntContainKey_Call) Return(_a0 orm.Query) *Query_OrWhereJsonDoesntContainKey_Call
func (*Query_OrWhereJsonDoesntContainKey_Call) Run ¶
func (_c *Query_OrWhereJsonDoesntContainKey_Call) Run(run func(column string)) *Query_OrWhereJsonDoesntContainKey_Call
func (*Query_OrWhereJsonDoesntContainKey_Call) RunAndReturn ¶
func (_c *Query_OrWhereJsonDoesntContainKey_Call) RunAndReturn(run func(string) orm.Query) *Query_OrWhereJsonDoesntContainKey_Call
type Query_OrWhereJsonDoesntContain_Call ¶
Query_OrWhereJsonDoesntContain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereJsonDoesntContain'
func (*Query_OrWhereJsonDoesntContain_Call) Return ¶
func (_c *Query_OrWhereJsonDoesntContain_Call) Return(_a0 orm.Query) *Query_OrWhereJsonDoesntContain_Call
func (*Query_OrWhereJsonDoesntContain_Call) Run ¶
func (_c *Query_OrWhereJsonDoesntContain_Call) Run(run func(column string, value interface{})) *Query_OrWhereJsonDoesntContain_Call
func (*Query_OrWhereJsonDoesntContain_Call) RunAndReturn ¶
func (_c *Query_OrWhereJsonDoesntContain_Call) RunAndReturn(run func(string, interface{}) orm.Query) *Query_OrWhereJsonDoesntContain_Call
type Query_OrWhereJsonLength_Call ¶
Query_OrWhereJsonLength_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereJsonLength'
func (*Query_OrWhereJsonLength_Call) Return ¶
func (_c *Query_OrWhereJsonLength_Call) Return(_a0 orm.Query) *Query_OrWhereJsonLength_Call
func (*Query_OrWhereJsonLength_Call) Run ¶
func (_c *Query_OrWhereJsonLength_Call) Run(run func(column string, args ...interface{})) *Query_OrWhereJsonLength_Call
func (*Query_OrWhereJsonLength_Call) RunAndReturn ¶
func (_c *Query_OrWhereJsonLength_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_OrWhereJsonLength_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_OrWhereRelation_Call ¶
Query_OrWhereRelation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrWhereRelation'
func (*Query_OrWhereRelation_Call) Return ¶
func (_c *Query_OrWhereRelation_Call) Return(_a0 orm.Query) *Query_OrWhereRelation_Call
func (*Query_OrWhereRelation_Call) Run ¶
func (_c *Query_OrWhereRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *Query_OrWhereRelation_Call
func (*Query_OrWhereRelation_Call) RunAndReturn ¶
func (_c *Query_OrWhereRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *Query_OrWhereRelation_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_OrderByRaw_Call ¶
Query_OrderByRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrderByRaw'
func (*Query_OrderByRaw_Call) Return ¶
func (_c *Query_OrderByRaw_Call) Return(_a0 orm.Query) *Query_OrderByRaw_Call
func (*Query_OrderByRaw_Call) Run ¶
func (_c *Query_OrderByRaw_Call) Run(run func(raw string)) *Query_OrderByRaw_Call
func (*Query_OrderByRaw_Call) RunAndReturn ¶
func (_c *Query_OrderByRaw_Call) RunAndReturn(run func(string) orm.Query) *Query_OrderByRaw_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(_a0 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_Related_Call ¶
Query_Related_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Related'
func (*Query_Related_Call) Return ¶
func (_c *Query_Related_Call) Return(_a0 orm.Query) *Query_Related_Call
func (*Query_Related_Call) Run ¶
func (_c *Query_Related_Call) Run(run func(parent interface{}, name string)) *Query_Related_Call
func (*Query_Related_Call) RunAndReturn ¶
func (_c *Query_Related_Call) RunAndReturn(run func(interface{}, string) orm.Query) *Query_Related_Call
type Query_Relation_Call ¶
Query_Relation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Relation'
func (*Query_Relation_Call) Return ¶
func (_c *Query_Relation_Call) Return(_a0 orm.RelationWriter) *Query_Relation_Call
func (*Query_Relation_Call) Run ¶
func (_c *Query_Relation_Call) Run(run func(parent interface{}, name string)) *Query_Relation_Call
func (*Query_Relation_Call) RunAndReturn ¶
func (_c *Query_Relation_Call) RunAndReturn(run func(interface{}, string) orm.RelationWriter) *Query_Relation_Call
type Query_Restore_Call ¶
Query_Restore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Restore'
func (*Query_Restore_Call) Return ¶
func (_c *Query_Restore_Call) Return(_a0 *db.Result, _a1 error) *Query_Restore_Call
func (*Query_Restore_Call) Run ¶
func (_c *Query_Restore_Call) Run(run func(model ...interface{})) *Query_Restore_Call
func (*Query_Restore_Call) RunAndReturn ¶
func (_c *Query_Restore_Call) RunAndReturn(run func(...interface{}) (*db.Result, error)) *Query_Restore_Call
type Query_Rollback_Call ¶
Query_Rollback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rollback'
func (*Query_Rollback_Call) Return ¶
func (_c *Query_Rollback_Call) Return(_a0 error) *Query_Rollback_Call
func (*Query_Rollback_Call) Run ¶
func (_c *Query_Rollback_Call) Run(run func()) *Query_Rollback_Call
func (*Query_Rollback_Call) RunAndReturn ¶
func (_c *Query_Rollback_Call) RunAndReturn(run func() error) *Query_Rollback_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_SelectRaw_Call ¶
Query_SelectRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectRaw'
func (*Query_SelectRaw_Call) Return ¶
func (_c *Query_SelectRaw_Call) Return(_a0 orm.Query) *Query_SelectRaw_Call
func (*Query_SelectRaw_Call) Run ¶
func (_c *Query_SelectRaw_Call) Run(run func(query interface{}, args ...interface{})) *Query_SelectRaw_Call
func (*Query_SelectRaw_Call) RunAndReturn ¶
func (_c *Query_SelectRaw_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Query_SelectRaw_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(columns ...string)) *Query_Select_Call
func (*Query_Select_Call) RunAndReturn ¶
func (_c *Query_Select_Call) RunAndReturn(run func(...string) 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_Sole_Call ¶
Query_Sole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sole'
func (*Query_Sole_Call) Return ¶
func (_c *Query_Sole_Call) Return(_a0 error) *Query_Sole_Call
func (*Query_Sole_Call) Run ¶
func (_c *Query_Sole_Call) Run(run func(dest interface{})) *Query_Sole_Call
func (*Query_Sole_Call) RunAndReturn ¶
func (_c *Query_Sole_Call) RunAndReturn(run func(interface{}) error) *Query_Sole_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 interface{}, args ...interface{})) *Query_Table_Call
func (*Query_Table_Call) RunAndReturn ¶
func (_c *Query_Table_Call) RunAndReturn(run func(interface{}, ...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_Touch_Call ¶
Query_Touch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Touch'
func (*Query_Touch_Call) Return ¶
func (_c *Query_Touch_Call) Return(_a0 *db.Result, _a1 error) *Query_Touch_Call
func (*Query_Touch_Call) Run ¶
func (_c *Query_Touch_Call) Run(run func(column ...string)) *Query_Touch_Call
func (*Query_Touch_Call) RunAndReturn ¶
func (_c *Query_Touch_Call) RunAndReturn(run func(...string) (*db.Result, error)) *Query_Touch_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 *db.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{}) (*db.Result, error)) *Query_Update_Call
type Query_Upsert_Call ¶
Query_Upsert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upsert'
func (*Query_Upsert_Call) Return ¶
func (_c *Query_Upsert_Call) Return(_a0 *db.Result, _a1 error) *Query_Upsert_Call
func (*Query_Upsert_Call) Run ¶
func (_c *Query_Upsert_Call) Run(run func(values interface{}, uniqueBy []string, update ...interface{})) *Query_Upsert_Call
func (*Query_Upsert_Call) RunAndReturn ¶
func (_c *Query_Upsert_Call) RunAndReturn(run func(interface{}, []string, ...interface{}) (*db.Result, error)) *Query_Upsert_Call
type Query_UseWritePdo_Call ¶
Query_UseWritePdo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UseWritePdo'
func (*Query_UseWritePdo_Call) Return ¶
func (_c *Query_UseWritePdo_Call) Return(_a0 orm.Query) *Query_UseWritePdo_Call
func (*Query_UseWritePdo_Call) Run ¶
func (_c *Query_UseWritePdo_Call) Run(run func()) *Query_UseWritePdo_Call
func (*Query_UseWritePdo_Call) RunAndReturn ¶
func (_c *Query_UseWritePdo_Call) RunAndReturn(run func() orm.Query) *Query_UseWritePdo_Call
type Query_Value_Call ¶
Query_Value_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Value'
func (*Query_Value_Call) Return ¶
func (_c *Query_Value_Call) Return(_a0 error) *Query_Value_Call
func (*Query_Value_Call) Run ¶
func (_c *Query_Value_Call) Run(run func(column string, dest interface{})) *Query_Value_Call
func (*Query_Value_Call) RunAndReturn ¶
func (_c *Query_Value_Call) RunAndReturn(run func(string, interface{}) error) *Query_Value_Call
type Query_When_Call ¶
Query_When_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'When'
func (*Query_When_Call) Return ¶
func (_c *Query_When_Call) Return(_a0 orm.Query) *Query_When_Call
func (*Query_When_Call) RunAndReturn ¶
type Query_WhereAll_Call ¶
Query_WhereAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereAll'
func (*Query_WhereAll_Call) Return ¶
func (_c *Query_WhereAll_Call) Return(_a0 orm.Query) *Query_WhereAll_Call
func (*Query_WhereAll_Call) Run ¶
func (_c *Query_WhereAll_Call) Run(run func(columns []string, args ...interface{})) *Query_WhereAll_Call
func (*Query_WhereAll_Call) RunAndReturn ¶
func (_c *Query_WhereAll_Call) RunAndReturn(run func([]string, ...interface{}) orm.Query) *Query_WhereAll_Call
type Query_WhereAny_Call ¶
Query_WhereAny_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereAny'
func (*Query_WhereAny_Call) Return ¶
func (_c *Query_WhereAny_Call) Return(_a0 orm.Query) *Query_WhereAny_Call
func (*Query_WhereAny_Call) Run ¶
func (_c *Query_WhereAny_Call) Run(run func(columns []string, args ...interface{})) *Query_WhereAny_Call
func (*Query_WhereAny_Call) RunAndReturn ¶
func (_c *Query_WhereAny_Call) RunAndReturn(run func([]string, ...interface{}) orm.Query) *Query_WhereAny_Call
type Query_WhereBelongsTo_Call ¶
Query_WhereBelongsTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereBelongsTo'
func (*Query_WhereBelongsTo_Call) Return ¶
func (_c *Query_WhereBelongsTo_Call) Return(_a0 orm.Query) *Query_WhereBelongsTo_Call
func (*Query_WhereBelongsTo_Call) Run ¶
func (_c *Query_WhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *Query_WhereBelongsTo_Call
func (*Query_WhereBelongsTo_Call) RunAndReturn ¶
func (_c *Query_WhereBelongsTo_Call) RunAndReturn(run func(interface{}, ...string) orm.Query) *Query_WhereBelongsTo_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_WhereDoesntHaveMorph_Call ¶
Query_WhereDoesntHaveMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereDoesntHaveMorph'
func (*Query_WhereDoesntHaveMorph_Call) Return ¶
func (_c *Query_WhereDoesntHaveMorph_Call) Return(_a0 orm.Query) *Query_WhereDoesntHaveMorph_Call
func (*Query_WhereDoesntHaveMorph_Call) Run ¶
func (_c *Query_WhereDoesntHaveMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_WhereDoesntHaveMorph_Call
func (*Query_WhereDoesntHaveMorph_Call) RunAndReturn ¶
func (_c *Query_WhereDoesntHaveMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_WhereDoesntHaveMorph_Call
type Query_WhereDoesntHaveRelation_Call ¶
Query_WhereDoesntHaveRelation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereDoesntHaveRelation'
func (*Query_WhereDoesntHaveRelation_Call) Return ¶
func (_c *Query_WhereDoesntHaveRelation_Call) Return(_a0 orm.Query) *Query_WhereDoesntHaveRelation_Call
func (*Query_WhereDoesntHaveRelation_Call) Run ¶
func (_c *Query_WhereDoesntHaveRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *Query_WhereDoesntHaveRelation_Call
func (*Query_WhereDoesntHaveRelation_Call) RunAndReturn ¶
func (_c *Query_WhereDoesntHaveRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *Query_WhereDoesntHaveRelation_Call
type Query_WhereDoesntHave_Call ¶
Query_WhereDoesntHave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereDoesntHave'
func (*Query_WhereDoesntHave_Call) Return ¶
func (_c *Query_WhereDoesntHave_Call) Return(_a0 orm.Query) *Query_WhereDoesntHave_Call
func (*Query_WhereDoesntHave_Call) Run ¶
func (_c *Query_WhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *Query_WhereDoesntHave_Call
func (*Query_WhereDoesntHave_Call) RunAndReturn ¶
func (_c *Query_WhereDoesntHave_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_WhereDoesntHave_Call
type Query_WhereHasMorph_Call ¶
Query_WhereHasMorph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereHasMorph'
func (*Query_WhereHasMorph_Call) Return ¶
func (_c *Query_WhereHasMorph_Call) Return(_a0 orm.Query) *Query_WhereHasMorph_Call
func (*Query_WhereHasMorph_Call) Run ¶
func (_c *Query_WhereHasMorph_Call) Run(run func(relation string, types []interface{}, args ...interface{})) *Query_WhereHasMorph_Call
func (*Query_WhereHasMorph_Call) RunAndReturn ¶
func (_c *Query_WhereHasMorph_Call) RunAndReturn(run func(string, []interface{}, ...interface{}) orm.Query) *Query_WhereHasMorph_Call
type Query_WhereHas_Call ¶
Query_WhereHas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereHas'
func (*Query_WhereHas_Call) Return ¶
func (_c *Query_WhereHas_Call) Return(_a0 orm.Query) *Query_WhereHas_Call
func (*Query_WhereHas_Call) Run ¶
func (_c *Query_WhereHas_Call) Run(run func(relation string, args ...interface{})) *Query_WhereHas_Call
func (*Query_WhereHas_Call) RunAndReturn ¶
func (_c *Query_WhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_WhereHas_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_WhereJsonContainsKey_Call ¶
Query_WhereJsonContainsKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereJsonContainsKey'
func (*Query_WhereJsonContainsKey_Call) Return ¶
func (_c *Query_WhereJsonContainsKey_Call) Return(_a0 orm.Query) *Query_WhereJsonContainsKey_Call
func (*Query_WhereJsonContainsKey_Call) Run ¶
func (_c *Query_WhereJsonContainsKey_Call) Run(run func(column string)) *Query_WhereJsonContainsKey_Call
func (*Query_WhereJsonContainsKey_Call) RunAndReturn ¶
func (_c *Query_WhereJsonContainsKey_Call) RunAndReturn(run func(string) orm.Query) *Query_WhereJsonContainsKey_Call
type Query_WhereJsonContains_Call ¶
Query_WhereJsonContains_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereJsonContains'
func (*Query_WhereJsonContains_Call) Return ¶
func (_c *Query_WhereJsonContains_Call) Return(_a0 orm.Query) *Query_WhereJsonContains_Call
func (*Query_WhereJsonContains_Call) Run ¶
func (_c *Query_WhereJsonContains_Call) Run(run func(column string, value interface{})) *Query_WhereJsonContains_Call
func (*Query_WhereJsonContains_Call) RunAndReturn ¶
func (_c *Query_WhereJsonContains_Call) RunAndReturn(run func(string, interface{}) orm.Query) *Query_WhereJsonContains_Call
type Query_WhereJsonDoesntContainKey_Call ¶
Query_WhereJsonDoesntContainKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereJsonDoesntContainKey'
func (*Query_WhereJsonDoesntContainKey_Call) Return ¶
func (_c *Query_WhereJsonDoesntContainKey_Call) Return(_a0 orm.Query) *Query_WhereJsonDoesntContainKey_Call
func (*Query_WhereJsonDoesntContainKey_Call) Run ¶
func (_c *Query_WhereJsonDoesntContainKey_Call) Run(run func(column string)) *Query_WhereJsonDoesntContainKey_Call
func (*Query_WhereJsonDoesntContainKey_Call) RunAndReturn ¶
func (_c *Query_WhereJsonDoesntContainKey_Call) RunAndReturn(run func(string) orm.Query) *Query_WhereJsonDoesntContainKey_Call
type Query_WhereJsonDoesntContain_Call ¶
Query_WhereJsonDoesntContain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereJsonDoesntContain'
func (*Query_WhereJsonDoesntContain_Call) Return ¶
func (_c *Query_WhereJsonDoesntContain_Call) Return(_a0 orm.Query) *Query_WhereJsonDoesntContain_Call
func (*Query_WhereJsonDoesntContain_Call) Run ¶
func (_c *Query_WhereJsonDoesntContain_Call) Run(run func(column string, value interface{})) *Query_WhereJsonDoesntContain_Call
func (*Query_WhereJsonDoesntContain_Call) RunAndReturn ¶
func (_c *Query_WhereJsonDoesntContain_Call) RunAndReturn(run func(string, interface{}) orm.Query) *Query_WhereJsonDoesntContain_Call
type Query_WhereJsonLength_Call ¶
Query_WhereJsonLength_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereJsonLength'
func (*Query_WhereJsonLength_Call) Return ¶
func (_c *Query_WhereJsonLength_Call) Return(_a0 orm.Query) *Query_WhereJsonLength_Call
func (*Query_WhereJsonLength_Call) Run ¶
func (_c *Query_WhereJsonLength_Call) Run(run func(column string, args ...interface{})) *Query_WhereJsonLength_Call
func (*Query_WhereJsonLength_Call) RunAndReturn ¶
func (_c *Query_WhereJsonLength_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_WhereJsonLength_Call
type Query_WhereKeyNot_Call ¶
Query_WhereKeyNot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereKeyNot'
func (*Query_WhereKeyNot_Call) Return ¶
func (_c *Query_WhereKeyNot_Call) Return(_a0 orm.Query) *Query_WhereKeyNot_Call
func (*Query_WhereKeyNot_Call) Run ¶
func (_c *Query_WhereKeyNot_Call) Run(run func(id interface{})) *Query_WhereKeyNot_Call
func (*Query_WhereKeyNot_Call) RunAndReturn ¶
func (_c *Query_WhereKeyNot_Call) RunAndReturn(run func(interface{}) orm.Query) *Query_WhereKeyNot_Call
type Query_WhereKey_Call ¶
Query_WhereKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereKey'
func (*Query_WhereKey_Call) Return ¶
func (_c *Query_WhereKey_Call) Return(_a0 orm.Query) *Query_WhereKey_Call
func (*Query_WhereKey_Call) Run ¶
func (_c *Query_WhereKey_Call) Run(run func(id interface{})) *Query_WhereKey_Call
func (*Query_WhereKey_Call) RunAndReturn ¶
func (_c *Query_WhereKey_Call) RunAndReturn(run func(interface{}) orm.Query) *Query_WhereKey_Call
type Query_WhereNone_Call ¶
Query_WhereNone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNone'
func (*Query_WhereNone_Call) Return ¶
func (_c *Query_WhereNone_Call) Return(_a0 orm.Query) *Query_WhereNone_Call
func (*Query_WhereNone_Call) Run ¶
func (_c *Query_WhereNone_Call) Run(run func(columns []string, args ...interface{})) *Query_WhereNone_Call
func (*Query_WhereNone_Call) RunAndReturn ¶
func (_c *Query_WhereNone_Call) RunAndReturn(run func([]string, ...interface{}) orm.Query) *Query_WhereNone_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_WhereRelation_Call ¶
Query_WhereRelation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereRelation'
func (*Query_WhereRelation_Call) Return ¶
func (_c *Query_WhereRelation_Call) Return(_a0 orm.Query) *Query_WhereRelation_Call
func (*Query_WhereRelation_Call) Run ¶
func (_c *Query_WhereRelation_Call) Run(run func(relation string, column interface{}, args ...interface{})) *Query_WhereRelation_Call
func (*Query_WhereRelation_Call) RunAndReturn ¶
func (_c *Query_WhereRelation_Call) RunAndReturn(run func(string, interface{}, ...interface{}) orm.Query) *Query_WhereRelation_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_WithAggregate_Call ¶
Query_WithAggregate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithAggregate'
func (*Query_WithAggregate_Call) Return ¶
func (_c *Query_WithAggregate_Call) Return(_a0 orm.Query) *Query_WithAggregate_Call
func (*Query_WithAggregate_Call) Run ¶
func (_c *Query_WithAggregate_Call) Run(run func(relation string, column string, fn string, args ...interface{})) *Query_WithAggregate_Call
func (*Query_WithAggregate_Call) RunAndReturn ¶
func (_c *Query_WithAggregate_Call) RunAndReturn(run func(string, string, string, ...interface{}) orm.Query) *Query_WithAggregate_Call
type Query_WithAttributes_Call ¶
Query_WithAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithAttributes'
func (*Query_WithAttributes_Call) Return ¶
func (_c *Query_WithAttributes_Call) Return(_a0 orm.Query) *Query_WithAttributes_Call
func (*Query_WithAttributes_Call) Run ¶
func (_c *Query_WithAttributes_Call) Run(run func(attributes interface{}, args ...interface{})) *Query_WithAttributes_Call
func (*Query_WithAttributes_Call) RunAndReturn ¶
func (_c *Query_WithAttributes_Call) RunAndReturn(run func(interface{}, ...interface{}) orm.Query) *Query_WithAttributes_Call
type Query_WithAvg_Call ¶
Query_WithAvg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithAvg'
func (*Query_WithAvg_Call) Return ¶
func (_c *Query_WithAvg_Call) Return(_a0 orm.Query) *Query_WithAvg_Call
func (*Query_WithAvg_Call) Run ¶
func (_c *Query_WithAvg_Call) Run(run func(relation string, column string, args ...interface{})) *Query_WithAvg_Call
func (*Query_WithAvg_Call) RunAndReturn ¶
func (_c *Query_WithAvg_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *Query_WithAvg_Call
type Query_WithCount_Call ¶
Query_WithCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithCount'
func (*Query_WithCount_Call) Return ¶
func (_c *Query_WithCount_Call) Return(_a0 orm.Query) *Query_WithCount_Call
func (*Query_WithCount_Call) Run ¶
func (_c *Query_WithCount_Call) Run(run func(relations ...interface{})) *Query_WithCount_Call
func (*Query_WithCount_Call) RunAndReturn ¶
func (_c *Query_WithCount_Call) RunAndReturn(run func(...interface{}) orm.Query) *Query_WithCount_Call
type Query_WithExists_Call ¶
Query_WithExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithExists'
func (*Query_WithExists_Call) Return ¶
func (_c *Query_WithExists_Call) Return(_a0 orm.Query) *Query_WithExists_Call
func (*Query_WithExists_Call) Run ¶
func (_c *Query_WithExists_Call) Run(run func(relations ...string)) *Query_WithExists_Call
func (*Query_WithExists_Call) RunAndReturn ¶
func (_c *Query_WithExists_Call) RunAndReturn(run func(...string) orm.Query) *Query_WithExists_Call
type Query_WithMax_Call ¶
Query_WithMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithMax'
func (*Query_WithMax_Call) Return ¶
func (_c *Query_WithMax_Call) Return(_a0 orm.Query) *Query_WithMax_Call
func (*Query_WithMax_Call) Run ¶
func (_c *Query_WithMax_Call) Run(run func(relation string, column string, args ...interface{})) *Query_WithMax_Call
func (*Query_WithMax_Call) RunAndReturn ¶
func (_c *Query_WithMax_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *Query_WithMax_Call
type Query_WithMin_Call ¶
Query_WithMin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithMin'
func (*Query_WithMin_Call) Return ¶
func (_c *Query_WithMin_Call) Return(_a0 orm.Query) *Query_WithMin_Call
func (*Query_WithMin_Call) Run ¶
func (_c *Query_WithMin_Call) Run(run func(relation string, column string, args ...interface{})) *Query_WithMin_Call
func (*Query_WithMin_Call) RunAndReturn ¶
func (_c *Query_WithMin_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *Query_WithMin_Call
type Query_WithOnly_Call ¶
Query_WithOnly_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithOnly'
func (*Query_WithOnly_Call) Return ¶
func (_c *Query_WithOnly_Call) Return(_a0 orm.Query) *Query_WithOnly_Call
func (*Query_WithOnly_Call) Run ¶
func (_c *Query_WithOnly_Call) Run(run func(args ...interface{})) *Query_WithOnly_Call
func (*Query_WithOnly_Call) RunAndReturn ¶
func (_c *Query_WithOnly_Call) RunAndReturn(run func(...interface{}) orm.Query) *Query_WithOnly_Call
type Query_WithSum_Call ¶
Query_WithSum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithSum'
func (*Query_WithSum_Call) Return ¶
func (_c *Query_WithSum_Call) Return(_a0 orm.Query) *Query_WithSum_Call
func (*Query_WithSum_Call) Run ¶
func (_c *Query_WithSum_Call) Run(run func(relation string, column string, args ...interface{})) *Query_WithSum_Call
func (*Query_WithSum_Call) RunAndReturn ¶
func (_c *Query_WithSum_Call) RunAndReturn(run func(string, string, ...interface{}) orm.Query) *Query_WithSum_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_WithWhereHas_Call ¶
Query_WithWhereHas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithWhereHas'
func (*Query_WithWhereHas_Call) Return ¶
func (_c *Query_WithWhereHas_Call) Return(_a0 orm.Query) *Query_WithWhereHas_Call
func (*Query_WithWhereHas_Call) Run ¶
func (_c *Query_WithWhereHas_Call) Run(run func(relation string, args ...interface{})) *Query_WithWhereHas_Call
func (*Query_WithWhereHas_Call) RunAndReturn ¶
func (_c *Query_WithWhereHas_Call) RunAndReturn(run func(string, ...interface{}) orm.Query) *Query_WithWhereHas_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(args ...interface{})) *Query_With_Call
func (*Query_With_Call) RunAndReturn ¶
func (_c *Query_With_Call) RunAndReturn(run func(...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 Query_WithoutGlobalScopes_Call ¶
Query_WithoutGlobalScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithoutGlobalScopes'
func (*Query_WithoutGlobalScopes_Call) Return ¶
func (_c *Query_WithoutGlobalScopes_Call) Return(_a0 orm.Query) *Query_WithoutGlobalScopes_Call
func (*Query_WithoutGlobalScopes_Call) Run ¶
func (_c *Query_WithoutGlobalScopes_Call) Run(run func(names ...string)) *Query_WithoutGlobalScopes_Call
func (*Query_WithoutGlobalScopes_Call) RunAndReturn ¶
func (_c *Query_WithoutGlobalScopes_Call) RunAndReturn(run func(...string) orm.Query) *Query_WithoutGlobalScopes_Call
type Query_Without_Call ¶
Query_Without_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Without'
func (*Query_Without_Call) Return ¶
func (_c *Query_Without_Call) Return(_a0 orm.Query) *Query_Without_Call
func (*Query_Without_Call) Run ¶
func (_c *Query_Without_Call) Run(run func(relations ...string)) *Query_Without_Call
func (*Query_Without_Call) RunAndReturn ¶
func (_c *Query_Without_Call) RunAndReturn(run func(...string) orm.Query) *Query_Without_Call
type Relation ¶
Relation is an autogenerated mock type for the Relation type
func NewRelation ¶
NewRelation creates a new instance of Relation. 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 (*Relation) EXPECT ¶
func (_m *Relation) EXPECT() *Relation_Expecter
func (*Relation) Kind ¶
func (_m *Relation) Kind() orm.RelationKind
Kind provides a mock function with no fields
type RelationCallback ¶
RelationCallback is an autogenerated mock type for the RelationCallback type
func NewRelationCallback ¶
func NewRelationCallback(t interface {
mock.TestingT
Cleanup(func())
}) *RelationCallback
NewRelationCallback creates a new instance of RelationCallback. 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 (*RelationCallback) EXPECT ¶
func (_m *RelationCallback) EXPECT() *RelationCallback_Expecter
type RelationCallback_Execute_Call ¶
RelationCallback_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*RelationCallback_Execute_Call) Return ¶
func (_c *RelationCallback_Execute_Call) Return(_a0 orm.Query) *RelationCallback_Execute_Call
func (*RelationCallback_Execute_Call) Run ¶
func (_c *RelationCallback_Execute_Call) Run(run func(query orm.Query)) *RelationCallback_Execute_Call
func (*RelationCallback_Execute_Call) RunAndReturn ¶
func (_c *RelationCallback_Execute_Call) RunAndReturn(run func(orm.Query) orm.Query) *RelationCallback_Execute_Call
type RelationCallback_Expecter ¶
type RelationCallback_Expecter struct {
// contains filtered or unexported fields
}
func (*RelationCallback_Expecter) Execute ¶
func (_e *RelationCallback_Expecter) Execute(query interface{}) *RelationCallback_Execute_Call
Execute is a helper method to define mock.On call
- query orm.Query
type RelationWriter ¶
RelationWriter is an autogenerated mock type for the RelationWriter type
func NewRelationWriter ¶
func NewRelationWriter(t interface {
mock.TestingT
Cleanup(func())
}) *RelationWriter
NewRelationWriter creates a new instance of RelationWriter. 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 (*RelationWriter) Associate ¶
func (_m *RelationWriter) Associate(owner interface{}) error
Associate provides a mock function with given fields: owner
func (*RelationWriter) Attach ¶
func (_m *RelationWriter) Attach(ids []interface{}) error
Attach provides a mock function with given fields: ids
func (*RelationWriter) AttachWithPivot ¶
func (_m *RelationWriter) AttachWithPivot(idsWithAttrs map[interface{}]map[string]interface{}) error
AttachWithPivot provides a mock function with given fields: idsWithAttrs
func (*RelationWriter) Create ¶
func (_m *RelationWriter) Create(dest interface{}) error
Create provides a mock function with given fields: dest
func (*RelationWriter) CreateMany ¶
func (_m *RelationWriter) CreateMany(dests interface{}) error
CreateMany provides a mock function with given fields: dests
func (*RelationWriter) Detach ¶
func (_m *RelationWriter) Detach(ids ...interface{}) (int64, error)
Detach provides a mock function with given fields: ids
func (*RelationWriter) Dissociate ¶
func (_m *RelationWriter) Dissociate() error
Dissociate provides a mock function with no fields
func (*RelationWriter) EXPECT ¶
func (_m *RelationWriter) EXPECT() *RelationWriter_Expecter
func (*RelationWriter) FindOrNew ¶
func (_m *RelationWriter) FindOrNew(id interface{}, dest interface{}) error
FindOrNew provides a mock function with given fields: id, dest
func (*RelationWriter) FirstOrCreate ¶
func (_m *RelationWriter) FirstOrCreate(attrs map[string]interface{}, values map[string]interface{}, dest interface{}) error
FirstOrCreate provides a mock function with given fields: attrs, values, dest
func (*RelationWriter) FirstOrNew ¶
func (_m *RelationWriter) FirstOrNew(attrs map[string]interface{}, values map[string]interface{}, dest interface{}) error
FirstOrNew provides a mock function with given fields: attrs, values, dest
func (*RelationWriter) Save ¶
func (_m *RelationWriter) Save(child interface{}) error
Save provides a mock function with given fields: child
func (*RelationWriter) SaveMany ¶
func (_m *RelationWriter) SaveMany(children interface{}) error
SaveMany provides a mock function with given fields: children
func (*RelationWriter) SaveManyWithPivot ¶
func (_m *RelationWriter) SaveManyWithPivot(children interface{}, attrsPerChild map[interface{}]map[string]interface{}) error
SaveManyWithPivot provides a mock function with given fields: children, attrsPerChild
func (*RelationWriter) SaveWithPivot ¶
func (_m *RelationWriter) SaveWithPivot(child interface{}, attrs map[string]interface{}) error
SaveWithPivot provides a mock function with given fields: child, attrs
func (*RelationWriter) Sync ¶
func (_m *RelationWriter) Sync(ids []interface{}) (*db.SyncResult, error)
Sync provides a mock function with given fields: ids
func (*RelationWriter) SyncWithPivot ¶
func (_m *RelationWriter) SyncWithPivot(idsWithAttrs map[interface{}]map[string]interface{}) (*db.SyncResult, error)
SyncWithPivot provides a mock function with given fields: idsWithAttrs
func (*RelationWriter) SyncWithPivotValues ¶
func (_m *RelationWriter) SyncWithPivotValues(ids []interface{}, pivotValues map[string]interface{}) (*db.SyncResult, error)
SyncWithPivotValues provides a mock function with given fields: ids, pivotValues
func (*RelationWriter) SyncWithoutDetaching ¶
func (_m *RelationWriter) SyncWithoutDetaching(ids []interface{}) (*db.SyncResult, error)
SyncWithoutDetaching provides a mock function with given fields: ids
func (*RelationWriter) SyncWithoutDetachingWithPivot ¶
func (_m *RelationWriter) SyncWithoutDetachingWithPivot(idsWithAttrs map[interface{}]map[string]interface{}) (*db.SyncResult, error)
SyncWithoutDetachingWithPivot provides a mock function with given fields: idsWithAttrs
func (*RelationWriter) Toggle ¶
func (_m *RelationWriter) Toggle(ids []interface{}) (*db.SyncResult, error)
Toggle provides a mock function with given fields: ids
func (*RelationWriter) ToggleWithPivot ¶
func (_m *RelationWriter) ToggleWithPivot(idsWithAttrs map[interface{}]map[string]interface{}) (*db.SyncResult, error)
ToggleWithPivot provides a mock function with given fields: idsWithAttrs
func (*RelationWriter) UpdateExistingPivot ¶
func (_m *RelationWriter) UpdateExistingPivot(id interface{}, attrs map[string]interface{}) (int64, error)
UpdateExistingPivot provides a mock function with given fields: id, attrs
func (*RelationWriter) UpdateOrCreate ¶
func (_m *RelationWriter) UpdateOrCreate(attrs map[string]interface{}, values map[string]interface{}, dest interface{}) error
UpdateOrCreate provides a mock function with given fields: attrs, values, dest
type RelationWriter_Associate_Call ¶
RelationWriter_Associate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Associate'
func (*RelationWriter_Associate_Call) Return ¶
func (_c *RelationWriter_Associate_Call) Return(_a0 error) *RelationWriter_Associate_Call
func (*RelationWriter_Associate_Call) Run ¶
func (_c *RelationWriter_Associate_Call) Run(run func(owner interface{})) *RelationWriter_Associate_Call
func (*RelationWriter_Associate_Call) RunAndReturn ¶
func (_c *RelationWriter_Associate_Call) RunAndReturn(run func(interface{}) error) *RelationWriter_Associate_Call
type RelationWriter_AttachWithPivot_Call ¶
RelationWriter_AttachWithPivot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AttachWithPivot'
func (*RelationWriter_AttachWithPivot_Call) Return ¶
func (_c *RelationWriter_AttachWithPivot_Call) Return(_a0 error) *RelationWriter_AttachWithPivot_Call
func (*RelationWriter_AttachWithPivot_Call) Run ¶
func (_c *RelationWriter_AttachWithPivot_Call) Run(run func(idsWithAttrs map[interface{}]map[string]interface{})) *RelationWriter_AttachWithPivot_Call
func (*RelationWriter_AttachWithPivot_Call) RunAndReturn ¶
func (_c *RelationWriter_AttachWithPivot_Call) RunAndReturn(run func(map[interface{}]map[string]interface{}) error) *RelationWriter_AttachWithPivot_Call
type RelationWriter_Attach_Call ¶
RelationWriter_Attach_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Attach'
func (*RelationWriter_Attach_Call) Return ¶
func (_c *RelationWriter_Attach_Call) Return(_a0 error) *RelationWriter_Attach_Call
func (*RelationWriter_Attach_Call) Run ¶
func (_c *RelationWriter_Attach_Call) Run(run func(ids []interface{})) *RelationWriter_Attach_Call
func (*RelationWriter_Attach_Call) RunAndReturn ¶
func (_c *RelationWriter_Attach_Call) RunAndReturn(run func([]interface{}) error) *RelationWriter_Attach_Call
type RelationWriter_CreateMany_Call ¶
RelationWriter_CreateMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateMany'
func (*RelationWriter_CreateMany_Call) Return ¶
func (_c *RelationWriter_CreateMany_Call) Return(_a0 error) *RelationWriter_CreateMany_Call
func (*RelationWriter_CreateMany_Call) Run ¶
func (_c *RelationWriter_CreateMany_Call) Run(run func(dests interface{})) *RelationWriter_CreateMany_Call
func (*RelationWriter_CreateMany_Call) RunAndReturn ¶
func (_c *RelationWriter_CreateMany_Call) RunAndReturn(run func(interface{}) error) *RelationWriter_CreateMany_Call
type RelationWriter_Create_Call ¶
RelationWriter_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*RelationWriter_Create_Call) Return ¶
func (_c *RelationWriter_Create_Call) Return(_a0 error) *RelationWriter_Create_Call
func (*RelationWriter_Create_Call) Run ¶
func (_c *RelationWriter_Create_Call) Run(run func(dest interface{})) *RelationWriter_Create_Call
func (*RelationWriter_Create_Call) RunAndReturn ¶
func (_c *RelationWriter_Create_Call) RunAndReturn(run func(interface{}) error) *RelationWriter_Create_Call
type RelationWriter_Detach_Call ¶
RelationWriter_Detach_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Detach'
func (*RelationWriter_Detach_Call) Return ¶
func (_c *RelationWriter_Detach_Call) Return(_a0 int64, _a1 error) *RelationWriter_Detach_Call
func (*RelationWriter_Detach_Call) Run ¶
func (_c *RelationWriter_Detach_Call) Run(run func(ids ...interface{})) *RelationWriter_Detach_Call
func (*RelationWriter_Detach_Call) RunAndReturn ¶
func (_c *RelationWriter_Detach_Call) RunAndReturn(run func(...interface{}) (int64, error)) *RelationWriter_Detach_Call
type RelationWriter_Dissociate_Call ¶
RelationWriter_Dissociate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Dissociate'
func (*RelationWriter_Dissociate_Call) Return ¶
func (_c *RelationWriter_Dissociate_Call) Return(_a0 error) *RelationWriter_Dissociate_Call
func (*RelationWriter_Dissociate_Call) Run ¶
func (_c *RelationWriter_Dissociate_Call) Run(run func()) *RelationWriter_Dissociate_Call
func (*RelationWriter_Dissociate_Call) RunAndReturn ¶
func (_c *RelationWriter_Dissociate_Call) RunAndReturn(run func() error) *RelationWriter_Dissociate_Call
type RelationWriter_Expecter ¶
type RelationWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*RelationWriter_Expecter) Associate ¶
func (_e *RelationWriter_Expecter) Associate(owner interface{}) *RelationWriter_Associate_Call
Associate is a helper method to define mock.On call
- owner interface{}
func (*RelationWriter_Expecter) Attach ¶
func (_e *RelationWriter_Expecter) Attach(ids interface{}) *RelationWriter_Attach_Call
Attach is a helper method to define mock.On call
- ids []interface{}
func (*RelationWriter_Expecter) AttachWithPivot ¶
func (_e *RelationWriter_Expecter) AttachWithPivot(idsWithAttrs interface{}) *RelationWriter_AttachWithPivot_Call
AttachWithPivot is a helper method to define mock.On call
- idsWithAttrs map[interface{}]map[string]interface{}
func (*RelationWriter_Expecter) Create ¶
func (_e *RelationWriter_Expecter) Create(dest interface{}) *RelationWriter_Create_Call
Create is a helper method to define mock.On call
- dest interface{}
func (*RelationWriter_Expecter) CreateMany ¶
func (_e *RelationWriter_Expecter) CreateMany(dests interface{}) *RelationWriter_CreateMany_Call
CreateMany is a helper method to define mock.On call
- dests interface{}
func (*RelationWriter_Expecter) Detach ¶
func (_e *RelationWriter_Expecter) Detach(ids ...interface{}) *RelationWriter_Detach_Call
Detach is a helper method to define mock.On call
- ids ...interface{}
func (*RelationWriter_Expecter) Dissociate ¶
func (_e *RelationWriter_Expecter) Dissociate() *RelationWriter_Dissociate_Call
Dissociate is a helper method to define mock.On call
func (*RelationWriter_Expecter) FindOrNew ¶
func (_e *RelationWriter_Expecter) FindOrNew(id interface{}, dest interface{}) *RelationWriter_FindOrNew_Call
FindOrNew is a helper method to define mock.On call
- id interface{}
- dest interface{}
func (*RelationWriter_Expecter) FirstOrCreate ¶
func (_e *RelationWriter_Expecter) FirstOrCreate(attrs interface{}, values interface{}, dest interface{}) *RelationWriter_FirstOrCreate_Call
FirstOrCreate is a helper method to define mock.On call
- attrs map[string]interface{}
- values map[string]interface{}
- dest interface{}
func (*RelationWriter_Expecter) FirstOrNew ¶
func (_e *RelationWriter_Expecter) FirstOrNew(attrs interface{}, values interface{}, dest interface{}) *RelationWriter_FirstOrNew_Call
FirstOrNew is a helper method to define mock.On call
- attrs map[string]interface{}
- values map[string]interface{}
- dest interface{}
func (*RelationWriter_Expecter) Save ¶
func (_e *RelationWriter_Expecter) Save(child interface{}) *RelationWriter_Save_Call
Save is a helper method to define mock.On call
- child interface{}
func (*RelationWriter_Expecter) SaveMany ¶
func (_e *RelationWriter_Expecter) SaveMany(children interface{}) *RelationWriter_SaveMany_Call
SaveMany is a helper method to define mock.On call
- children interface{}
func (*RelationWriter_Expecter) SaveManyWithPivot ¶
func (_e *RelationWriter_Expecter) SaveManyWithPivot(children interface{}, attrsPerChild interface{}) *RelationWriter_SaveManyWithPivot_Call
SaveManyWithPivot is a helper method to define mock.On call
- children interface{}
- attrsPerChild map[interface{}]map[string]interface{}
func (*RelationWriter_Expecter) SaveWithPivot ¶
func (_e *RelationWriter_Expecter) SaveWithPivot(child interface{}, attrs interface{}) *RelationWriter_SaveWithPivot_Call
SaveWithPivot is a helper method to define mock.On call
- child interface{}
- attrs map[string]interface{}
func (*RelationWriter_Expecter) Sync ¶
func (_e *RelationWriter_Expecter) Sync(ids interface{}) *RelationWriter_Sync_Call
Sync is a helper method to define mock.On call
- ids []interface{}
func (*RelationWriter_Expecter) SyncWithPivot ¶
func (_e *RelationWriter_Expecter) SyncWithPivot(idsWithAttrs interface{}) *RelationWriter_SyncWithPivot_Call
SyncWithPivot is a helper method to define mock.On call
- idsWithAttrs map[interface{}]map[string]interface{}
func (*RelationWriter_Expecter) SyncWithPivotValues ¶
func (_e *RelationWriter_Expecter) SyncWithPivotValues(ids interface{}, pivotValues interface{}) *RelationWriter_SyncWithPivotValues_Call
SyncWithPivotValues is a helper method to define mock.On call
- ids []interface{}
- pivotValues map[string]interface{}
func (*RelationWriter_Expecter) SyncWithoutDetaching ¶
func (_e *RelationWriter_Expecter) SyncWithoutDetaching(ids interface{}) *RelationWriter_SyncWithoutDetaching_Call
SyncWithoutDetaching is a helper method to define mock.On call
- ids []interface{}
func (*RelationWriter_Expecter) SyncWithoutDetachingWithPivot ¶
func (_e *RelationWriter_Expecter) SyncWithoutDetachingWithPivot(idsWithAttrs interface{}) *RelationWriter_SyncWithoutDetachingWithPivot_Call
SyncWithoutDetachingWithPivot is a helper method to define mock.On call
- idsWithAttrs map[interface{}]map[string]interface{}
func (*RelationWriter_Expecter) Toggle ¶
func (_e *RelationWriter_Expecter) Toggle(ids interface{}) *RelationWriter_Toggle_Call
Toggle is a helper method to define mock.On call
- ids []interface{}
func (*RelationWriter_Expecter) ToggleWithPivot ¶
func (_e *RelationWriter_Expecter) ToggleWithPivot(idsWithAttrs interface{}) *RelationWriter_ToggleWithPivot_Call
ToggleWithPivot is a helper method to define mock.On call
- idsWithAttrs map[interface{}]map[string]interface{}
func (*RelationWriter_Expecter) UpdateExistingPivot ¶
func (_e *RelationWriter_Expecter) UpdateExistingPivot(id interface{}, attrs interface{}) *RelationWriter_UpdateExistingPivot_Call
UpdateExistingPivot is a helper method to define mock.On call
- id interface{}
- attrs map[string]interface{}
func (*RelationWriter_Expecter) UpdateOrCreate ¶
func (_e *RelationWriter_Expecter) UpdateOrCreate(attrs interface{}, values interface{}, dest interface{}) *RelationWriter_UpdateOrCreate_Call
UpdateOrCreate is a helper method to define mock.On call
- attrs map[string]interface{}
- values map[string]interface{}
- dest interface{}
type RelationWriter_FindOrNew_Call ¶
RelationWriter_FindOrNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOrNew'
func (*RelationWriter_FindOrNew_Call) Return ¶
func (_c *RelationWriter_FindOrNew_Call) Return(_a0 error) *RelationWriter_FindOrNew_Call
func (*RelationWriter_FindOrNew_Call) Run ¶
func (_c *RelationWriter_FindOrNew_Call) Run(run func(id interface{}, dest interface{})) *RelationWriter_FindOrNew_Call
func (*RelationWriter_FindOrNew_Call) RunAndReturn ¶
func (_c *RelationWriter_FindOrNew_Call) RunAndReturn(run func(interface{}, interface{}) error) *RelationWriter_FindOrNew_Call
type RelationWriter_FirstOrCreate_Call ¶
RelationWriter_FirstOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrCreate'
func (*RelationWriter_FirstOrCreate_Call) Return ¶
func (_c *RelationWriter_FirstOrCreate_Call) Return(_a0 error) *RelationWriter_FirstOrCreate_Call
func (*RelationWriter_FirstOrCreate_Call) Run ¶
func (_c *RelationWriter_FirstOrCreate_Call) Run(run func(attrs map[string]interface{}, values map[string]interface{}, dest interface{})) *RelationWriter_FirstOrCreate_Call
func (*RelationWriter_FirstOrCreate_Call) RunAndReturn ¶
func (_c *RelationWriter_FirstOrCreate_Call) RunAndReturn(run func(map[string]interface{}, map[string]interface{}, interface{}) error) *RelationWriter_FirstOrCreate_Call
type RelationWriter_FirstOrNew_Call ¶
RelationWriter_FirstOrNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrNew'
func (*RelationWriter_FirstOrNew_Call) Return ¶
func (_c *RelationWriter_FirstOrNew_Call) Return(_a0 error) *RelationWriter_FirstOrNew_Call
func (*RelationWriter_FirstOrNew_Call) Run ¶
func (_c *RelationWriter_FirstOrNew_Call) Run(run func(attrs map[string]interface{}, values map[string]interface{}, dest interface{})) *RelationWriter_FirstOrNew_Call
func (*RelationWriter_FirstOrNew_Call) RunAndReturn ¶
func (_c *RelationWriter_FirstOrNew_Call) RunAndReturn(run func(map[string]interface{}, map[string]interface{}, interface{}) error) *RelationWriter_FirstOrNew_Call
type RelationWriter_SaveManyWithPivot_Call ¶
RelationWriter_SaveManyWithPivot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveManyWithPivot'
func (*RelationWriter_SaveManyWithPivot_Call) Return ¶
func (_c *RelationWriter_SaveManyWithPivot_Call) Return(_a0 error) *RelationWriter_SaveManyWithPivot_Call
func (*RelationWriter_SaveManyWithPivot_Call) Run ¶
func (_c *RelationWriter_SaveManyWithPivot_Call) Run(run func(children interface{}, attrsPerChild map[interface{}]map[string]interface{})) *RelationWriter_SaveManyWithPivot_Call
func (*RelationWriter_SaveManyWithPivot_Call) RunAndReturn ¶
func (_c *RelationWriter_SaveManyWithPivot_Call) RunAndReturn(run func(interface{}, map[interface{}]map[string]interface{}) error) *RelationWriter_SaveManyWithPivot_Call
type RelationWriter_SaveMany_Call ¶
RelationWriter_SaveMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveMany'
func (*RelationWriter_SaveMany_Call) Return ¶
func (_c *RelationWriter_SaveMany_Call) Return(_a0 error) *RelationWriter_SaveMany_Call
func (*RelationWriter_SaveMany_Call) Run ¶
func (_c *RelationWriter_SaveMany_Call) Run(run func(children interface{})) *RelationWriter_SaveMany_Call
func (*RelationWriter_SaveMany_Call) RunAndReturn ¶
func (_c *RelationWriter_SaveMany_Call) RunAndReturn(run func(interface{}) error) *RelationWriter_SaveMany_Call
type RelationWriter_SaveWithPivot_Call ¶
RelationWriter_SaveWithPivot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveWithPivot'
func (*RelationWriter_SaveWithPivot_Call) Return ¶
func (_c *RelationWriter_SaveWithPivot_Call) Return(_a0 error) *RelationWriter_SaveWithPivot_Call
func (*RelationWriter_SaveWithPivot_Call) Run ¶
func (_c *RelationWriter_SaveWithPivot_Call) Run(run func(child interface{}, attrs map[string]interface{})) *RelationWriter_SaveWithPivot_Call
func (*RelationWriter_SaveWithPivot_Call) RunAndReturn ¶
func (_c *RelationWriter_SaveWithPivot_Call) RunAndReturn(run func(interface{}, map[string]interface{}) error) *RelationWriter_SaveWithPivot_Call
type RelationWriter_Save_Call ¶
RelationWriter_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*RelationWriter_Save_Call) Return ¶
func (_c *RelationWriter_Save_Call) Return(_a0 error) *RelationWriter_Save_Call
func (*RelationWriter_Save_Call) Run ¶
func (_c *RelationWriter_Save_Call) Run(run func(child interface{})) *RelationWriter_Save_Call
func (*RelationWriter_Save_Call) RunAndReturn ¶
func (_c *RelationWriter_Save_Call) RunAndReturn(run func(interface{}) error) *RelationWriter_Save_Call
type RelationWriter_SyncWithPivotValues_Call ¶
RelationWriter_SyncWithPivotValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncWithPivotValues'
func (*RelationWriter_SyncWithPivotValues_Call) Return ¶
func (_c *RelationWriter_SyncWithPivotValues_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_SyncWithPivotValues_Call
func (*RelationWriter_SyncWithPivotValues_Call) Run ¶
func (_c *RelationWriter_SyncWithPivotValues_Call) Run(run func(ids []interface{}, pivotValues map[string]interface{})) *RelationWriter_SyncWithPivotValues_Call
func (*RelationWriter_SyncWithPivotValues_Call) RunAndReturn ¶
func (_c *RelationWriter_SyncWithPivotValues_Call) RunAndReturn(run func([]interface{}, map[string]interface{}) (*db.SyncResult, error)) *RelationWriter_SyncWithPivotValues_Call
type RelationWriter_SyncWithPivot_Call ¶
RelationWriter_SyncWithPivot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncWithPivot'
func (*RelationWriter_SyncWithPivot_Call) Return ¶
func (_c *RelationWriter_SyncWithPivot_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_SyncWithPivot_Call
func (*RelationWriter_SyncWithPivot_Call) Run ¶
func (_c *RelationWriter_SyncWithPivot_Call) Run(run func(idsWithAttrs map[interface{}]map[string]interface{})) *RelationWriter_SyncWithPivot_Call
func (*RelationWriter_SyncWithPivot_Call) RunAndReturn ¶
func (_c *RelationWriter_SyncWithPivot_Call) RunAndReturn(run func(map[interface{}]map[string]interface{}) (*db.SyncResult, error)) *RelationWriter_SyncWithPivot_Call
type RelationWriter_SyncWithoutDetachingWithPivot_Call ¶
RelationWriter_SyncWithoutDetachingWithPivot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncWithoutDetachingWithPivot'
func (*RelationWriter_SyncWithoutDetachingWithPivot_Call) Return ¶
func (_c *RelationWriter_SyncWithoutDetachingWithPivot_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_SyncWithoutDetachingWithPivot_Call
func (*RelationWriter_SyncWithoutDetachingWithPivot_Call) Run ¶
func (_c *RelationWriter_SyncWithoutDetachingWithPivot_Call) Run(run func(idsWithAttrs map[interface{}]map[string]interface{})) *RelationWriter_SyncWithoutDetachingWithPivot_Call
func (*RelationWriter_SyncWithoutDetachingWithPivot_Call) RunAndReturn ¶
func (_c *RelationWriter_SyncWithoutDetachingWithPivot_Call) RunAndReturn(run func(map[interface{}]map[string]interface{}) (*db.SyncResult, error)) *RelationWriter_SyncWithoutDetachingWithPivot_Call
type RelationWriter_SyncWithoutDetaching_Call ¶
RelationWriter_SyncWithoutDetaching_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncWithoutDetaching'
func (*RelationWriter_SyncWithoutDetaching_Call) Return ¶
func (_c *RelationWriter_SyncWithoutDetaching_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_SyncWithoutDetaching_Call
func (*RelationWriter_SyncWithoutDetaching_Call) Run ¶
func (_c *RelationWriter_SyncWithoutDetaching_Call) Run(run func(ids []interface{})) *RelationWriter_SyncWithoutDetaching_Call
func (*RelationWriter_SyncWithoutDetaching_Call) RunAndReturn ¶
func (_c *RelationWriter_SyncWithoutDetaching_Call) RunAndReturn(run func([]interface{}) (*db.SyncResult, error)) *RelationWriter_SyncWithoutDetaching_Call
type RelationWriter_Sync_Call ¶
RelationWriter_Sync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sync'
func (*RelationWriter_Sync_Call) Return ¶
func (_c *RelationWriter_Sync_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_Sync_Call
func (*RelationWriter_Sync_Call) Run ¶
func (_c *RelationWriter_Sync_Call) Run(run func(ids []interface{})) *RelationWriter_Sync_Call
func (*RelationWriter_Sync_Call) RunAndReturn ¶
func (_c *RelationWriter_Sync_Call) RunAndReturn(run func([]interface{}) (*db.SyncResult, error)) *RelationWriter_Sync_Call
type RelationWriter_ToggleWithPivot_Call ¶
RelationWriter_ToggleWithPivot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToggleWithPivot'
func (*RelationWriter_ToggleWithPivot_Call) Return ¶
func (_c *RelationWriter_ToggleWithPivot_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_ToggleWithPivot_Call
func (*RelationWriter_ToggleWithPivot_Call) Run ¶
func (_c *RelationWriter_ToggleWithPivot_Call) Run(run func(idsWithAttrs map[interface{}]map[string]interface{})) *RelationWriter_ToggleWithPivot_Call
func (*RelationWriter_ToggleWithPivot_Call) RunAndReturn ¶
func (_c *RelationWriter_ToggleWithPivot_Call) RunAndReturn(run func(map[interface{}]map[string]interface{}) (*db.SyncResult, error)) *RelationWriter_ToggleWithPivot_Call
type RelationWriter_Toggle_Call ¶
RelationWriter_Toggle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Toggle'
func (*RelationWriter_Toggle_Call) Return ¶
func (_c *RelationWriter_Toggle_Call) Return(_a0 *db.SyncResult, _a1 error) *RelationWriter_Toggle_Call
func (*RelationWriter_Toggle_Call) Run ¶
func (_c *RelationWriter_Toggle_Call) Run(run func(ids []interface{})) *RelationWriter_Toggle_Call
func (*RelationWriter_Toggle_Call) RunAndReturn ¶
func (_c *RelationWriter_Toggle_Call) RunAndReturn(run func([]interface{}) (*db.SyncResult, error)) *RelationWriter_Toggle_Call
type RelationWriter_UpdateExistingPivot_Call ¶
RelationWriter_UpdateExistingPivot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateExistingPivot'
func (*RelationWriter_UpdateExistingPivot_Call) Return ¶
func (_c *RelationWriter_UpdateExistingPivot_Call) Return(_a0 int64, _a1 error) *RelationWriter_UpdateExistingPivot_Call
func (*RelationWriter_UpdateExistingPivot_Call) Run ¶
func (_c *RelationWriter_UpdateExistingPivot_Call) Run(run func(id interface{}, attrs map[string]interface{})) *RelationWriter_UpdateExistingPivot_Call
func (*RelationWriter_UpdateExistingPivot_Call) RunAndReturn ¶
func (_c *RelationWriter_UpdateExistingPivot_Call) RunAndReturn(run func(interface{}, map[string]interface{}) (int64, error)) *RelationWriter_UpdateExistingPivot_Call
type RelationWriter_UpdateOrCreate_Call ¶
RelationWriter_UpdateOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateOrCreate'
func (*RelationWriter_UpdateOrCreate_Call) Return ¶
func (_c *RelationWriter_UpdateOrCreate_Call) Return(_a0 error) *RelationWriter_UpdateOrCreate_Call
func (*RelationWriter_UpdateOrCreate_Call) Run ¶
func (_c *RelationWriter_UpdateOrCreate_Call) Run(run func(attrs map[string]interface{}, values map[string]interface{}, dest interface{})) *RelationWriter_UpdateOrCreate_Call
func (*RelationWriter_UpdateOrCreate_Call) RunAndReturn ¶
func (_c *RelationWriter_UpdateOrCreate_Call) RunAndReturn(run func(map[string]interface{}, map[string]interface{}, interface{}) error) *RelationWriter_UpdateOrCreate_Call
type Relation_Expecter ¶
type Relation_Expecter struct {
// contains filtered or unexported fields
}
func (*Relation_Expecter) Kind ¶
func (_e *Relation_Expecter) Kind() *Relation_Kind_Call
Kind is a helper method to define mock.On call
type Relation_Kind_Call ¶
Relation_Kind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Kind'
func (*Relation_Kind_Call) Return ¶
func (_c *Relation_Kind_Call) Return(_a0 orm.RelationKind) *Relation_Kind_Call
func (*Relation_Kind_Call) Run ¶
func (_c *Relation_Kind_Call) Run(run func()) *Relation_Kind_Call
func (*Relation_Kind_Call) RunAndReturn ¶
func (_c *Relation_Kind_Call) RunAndReturn(run func() orm.RelationKind) *Relation_Kind_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
func (*ToSql) ForceDelete ¶
ForceDelete provides a mock function with given fields: value
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{})) *ToSql_Delete_Call
func (*ToSql_Delete_Call) RunAndReturn ¶
func (_c *ToSql_Delete_Call) RunAndReturn(run func(...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{}) *ToSql_Delete_Call
Delete is a helper method to define mock.On call
- value ...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) ForceDelete ¶
func (_e *ToSql_Expecter) ForceDelete(value ...interface{}) *ToSql_ForceDelete_Call
ForceDelete is a helper method to define mock.On call
- value ...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_ForceDelete_Call ¶
ToSql_ForceDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceDelete'
func (*ToSql_ForceDelete_Call) Return ¶
func (_c *ToSql_ForceDelete_Call) Return(_a0 string) *ToSql_ForceDelete_Call
func (*ToSql_ForceDelete_Call) Run ¶
func (_c *ToSql_ForceDelete_Call) Run(run func(value ...interface{})) *ToSql_ForceDelete_Call
func (*ToSql_ForceDelete_Call) RunAndReturn ¶
func (_c *ToSql_ForceDelete_Call) RunAndReturn(run func(...interface{}) string) *ToSql_ForceDelete_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
Source Files
¶
- DispatchesEvents.go
- Event.go
- Factory.go
- ModelWithConnection.go
- ModelWithGlobalScopes.go
- ModelWithMorphClass.go
- ModelWithRelations.go
- ModelWithTableName.go
- MorphRelationCallback.go
- Observer.go
- ObserverWithCreating.go
- ObserverWithDeleting.go
- ObserverWithForceDeleting.go
- ObserverWithRestored.go
- ObserverWithRestoring.go
- ObserverWithRetrieved.go
- ObserverWithSaved.go
- ObserverWithSaving.go
- ObserverWithUpdating.go
- Orm.go
- PivotCallback.go
- PivotQuery.go
- Query.go
- QueryWithClone.go
- QueryWithContext.go
- QueryWithObserver.go
- QueryWithRelations.go
- Relation.go
- RelationCallback.go
- RelationWriter.go
- ToSql.go