Help us shape the future of Go! Take the 2026 Go Developer Survey

orm

package
v1.20.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DispatchesEvents

type DispatchesEvents struct {
	mock.Mock
}

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

func (_m *DispatchesEvents) DispatchesEvents() map[orm.EventType]func(orm.Event) error

DispatchesEvents provides a mock function with no fields

func (*DispatchesEvents) EXPECT

type DispatchesEvents_DispatchesEvents_Call

type DispatchesEvents_DispatchesEvents_Call struct {
	*mock.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 (*DispatchesEvents_DispatchesEvents_Call) Run

func (*DispatchesEvents_DispatchesEvents_Call) RunAndReturn

type DispatchesEvents_Expecter

type DispatchesEvents_Expecter struct {
	// contains filtered or unexported fields
}

func (*DispatchesEvents_Expecter) DispatchesEvents

DispatchesEvents is a helper method to define mock.On call

type Event

type Event struct {
	mock.Mock
}

Event is an autogenerated mock type for the Event type

func NewEvent

func NewEvent(t interface {
	mock.TestingT
	Cleanup(func())
}) *Event

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) Context

func (_m *Event) Context() context.Context

Context provides a mock function with no fields

func (*Event) EXPECT

func (_m *Event) EXPECT() *Event_Expecter

func (*Event) GetAttribute

func (_m *Event) GetAttribute(key string) interface{}

GetAttribute provides a mock function with given fields: key

func (*Event) GetOriginal

func (_m *Event) GetOriginal(key string, def ...interface{}) interface{}

GetOriginal provides a mock function with given fields: key, def

func (*Event) IsClean

func (_m *Event) IsClean(columns ...string) bool

IsClean provides a mock function with given fields: columns

func (*Event) IsDirty

func (_m *Event) IsDirty(columns ...string) bool

IsDirty provides a mock function with given fields: columns

func (*Event) Query

func (_m *Event) Query() orm.Query

Query provides a mock function with no fields

func (*Event) SetAttribute

func (_m *Event) SetAttribute(key string, value interface{})

SetAttribute provides a mock function with given fields: key, value

type Event_Context_Call

type Event_Context_Call struct {
	*mock.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 (*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

type Event_GetAttribute_Call struct {
	*mock.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

type Event_GetOriginal_Call struct {
	*mock.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

type Event_IsClean_Call struct {
	*mock.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

type Event_IsDirty_Call struct {
	*mock.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

type Event_Query_Call struct {
	*mock.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

type Event_SetAttribute_Call struct {
	*mock.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 (*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

type Factory struct {
	mock.Mock
}

Factory is an autogenerated mock type for the Factory type

func NewFactory

func NewFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *Factory

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) Count

func (_m *Factory) Count(count int) orm.Factory

Count provides a mock function with given fields: count

func (*Factory) Create

func (_m *Factory) Create(value interface{}, attributes ...map[string]interface{}) error

Create provides a mock function with given fields: value, attributes

func (*Factory) CreateQuietly

func (_m *Factory) CreateQuietly(value interface{}, attributes ...map[string]interface{}) error

CreateQuietly provides a mock function with given fields: value, attributes

func (*Factory) EXPECT

func (_m *Factory) EXPECT() *Factory_Expecter

func (*Factory) Make

func (_m *Factory) Make(value interface{}, attributes ...map[string]interface{}) error

Make provides a mock function with given fields: value, attributes

type Factory_Count_Call

type Factory_Count_Call struct {
	*mock.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 (*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

type Factory_CreateQuietly_Call struct {
	*mock.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 (*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

type Factory_Create_Call struct {
	*mock.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 (*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

type Factory_Make_Call struct {
	*mock.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

type ModelWithConnection struct {
	mock.Mock
}

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

type ModelWithConnection_Connection_Call

type ModelWithConnection_Connection_Call struct {
	*mock.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 (*ModelWithConnection_Connection_Call) Run

func (*ModelWithConnection_Connection_Call) RunAndReturn

type ModelWithConnection_Expecter

type ModelWithConnection_Expecter struct {
	// contains filtered or unexported fields
}

func (*ModelWithConnection_Expecter) Connection

Connection is a helper method to define mock.On call

type ModelWithGlobalScopes

type ModelWithGlobalScopes struct {
	mock.Mock
}

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 (*ModelWithGlobalScopes) GlobalScopes

func (_m *ModelWithGlobalScopes) GlobalScopes() map[string]func(orm.Query) orm.Query

GlobalScopes provides a mock function with no fields

type ModelWithGlobalScopes_Expecter

type ModelWithGlobalScopes_Expecter struct {
	// contains filtered or unexported fields
}

func (*ModelWithGlobalScopes_Expecter) GlobalScopes

GlobalScopes is a helper method to define mock.On call

type ModelWithGlobalScopes_GlobalScopes_Call

type ModelWithGlobalScopes_GlobalScopes_Call struct {
	*mock.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 (*ModelWithGlobalScopes_GlobalScopes_Call) Run

func (*ModelWithGlobalScopes_GlobalScopes_Call) RunAndReturn

type ModelWithMorphClass

type ModelWithMorphClass struct {
	mock.Mock
}

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 (*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

MorphClass is a helper method to define mock.On call

type ModelWithMorphClass_MorphClass_Call

type ModelWithMorphClass_MorphClass_Call struct {
	*mock.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 (*ModelWithMorphClass_MorphClass_Call) Run

func (*ModelWithMorphClass_MorphClass_Call) RunAndReturn

type ModelWithRelations

type ModelWithRelations struct {
	mock.Mock
}

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 (*ModelWithRelations) Relations

func (_m *ModelWithRelations) Relations() map[string]orm.Relation

Relations provides a mock function with no fields

type ModelWithRelations_Expecter

type ModelWithRelations_Expecter struct {
	// contains filtered or unexported fields
}

func (*ModelWithRelations_Expecter) Relations

Relations is a helper method to define mock.On call

type ModelWithRelations_Relations_Call

type ModelWithRelations_Relations_Call struct {
	*mock.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 (*ModelWithRelations_Relations_Call) Run

func (*ModelWithRelations_Relations_Call) RunAndReturn

type ModelWithTableName

type ModelWithTableName struct {
	mock.Mock
}

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 (*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

TableName is a helper method to define mock.On call

type ModelWithTableName_TableName_Call

type ModelWithTableName_TableName_Call struct {
	*mock.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 (*ModelWithTableName_TableName_Call) Run

func (*ModelWithTableName_TableName_Call) RunAndReturn

type MorphRelationCallback

type MorphRelationCallback struct {
	mock.Mock
}

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 (*MorphRelationCallback) Execute

func (_m *MorphRelationCallback) Execute(query orm.Query, morphType string) orm.Query

Execute provides a mock function with given fields: query, morphType

type MorphRelationCallback_Execute_Call

type MorphRelationCallback_Execute_Call struct {
	*mock.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 (*MorphRelationCallback_Execute_Call) Run

func (*MorphRelationCallback_Execute_Call) RunAndReturn

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

type Observer struct {
	mock.Mock
}

Observer is an autogenerated mock type for the Observer type

func NewObserver

func NewObserver(t interface {
	mock.TestingT
	Cleanup(func())
}) *Observer

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) Created

func (_m *Observer) Created(_a0 orm.Event) error

Created provides a mock function with given fields: _a0

func (*Observer) Deleted

func (_m *Observer) Deleted(_a0 orm.Event) error

Deleted provides a mock function with given fields: _a0

func (*Observer) EXPECT

func (_m *Observer) EXPECT() *Observer_Expecter

func (*Observer) ForceDeleted

func (_m *Observer) ForceDeleted(_a0 orm.Event) error

ForceDeleted provides a mock function with given fields: _a0

func (*Observer) Updated

func (_m *Observer) Updated(_a0 orm.Event) error

Updated provides a mock function with given fields: _a0

type ObserverWithCreating

type ObserverWithCreating struct {
	mock.Mock
}

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

type ObserverWithCreating_Creating_Call

type ObserverWithCreating_Creating_Call struct {
	*mock.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 (*ObserverWithCreating_Creating_Call) Run

func (*ObserverWithCreating_Creating_Call) RunAndReturn

type ObserverWithCreating_Expecter

type ObserverWithCreating_Expecter struct {
	// contains filtered or unexported fields
}

func (*ObserverWithCreating_Expecter) Creating

Creating is a helper method to define mock.On call

  • _a0 orm.Event

type ObserverWithDeleting

type ObserverWithDeleting struct {
	mock.Mock
}

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

type ObserverWithDeleting_Deleting_Call

type ObserverWithDeleting_Deleting_Call struct {
	*mock.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 (*ObserverWithDeleting_Deleting_Call) Run

func (*ObserverWithDeleting_Deleting_Call) RunAndReturn

type ObserverWithDeleting_Expecter

type ObserverWithDeleting_Expecter struct {
	// contains filtered or unexported fields
}

func (*ObserverWithDeleting_Expecter) Deleting

Deleting is a helper method to define mock.On call

  • _a0 orm.Event

type ObserverWithForceDeleting

type ObserverWithForceDeleting struct {
	mock.Mock
}

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 (*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

ForceDeleting is a helper method to define mock.On call

  • _a0 orm.Event

type ObserverWithForceDeleting_ForceDeleting_Call

type ObserverWithForceDeleting_ForceDeleting_Call struct {
	*mock.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 (*ObserverWithForceDeleting_ForceDeleting_Call) Run

func (*ObserverWithForceDeleting_ForceDeleting_Call) RunAndReturn

type ObserverWithRestored

type ObserverWithRestored struct {
	mock.Mock
}

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 (*ObserverWithRestored) Restored

func (_m *ObserverWithRestored) Restored(_a0 orm.Event) error

Restored provides a mock function with given fields: _a0

type ObserverWithRestored_Expecter

type ObserverWithRestored_Expecter struct {
	// contains filtered or unexported fields
}

func (*ObserverWithRestored_Expecter) Restored

Restored is a helper method to define mock.On call

  • _a0 orm.Event

type ObserverWithRestored_Restored_Call

type ObserverWithRestored_Restored_Call struct {
	*mock.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 (*ObserverWithRestored_Restored_Call) Run

func (*ObserverWithRestored_Restored_Call) RunAndReturn

type ObserverWithRestoring

type ObserverWithRestoring struct {
	mock.Mock
}

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 (*ObserverWithRestoring) Restoring

func (_m *ObserverWithRestoring) Restoring(_a0 orm.Event) error

Restoring provides a mock function with given fields: _a0

type ObserverWithRestoring_Expecter

type ObserverWithRestoring_Expecter struct {
	// contains filtered or unexported fields
}

func (*ObserverWithRestoring_Expecter) Restoring

Restoring is a helper method to define mock.On call

  • _a0 orm.Event

type ObserverWithRestoring_Restoring_Call

type ObserverWithRestoring_Restoring_Call struct {
	*mock.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 (*ObserverWithRestoring_Restoring_Call) Run

func (*ObserverWithRestoring_Restoring_Call) RunAndReturn

type ObserverWithRetrieved

type ObserverWithRetrieved struct {
	mock.Mock
}

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 (*ObserverWithRetrieved) Retrieved

func (_m *ObserverWithRetrieved) Retrieved(_a0 orm.Event) error

Retrieved provides a mock function with given fields: _a0

type ObserverWithRetrieved_Expecter

type ObserverWithRetrieved_Expecter struct {
	// contains filtered or unexported fields
}

func (*ObserverWithRetrieved_Expecter) Retrieved

Retrieved is a helper method to define mock.On call

  • _a0 orm.Event

type ObserverWithRetrieved_Retrieved_Call

type ObserverWithRetrieved_Retrieved_Call struct {
	*mock.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 (*ObserverWithRetrieved_Retrieved_Call) Run

func (*ObserverWithRetrieved_Retrieved_Call) RunAndReturn

type ObserverWithSaved

type ObserverWithSaved struct {
	mock.Mock
}

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 (*ObserverWithSaved) Saved

func (_m *ObserverWithSaved) Saved(_a0 orm.Event) error

Saved provides a mock function with given fields: _a0

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

type ObserverWithSaved_Saved_Call struct {
	*mock.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 (*ObserverWithSaved_Saved_Call) Run

func (*ObserverWithSaved_Saved_Call) RunAndReturn

type ObserverWithSaving

type ObserverWithSaving struct {
	mock.Mock
}

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 (*ObserverWithSaving) Saving

func (_m *ObserverWithSaving) Saving(_a0 orm.Event) error

Saving provides a mock function with given fields: _a0

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

type ObserverWithSaving_Saving_Call struct {
	*mock.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 (*ObserverWithSaving_Saving_Call) Run

func (*ObserverWithSaving_Saving_Call) RunAndReturn

type ObserverWithUpdating

type ObserverWithUpdating struct {
	mock.Mock
}

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 (*ObserverWithUpdating) Updating

func (_m *ObserverWithUpdating) Updating(_a0 orm.Event) error

Updating provides a mock function with given fields: _a0

type ObserverWithUpdating_Expecter

type ObserverWithUpdating_Expecter struct {
	// contains filtered or unexported fields
}

func (*ObserverWithUpdating_Expecter) Updating

Updating is a helper method to define mock.On call

  • _a0 orm.Event

type ObserverWithUpdating_Updating_Call

type ObserverWithUpdating_Updating_Call struct {
	*mock.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 (*ObserverWithUpdating_Updating_Call) Run

func (*ObserverWithUpdating_Updating_Call) RunAndReturn

type Observer_Created_Call

type Observer_Created_Call struct {
	*mock.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 (*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

type Observer_Deleted_Call struct {
	*mock.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 (*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

type Observer_ForceDeleted_Call struct {
	*mock.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 (*Observer_ForceDeleted_Call) Run

func (*Observer_ForceDeleted_Call) RunAndReturn

type Observer_Updated_Call

type Observer_Updated_Call struct {
	*mock.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 (*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

type Orm struct {
	mock.Mock
}

Orm is an autogenerated mock type for the Orm type

func NewOrm

func NewOrm(t interface {
	mock.TestingT
	Cleanup(func())
}) *Orm

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) Config

func (_m *Orm) Config() database.Config

Config provides a mock function with no fields

func (*Orm) Connection

func (_m *Orm) Connection(name string) orm.Orm

Connection provides a mock function with given fields: name

func (*Orm) DB

func (_m *Orm) DB() (*sql.DB, error)

DB provides a mock function with no fields

func (*Orm) DatabaseName

func (_m *Orm) DatabaseName() string

DatabaseName provides a mock function with no fields

func (*Orm) EXPECT

func (_m *Orm) EXPECT() *Orm_Expecter

func (*Orm) Factory

func (_m *Orm) Factory() orm.Factory

Factory provides a mock function with no fields

func (*Orm) Fresh

func (_m *Orm) Fresh()

Fresh provides a mock function with no fields

func (*Orm) Name

func (_m *Orm) Name() string

Name provides a mock function with no fields

func (*Orm) Observe

func (_m *Orm) Observe(model interface{}, observer orm.Observer)

Observe provides a mock function with given fields: model, observer

func (*Orm) Query

func (_m *Orm) Query() orm.Query

Query provides a mock function with no fields

func (*Orm) Related

func (_m *Orm) Related(parent interface{}, relation string) orm.Query

Related provides a mock function with given fields: parent, relation

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) SetQuery

func (_m *Orm) SetQuery(query orm.Query)

SetQuery provides a mock function with given fields: query

func (*Orm) Transaction

func (_m *Orm) Transaction(txFunc func(orm.Query) error) error

Transaction provides a mock function with given fields: txFunc

func (*Orm) WithContext

func (_m *Orm) WithContext(ctx context.Context) orm.Orm

WithContext provides a mock function with given fields: ctx

type Orm_Config_Call

type Orm_Config_Call struct {
	*mock.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 (*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

type Orm_Connection_Call struct {
	*mock.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 (*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

type Orm_DB_Call struct {
	*mock.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

type Orm_DatabaseName_Call struct {
	*mock.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 (*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

type Orm_Factory_Call struct {
	*mock.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

type Orm_Fresh_Call struct {
	*mock.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

type Orm_Name_Call struct {
	*mock.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

type Orm_Observe_Call struct {
	*mock.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

type Orm_Query_Call struct {
	*mock.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 struct {
	*mock.Call
}

Orm_Related_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Related'

func (_c *Orm_Related_Call) Return(_a0 orm.Query) *Orm_Related_Call
func (_c *Orm_Related_Call) Run(run func(parent interface{}, relation string)) *Orm_Related_Call
func (_c *Orm_Related_Call) RunAndReturn(run func(interface{}, string) orm.Query) *Orm_Related_Call

type Orm_Relation_Call

type Orm_Relation_Call struct {
	*mock.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 (*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

type Orm_SetQuery_Call struct {
	*mock.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

type Orm_Transaction_Call struct {
	*mock.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 (*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

type Orm_WithContext_Call struct {
	*mock.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 (*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

type PivotCallback struct {
	mock.Mock
}

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

type PivotCallback_Execute_Call struct {
	*mock.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 (*PivotCallback_Execute_Call) Run

func (*PivotCallback_Execute_Call) RunAndReturn

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

type PivotQuery struct {
	mock.Mock
}

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

type PivotQuery_WhereIn_Call struct {
	*mock.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 (*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

type PivotQuery_WhereNotIn_Call struct {
	*mock.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 (*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

type PivotQuery_WhereNotNull_Call struct {
	*mock.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 (*PivotQuery_WhereNotNull_Call) Run

func (*PivotQuery_WhereNotNull_Call) RunAndReturn

type PivotQuery_WhereNull_Call

type PivotQuery_WhereNull_Call struct {
	*mock.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 (*PivotQuery_WhereNull_Call) Run

func (_c *PivotQuery_WhereNull_Call) Run(run func(column string)) *PivotQuery_WhereNull_Call

func (*PivotQuery_WhereNull_Call) RunAndReturn

type PivotQuery_Where_Call

type PivotQuery_Where_Call struct {
	*mock.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 (*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

type Query struct {
	mock.Mock
}

Query is an autogenerated mock type for the Query type

func NewQuery

func NewQuery(t interface {
	mock.TestingT
	Cleanup(func())
}) *Query

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) Avg

func (_m *Query) Avg(column string, dest interface{}) error

Avg provides a mock function with given fields: column, dest

func (*Query) Begin

func (_m *Query) Begin() (orm.Query, error)

Begin provides a mock function with no fields

func (*Query) BeginTransaction

func (_m *Query) BeginTransaction() (orm.Query, error)

BeginTransaction provides a mock function with no fields

func (*Query) Commit

func (_m *Query) Commit() error

Commit provides a mock function with no fields

func (*Query) Context

func (_m *Query) Context() context.Context

Context provides a mock function with no fields

func (*Query) Count

func (_m *Query) Count() (int64, error)

Count provides a mock function with no fields

func (*Query) Create

func (_m *Query) Create(value interface{}) error

Create provides a mock function with given fields: value

func (*Query) Cursor

func (_m *Query) Cursor() chan db.Row

Cursor 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) DB

func (_m *Query) DB() (*sql.DB, error)

DB provides a mock function with no fields

func (*Query) Decrement

func (_m *Query) Decrement(column string, args ...interface{}) (*db.Result, error)

Decrement provides a mock function with given fields: column, args

func (*Query) Delete

func (_m *Query) Delete(value ...interface{}) (*db.Result, error)

Delete provides a mock function with given fields: value

func (*Query) Distinct

func (_m *Query) Distinct(columns ...string) orm.Query

Distinct provides a mock function with given fields: columns

func (*Query) DoesntHave

func (_m *Query) DoesntHave(relation string, args ...interface{}) orm.Query

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) Driver

func (_m *Query) Driver() string

Driver provides a mock function with no fields

func (*Query) EXPECT

func (_m *Query) EXPECT() *Query_Expecter

func (*Query) Except

func (_m *Query) Except(models interface{}) orm.Query

Except provides a mock function with given fields: models

func (*Query) Exec

func (_m *Query) Exec(_a0 string, values ...interface{}) (*db.Result, error)

Exec provides a mock function with given fields: _a0, values

func (*Query) Exists

func (_m *Query) Exists() (bool, error)

Exists provides a mock function with no fields

func (*Query) Find

func (_m *Query) Find(dest interface{}, conds ...interface{}) error

Find provides a mock function with given fields: dest, conds

func (*Query) FindMany

func (_m *Query) FindMany(dest interface{}, ids []interface{}, columns ...interface{}) error

FindMany provides a mock function with given fields: dest, ids, columns

func (*Query) FindOr

func (_m *Query) FindOr(dest interface{}, id interface{}, callback func() error) error

FindOr provides a mock function with given fields: dest, id, callback

func (*Query) FindOrFail

func (_m *Query) FindOrFail(dest interface{}, conds ...interface{}) error

FindOrFail provides a mock function with given fields: dest, conds

func (*Query) First

func (_m *Query) First(dest interface{}) error

First provides a mock function with given fields: dest

func (*Query) FirstOr

func (_m *Query) FirstOr(dest interface{}, callback func() error) error

FirstOr provides a mock function with given fields: dest, callback

func (*Query) FirstOrCreate

func (_m *Query) FirstOrCreate(dest interface{}, conds ...interface{}) error

FirstOrCreate provides a mock function with given fields: dest, conds

func (*Query) FirstOrFail

func (_m *Query) FirstOrFail(dest interface{}) error

FirstOrFail provides a mock function with given fields: dest

func (*Query) FirstOrNew

func (_m *Query) FirstOrNew(dest interface{}, attributes interface{}, values ...interface{}) error

FirstOrNew provides a mock function with given fields: dest, attributes, values

func (*Query) ForceDelete

func (_m *Query) ForceDelete(value ...interface{}) (*db.Result, error)

ForceDelete provides a mock function with given fields: value

func (*Query) Get

func (_m *Query) Get(dest interface{}, columns ...interface{}) error

Get provides a mock function with given fields: dest, columns

func (*Query) Group

func (_m *Query) Group(column string) orm.Query

Group provides a mock function with given fields: column

func (*Query) GroupBy

func (_m *Query) GroupBy(column ...string) orm.Query

GroupBy provides a mock function with given fields: column

func (*Query) Has

func (_m *Query) Has(relation string, args ...interface{}) orm.Query

Has provides a mock function with given fields: relation, args

func (*Query) HasMorph

func (_m *Query) HasMorph(relation string, types []interface{}, args ...interface{}) orm.Query

HasMorph provides a mock function with given fields: relation, types, args

func (*Query) Having

func (_m *Query) Having(query interface{}, args ...interface{}) orm.Query

Having provides a mock function with given fields: query, args

func (*Query) InRandomOrder

func (_m *Query) InRandomOrder() orm.Query

InRandomOrder provides a mock function with no fields

func (*Query) InTransaction

func (_m *Query) InTransaction() bool

InTransaction provides a mock function with no fields

func (*Query) Increment

func (_m *Query) Increment(column string, args ...interface{}) (*db.Result, error)

Increment provides a mock function with given fields: column, args

func (*Query) Join

func (_m *Query) Join(query string, args ...interface{}) orm.Query

Join provides a mock function with given fields: query, args

func (*Query) Latest

func (_m *Query) Latest(column ...string) orm.Query

Latest provides a mock function with given fields: column

func (*Query) LatestOfMany

func (_m *Query) LatestOfMany(column ...string) orm.Query

LatestOfMany provides a mock function with given fields: column

func (*Query) Limit

func (_m *Query) Limit(limit int) orm.Query

Limit provides a mock function with given fields: limit

func (*Query) Load

func (_m *Query) Load(dest interface{}, relation string, args ...interface{}) error

Load provides a mock function with given fields: dest, relation, args

func (*Query) LoadMissing

func (_m *Query) LoadMissing(dest interface{}, relation string, args ...interface{}) error

LoadMissing provides a mock function with given fields: dest, relation, args

func (*Query) LockForUpdate

func (_m *Query) LockForUpdate() orm.Query

LockForUpdate provides a mock function with no fields

func (*Query) Max

func (_m *Query) Max(column string, dest interface{}) error

Max provides a mock function with given fields: column, dest

func (*Query) Min

func (_m *Query) Min(column string, dest interface{}) error

Min provides a mock function with given fields: column, dest

func (*Query) Model

func (_m *Query) Model(value interface{}) orm.Query

Model provides a mock function with given fields: value

func (*Query) OfMany

func (_m *Query) OfMany(column string, aggregate string) orm.Query

OfMany provides a mock function with given fields: column, aggregate

func (*Query) Offset

func (_m *Query) Offset(offset int) orm.Query

Offset provides a mock function with given fields: offset

func (*Query) Oldest

func (_m *Query) Oldest(column ...string) orm.Query

Oldest provides a mock function with given fields: column

func (*Query) OldestOfMany

func (_m *Query) OldestOfMany(column ...string) orm.Query

OldestOfMany provides a mock function with given fields: column

func (*Query) Omit

func (_m *Query) Omit(columns ...string) orm.Query

Omit provides a mock function with given fields: columns

func (*Query) OnlyTrashed

func (_m *Query) OnlyTrashed() orm.Query

OnlyTrashed provides a mock function with no fields

func (*Query) OrDoesntHave

func (_m *Query) OrDoesntHave(relation string, args ...interface{}) orm.Query

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) OrHas

func (_m *Query) OrHas(relation string, args ...interface{}) orm.Query

OrHas provides a mock function with given fields: relation, args

func (*Query) OrHasMorph

func (_m *Query) OrHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query

OrHasMorph provides a mock function with given fields: relation, types, args

func (*Query) OrWhere

func (_m *Query) OrWhere(query interface{}, args ...interface{}) orm.Query

OrWhere provides a mock function with given fields: query, args

func (*Query) OrWhereBelongsTo

func (_m *Query) OrWhereBelongsTo(related interface{}, relation ...string) orm.Query

OrWhereBelongsTo provides a mock function with given fields: related, relation

func (*Query) OrWhereBetween

func (_m *Query) OrWhereBetween(column string, x interface{}, y interface{}) orm.Query

OrWhereBetween provides a mock function with given fields: column, x, y

func (*Query) OrWhereDoesntHave

func (_m *Query) OrWhereDoesntHave(relation string, args ...interface{}) orm.Query

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

func (_m *Query) OrWhereHas(relation string, args ...interface{}) orm.Query

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) OrWhereIn

func (_m *Query) OrWhereIn(column string, values []interface{}) orm.Query

OrWhereIn provides a mock function with given fields: column, values

func (*Query) OrWhereJsonContains

func (_m *Query) OrWhereJsonContains(column string, value interface{}) orm.Query

OrWhereJsonContains provides a mock function with given fields: column, value

func (*Query) OrWhereJsonContainsKey

func (_m *Query) OrWhereJsonContainsKey(column string) orm.Query

OrWhereJsonContainsKey provides a mock function with given fields: column

func (*Query) OrWhereJsonDoesntContain

func (_m *Query) OrWhereJsonDoesntContain(column string, value interface{}) orm.Query

OrWhereJsonDoesntContain provides a mock function with given fields: column, value

func (*Query) OrWhereJsonDoesntContainKey

func (_m *Query) OrWhereJsonDoesntContainKey(column string) orm.Query

OrWhereJsonDoesntContainKey provides a mock function with given fields: column

func (*Query) OrWhereJsonLength

func (_m *Query) OrWhereJsonLength(column string, args ...interface{}) orm.Query

OrWhereJsonLength provides a mock function with given fields: column, args

func (*Query) OrWhereNotBetween

func (_m *Query) OrWhereNotBetween(column string, x interface{}, y interface{}) orm.Query

OrWhereNotBetween provides a mock function with given fields: column, x, y

func (*Query) OrWhereNotIn

func (_m *Query) OrWhereNotIn(column string, values []interface{}) orm.Query

OrWhereNotIn provides a mock function with given fields: column, values

func (*Query) OrWhereNull

func (_m *Query) OrWhereNull(column string) orm.Query

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) Order

func (_m *Query) Order(value interface{}) orm.Query

Order provides a mock function with given fields: value

func (*Query) OrderBy

func (_m *Query) OrderBy(column string, direction ...string) orm.Query

OrderBy provides a mock function with given fields: column, direction

func (*Query) OrderByDesc

func (_m *Query) OrderByDesc(column string) orm.Query

OrderByDesc provides a mock function with given fields: column

func (*Query) OrderByRaw

func (_m *Query) OrderByRaw(raw string) orm.Query

OrderByRaw provides a mock function with given fields: raw

func (*Query) Paginate

func (_m *Query) Paginate(page int, limit int, dest interface{}, total *int64) error

Paginate provides a mock function with given fields: page, limit, dest, total

func (*Query) Pluck

func (_m *Query) Pluck(column string, dest interface{}) error

Pluck provides a mock function with given fields: column, dest

func (*Query) Raw

func (_m *Query) Raw(_a0 string, values ...interface{}) orm.Query

Raw provides a mock function with given fields: _a0, values

func (*Query) Related

func (_m *Query) Related(parent interface{}, name string) orm.Query

Related provides a mock function with given fields: parent, name

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) Restore

func (_m *Query) Restore(model ...interface{}) (*db.Result, error)

Restore provides a mock function with given fields: model

func (*Query) Rollback

func (_m *Query) Rollback() error

Rollback provides a mock function with no fields

func (*Query) Save

func (_m *Query) Save(value interface{}) error

Save provides a mock function with given fields: value

func (*Query) SaveQuietly

func (_m *Query) SaveQuietly(value interface{}) error

SaveQuietly provides a mock function with given fields: value

func (*Query) Scan

func (_m *Query) Scan(dest interface{}) error

Scan provides a mock function with given fields: dest

func (*Query) Scopes

func (_m *Query) Scopes(funcs ...func(orm.Query) orm.Query) orm.Query

Scopes provides a mock function with given fields: funcs

func (*Query) Select

func (_m *Query) Select(columns ...string) orm.Query

Select provides a mock function with given fields: columns

func (*Query) SelectRaw

func (_m *Query) SelectRaw(query interface{}, args ...interface{}) orm.Query

SelectRaw provides a mock function with given fields: query, args

func (*Query) SharedLock

func (_m *Query) SharedLock() orm.Query

SharedLock provides a mock function with no fields

func (*Query) Sole

func (_m *Query) Sole(dest interface{}) error

Sole provides a mock function with given fields: dest

func (*Query) Sum

func (_m *Query) Sum(column string, dest interface{}) error

Sum provides a mock function with given fields: column, dest

func (*Query) Table

func (_m *Query) Table(name interface{}, args ...interface{}) orm.Query

Table provides a mock function with given fields: name, args

func (*Query) ToRawSql

func (_m *Query) ToRawSql() orm.ToSql

ToRawSql provides a mock function with no fields

func (*Query) ToSql

func (_m *Query) ToSql() orm.ToSql

ToSql provides a mock function with no fields

func (*Query) Touch

func (_m *Query) Touch(column ...string) (*db.Result, error)

Touch provides a mock function with given fields: column

func (*Query) Update

func (_m *Query) Update(column interface{}, value ...interface{}) (*db.Result, error)

Update provides a mock function with given fields: column, value

func (*Query) UpdateOrCreate

func (_m *Query) UpdateOrCreate(dest interface{}, attributes interface{}, values interface{}) error

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

func (_m *Query) UseWritePdo() orm.Query

UseWritePdo provides a mock function with no fields

func (*Query) Value

func (_m *Query) Value(column string, dest interface{}) error

Value provides a mock function with given fields: column, dest

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) Where

func (_m *Query) Where(query interface{}, args ...interface{}) orm.Query

Where provides a mock function with given fields: query, args

func (*Query) WhereAll

func (_m *Query) WhereAll(columns []string, args ...interface{}) orm.Query

WhereAll provides a mock function with given fields: columns, args

func (*Query) WhereAny

func (_m *Query) WhereAny(columns []string, args ...interface{}) orm.Query

WhereAny provides a mock function with given fields: columns, args

func (*Query) WhereBelongsTo

func (_m *Query) WhereBelongsTo(related interface{}, relation ...string) orm.Query

WhereBelongsTo provides a mock function with given fields: related, relation

func (*Query) WhereBetween

func (_m *Query) WhereBetween(column string, x interface{}, y interface{}) orm.Query

WhereBetween provides a mock function with given fields: column, x, y

func (*Query) WhereDoesntHave

func (_m *Query) WhereDoesntHave(relation string, args ...interface{}) orm.Query

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) WhereHas

func (_m *Query) WhereHas(relation string, args ...interface{}) orm.Query

WhereHas provides a mock function with given fields: relation, args

func (*Query) WhereHasMorph

func (_m *Query) WhereHasMorph(relation string, types []interface{}, args ...interface{}) orm.Query

WhereHasMorph provides a mock function with given fields: relation, types, args

func (*Query) WhereIn

func (_m *Query) WhereIn(column string, values []interface{}) orm.Query

WhereIn provides a mock function with given fields: column, values

func (*Query) WhereJsonContains

func (_m *Query) WhereJsonContains(column string, value interface{}) orm.Query

WhereJsonContains provides a mock function with given fields: column, value

func (*Query) WhereJsonContainsKey

func (_m *Query) WhereJsonContainsKey(column string) orm.Query

WhereJsonContainsKey provides a mock function with given fields: column

func (*Query) WhereJsonDoesntContain

func (_m *Query) WhereJsonDoesntContain(column string, value interface{}) orm.Query

WhereJsonDoesntContain provides a mock function with given fields: column, value

func (*Query) WhereJsonDoesntContainKey

func (_m *Query) WhereJsonDoesntContainKey(column string) orm.Query

WhereJsonDoesntContainKey provides a mock function with given fields: column

func (*Query) WhereJsonLength

func (_m *Query) WhereJsonLength(column string, args ...interface{}) orm.Query

WhereJsonLength provides a mock function with given fields: column, args

func (*Query) WhereKey

func (_m *Query) WhereKey(id interface{}) orm.Query

WhereKey provides a mock function with given fields: id

func (*Query) WhereKeyNot

func (_m *Query) WhereKeyNot(id interface{}) orm.Query

WhereKeyNot provides a mock function with given fields: id

func (*Query) WhereNone

func (_m *Query) WhereNone(columns []string, args ...interface{}) orm.Query

WhereNone provides a mock function with given fields: columns, args

func (*Query) WhereNotBetween

func (_m *Query) WhereNotBetween(column string, x interface{}, y interface{}) orm.Query

WhereNotBetween provides a mock function with given fields: column, x, y

func (*Query) WhereNotIn

func (_m *Query) WhereNotIn(column string, values []interface{}) orm.Query

WhereNotIn provides a mock function with given fields: column, values

func (*Query) WhereNotNull

func (_m *Query) WhereNotNull(column string) orm.Query

WhereNotNull provides a mock function with given fields: column

func (*Query) WhereNull

func (_m *Query) WhereNull(column string) orm.Query

WhereNull provides a mock function with given fields: column

func (*Query) WhereRelation

func (_m *Query) WhereRelation(relation string, column interface{}, args ...interface{}) orm.Query

WhereRelation provides a mock function with given fields: relation, column, args

func (*Query) With

func (_m *Query) With(args ...interface{}) orm.Query

With provides a mock function with given fields: 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

func (_m *Query) WithAttributes(attributes interface{}, args ...interface{}) orm.Query

WithAttributes provides a mock function with given fields: attributes, args

func (*Query) WithAvg

func (_m *Query) WithAvg(relation string, column string, args ...interface{}) orm.Query

WithAvg provides a mock function with given fields: relation, column, args

func (*Query) WithCount

func (_m *Query) WithCount(relations ...interface{}) orm.Query

WithCount provides a mock function with given fields: relations

func (*Query) WithExists

func (_m *Query) WithExists(relations ...string) orm.Query

WithExists provides a mock function with given fields: relations

func (*Query) WithMax

func (_m *Query) WithMax(relation string, column string, args ...interface{}) orm.Query

WithMax provides a mock function with given fields: relation, column, args

func (*Query) WithMin

func (_m *Query) WithMin(relation string, column string, args ...interface{}) orm.Query

WithMin provides a mock function with given fields: relation, column, args

func (*Query) WithOnly

func (_m *Query) WithOnly(args ...interface{}) orm.Query

WithOnly provides a mock function with given fields: args

func (*Query) WithSum

func (_m *Query) WithSum(relation string, column string, args ...interface{}) orm.Query

WithSum provides a mock function with given fields: relation, column, args

func (*Query) WithTrashed

func (_m *Query) WithTrashed() orm.Query

WithTrashed provides a mock function with no fields

func (*Query) WithWhereHas

func (_m *Query) WithWhereHas(relation string, args ...interface{}) orm.Query

WithWhereHas provides a mock function with given fields: relation, args

func (*Query) Without

func (_m *Query) Without(relations ...string) orm.Query

Without provides a mock function with given fields: relations

func (*Query) WithoutEvents

func (_m *Query) WithoutEvents() orm.Query

WithoutEvents provides a mock function with no fields

func (*Query) WithoutGlobalScopes

func (_m *Query) WithoutGlobalScopes(names ...string) orm.Query

WithoutGlobalScopes provides a mock function with given fields: names

type QueryWithClone

type QueryWithClone struct {
	mock.Mock
}

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

type QueryWithClone_Clone_Call

type QueryWithClone_Clone_Call struct {
	*mock.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 (*QueryWithClone_Clone_Call) Run

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

Clone is a helper method to define mock.On call

type QueryWithContext

type QueryWithContext struct {
	mock.Mock
}

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 (*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

type QueryWithContext_WithContext_Call struct {
	*mock.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 (*QueryWithContext_WithContext_Call) Run

func (*QueryWithContext_WithContext_Call) RunAndReturn

type QueryWithObserver

type QueryWithObserver struct {
	mock.Mock
}

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 (*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

type QueryWithObserver_Observe_Call struct {
	*mock.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 (*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

type QueryWithRelations struct {
	mock.Mock
}

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 (*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

type QueryWithRelations_DoesntHaveMorph_Call struct {
	*mock.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 (*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

type QueryWithRelations_DoesntHave_Call struct {
	*mock.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 (*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

type QueryWithRelations_HasMorph_Call struct {
	*mock.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 (*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

type QueryWithRelations_Has_Call struct {
	*mock.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 (*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

type QueryWithRelations_OrDoesntHaveMorph_Call struct {
	*mock.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 (*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

type QueryWithRelations_OrDoesntHave_Call struct {
	*mock.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 (*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

type QueryWithRelations_OrHasMorph_Call struct {
	*mock.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 (*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

type QueryWithRelations_OrHas_Call struct {
	*mock.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 (*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

type QueryWithRelations_OrWhereBelongsTo_Call struct {
	*mock.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 (*QueryWithRelations_OrWhereBelongsTo_Call) Run

func (_c *QueryWithRelations_OrWhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *QueryWithRelations_OrWhereBelongsTo_Call

func (*QueryWithRelations_OrWhereBelongsTo_Call) RunAndReturn

type QueryWithRelations_OrWhereDoesntHaveMorph_Call

type QueryWithRelations_OrWhereDoesntHaveMorph_Call struct {
	*mock.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 (*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

type QueryWithRelations_OrWhereDoesntHaveRelation_Call struct {
	*mock.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 (*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

type QueryWithRelations_OrWhereDoesntHave_Call

type QueryWithRelations_OrWhereDoesntHave_Call struct {
	*mock.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 (*QueryWithRelations_OrWhereDoesntHave_Call) Run

func (_c *QueryWithRelations_OrWhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_OrWhereDoesntHave_Call

func (*QueryWithRelations_OrWhereDoesntHave_Call) RunAndReturn

type QueryWithRelations_OrWhereHasMorph_Call

type QueryWithRelations_OrWhereHasMorph_Call struct {
	*mock.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 (*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

type QueryWithRelations_OrWhereHas_Call struct {
	*mock.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 (*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

type QueryWithRelations_OrWhereRelation_Call struct {
	*mock.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 (*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

type QueryWithRelations_WhereBelongsTo_Call struct {
	*mock.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 (*QueryWithRelations_WhereBelongsTo_Call) Run

func (_c *QueryWithRelations_WhereBelongsTo_Call) Run(run func(related interface{}, relation ...string)) *QueryWithRelations_WhereBelongsTo_Call

func (*QueryWithRelations_WhereBelongsTo_Call) RunAndReturn

type QueryWithRelations_WhereDoesntHaveMorph_Call

type QueryWithRelations_WhereDoesntHaveMorph_Call struct {
	*mock.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 (*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

type QueryWithRelations_WhereDoesntHaveRelation_Call struct {
	*mock.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 (*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

type QueryWithRelations_WhereDoesntHave_Call

type QueryWithRelations_WhereDoesntHave_Call struct {
	*mock.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 (*QueryWithRelations_WhereDoesntHave_Call) Run

func (_c *QueryWithRelations_WhereDoesntHave_Call) Run(run func(relation string, args ...interface{})) *QueryWithRelations_WhereDoesntHave_Call

func (*QueryWithRelations_WhereDoesntHave_Call) RunAndReturn

type QueryWithRelations_WhereHasMorph_Call

type QueryWithRelations_WhereHasMorph_Call struct {
	*mock.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 (*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

type QueryWithRelations_WhereHas_Call struct {
	*mock.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 (*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

type QueryWithRelations_WhereRelation_Call struct {
	*mock.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 (*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

type QueryWithRelations_WithAggregate_Call struct {
	*mock.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 (*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

type QueryWithRelations_WithAvg_Call

type QueryWithRelations_WithAvg_Call struct {
	*mock.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 (*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

type QueryWithRelations_WithCount_Call struct {
	*mock.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 (*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

type QueryWithRelations_WithExists_Call struct {
	*mock.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 (*QueryWithRelations_WithExists_Call) Run

func (*QueryWithRelations_WithExists_Call) RunAndReturn

type QueryWithRelations_WithMax_Call

type QueryWithRelations_WithMax_Call struct {
	*mock.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 (*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

type QueryWithRelations_WithMin_Call struct {
	*mock.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 (*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

type QueryWithRelations_WithSum_Call struct {
	*mock.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 (*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

type QueryWithRelations_WithWhereHas_Call struct {
	*mock.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 (*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

type Query_Avg_Call struct {
	*mock.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

type Query_BeginTransaction_Call struct {
	*mock.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 (*Query_BeginTransaction_Call) Run

func (*Query_BeginTransaction_Call) RunAndReturn

func (_c *Query_BeginTransaction_Call) RunAndReturn(run func() (orm.Query, error)) *Query_BeginTransaction_Call

type Query_Begin_Call

type Query_Begin_Call struct {
	*mock.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

type Query_Commit_Call struct {
	*mock.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

type Query_Context_Call struct {
	*mock.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 (*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

type Query_Count_Call struct {
	*mock.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

type Query_Create_Call struct {
	*mock.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

type Query_CursorPaginate_Call struct {
	*mock.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 (*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

type Query_Cursor_Call struct {
	*mock.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

type Query_DB_Call struct {
	*mock.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

type Query_Decrement_Call struct {
	*mock.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

type Query_Delete_Call struct {
	*mock.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

type Query_Distinct_Call struct {
	*mock.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 (*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

type Query_DoesntHaveMorph_Call struct {
	*mock.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 (*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

type Query_DoesntHave_Call struct {
	*mock.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 (*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

type Query_Driver_Call struct {
	*mock.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

type Query_Except_Call struct {
	*mock.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

type Query_Exec_Call struct {
	*mock.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

type Query_Exists_Call struct {
	*mock.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

type Query_FindMany_Call struct {
	*mock.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 (*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

type Query_FindOrFail_Call struct {
	*mock.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 (*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

type Query_FindOr_Call struct {
	*mock.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

type Query_Find_Call struct {
	*mock.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

type Query_FirstOrCreate_Call struct {
	*mock.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 (*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

type Query_FirstOrFail_Call struct {
	*mock.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 (*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

type Query_FirstOrNew_Call struct {
	*mock.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 (*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

type Query_FirstOr_Call struct {
	*mock.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

type Query_First_Call struct {
	*mock.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

type Query_ForceDelete_Call struct {
	*mock.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 (*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

type Query_Get_Call struct {
	*mock.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

type Query_GroupBy_Call struct {
	*mock.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 (*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

type Query_Group_Call struct {
	*mock.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

type Query_HasMorph_Call struct {
	*mock.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 (*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

type Query_Has_Call struct {
	*mock.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

type Query_Having_Call struct {
	*mock.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

type Query_InRandomOrder_Call struct {
	*mock.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 (*Query_InRandomOrder_Call) Run

func (*Query_InRandomOrder_Call) RunAndReturn

func (_c *Query_InRandomOrder_Call) RunAndReturn(run func() orm.Query) *Query_InRandomOrder_Call

type Query_InTransaction_Call

type Query_InTransaction_Call struct {
	*mock.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 (*Query_InTransaction_Call) Run

func (*Query_InTransaction_Call) RunAndReturn

func (_c *Query_InTransaction_Call) RunAndReturn(run func() bool) *Query_InTransaction_Call

type Query_Increment_Call

type Query_Increment_Call struct {
	*mock.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

type Query_Join_Call struct {
	*mock.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

type Query_LatestOfMany_Call struct {
	*mock.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 (*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

type Query_Latest_Call struct {
	*mock.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

type Query_Limit_Call struct {
	*mock.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

type Query_LoadMissing_Call struct {
	*mock.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 (*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

type Query_Load_Call struct {
	*mock.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

type Query_LockForUpdate_Call struct {
	*mock.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 (*Query_LockForUpdate_Call) Run

func (*Query_LockForUpdate_Call) RunAndReturn

func (_c *Query_LockForUpdate_Call) RunAndReturn(run func() orm.Query) *Query_LockForUpdate_Call

type Query_Max_Call

type Query_Max_Call struct {
	*mock.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

type Query_Min_Call struct {
	*mock.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

type Query_Model_Call struct {
	*mock.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

type Query_OfMany_Call struct {
	*mock.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

type Query_Offset_Call struct {
	*mock.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

type Query_OldestOfMany_Call struct {
	*mock.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 (*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

type Query_Oldest_Call struct {
	*mock.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

type Query_Omit_Call struct {
	*mock.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

type Query_OnlyTrashed_Call struct {
	*mock.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 (*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

type Query_OrDoesntHaveMorph_Call struct {
	*mock.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 (*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

type Query_OrDoesntHave_Call struct {
	*mock.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 (*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

type Query_OrHasMorph_Call struct {
	*mock.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 (*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

type Query_OrHas_Call struct {
	*mock.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

type Query_OrWhereBelongsTo_Call struct {
	*mock.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 (*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

type Query_OrWhereBetween_Call struct {
	*mock.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 (*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

type Query_OrWhereDoesntHaveMorph_Call struct {
	*mock.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 (*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

type Query_OrWhereDoesntHaveRelation_Call struct {
	*mock.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 (*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

type Query_OrWhereDoesntHave_Call struct {
	*mock.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 (*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

type Query_OrWhereHasMorph_Call struct {
	*mock.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 (*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

type Query_OrWhereHas_Call struct {
	*mock.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 (*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

type Query_OrWhereIn_Call struct {
	*mock.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 (*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

type Query_OrWhereJsonContainsKey_Call struct {
	*mock.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 (*Query_OrWhereJsonContainsKey_Call) Run

func (*Query_OrWhereJsonContainsKey_Call) RunAndReturn

type Query_OrWhereJsonContains_Call

type Query_OrWhereJsonContains_Call struct {
	*mock.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 (*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

type Query_OrWhereJsonDoesntContainKey_Call struct {
	*mock.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 (*Query_OrWhereJsonDoesntContainKey_Call) Run

func (*Query_OrWhereJsonDoesntContainKey_Call) RunAndReturn

type Query_OrWhereJsonDoesntContain_Call

type Query_OrWhereJsonDoesntContain_Call struct {
	*mock.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 (*Query_OrWhereJsonDoesntContain_Call) Run

func (_c *Query_OrWhereJsonDoesntContain_Call) Run(run func(column string, value interface{})) *Query_OrWhereJsonDoesntContain_Call

func (*Query_OrWhereJsonDoesntContain_Call) RunAndReturn

type Query_OrWhereJsonLength_Call

type Query_OrWhereJsonLength_Call struct {
	*mock.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 (*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

type Query_OrWhereNotBetween_Call struct {
	*mock.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 (*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

type Query_OrWhereNotIn_Call struct {
	*mock.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 (*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

type Query_OrWhereNull_Call struct {
	*mock.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 (*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

type Query_OrWhereRelation_Call struct {
	*mock.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 (*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

type Query_OrWhere_Call struct {
	*mock.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 (*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

type Query_OrderByDesc_Call struct {
	*mock.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 (*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

type Query_OrderByRaw_Call struct {
	*mock.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 (*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

type Query_OrderBy_Call struct {
	*mock.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 (*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

type Query_Order_Call struct {
	*mock.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

type Query_Paginate_Call struct {
	*mock.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 (*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

type Query_Pluck_Call struct {
	*mock.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

type Query_Raw_Call struct {
	*mock.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 struct {
	*mock.Call
}

Query_Related_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Related'

func (_c *Query_Related_Call) Run(run func(parent interface{}, name string)) *Query_Related_Call
func (_c *Query_Related_Call) RunAndReturn(run func(interface{}, string) orm.Query) *Query_Related_Call

type Query_Relation_Call

type Query_Relation_Call struct {
	*mock.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 (*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

type Query_Restore_Call struct {
	*mock.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

type Query_Rollback_Call struct {
	*mock.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 (*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

type Query_SaveQuietly_Call struct {
	*mock.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 (*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

type Query_Save_Call struct {
	*mock.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

type Query_Scan_Call struct {
	*mock.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

type Query_Scopes_Call struct {
	*mock.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

type Query_SelectRaw_Call struct {
	*mock.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 (*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

type Query_Select_Call struct {
	*mock.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 {
	*mock.Call
}

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 (*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

type Query_Sole_Call struct {
	*mock.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

type Query_Sum_Call struct {
	*mock.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

type Query_Table_Call struct {
	*mock.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

type Query_ToRawSql_Call struct {
	*mock.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 (*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

type Query_ToSql_Call struct {
	*mock.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

type Query_Touch_Call struct {
	*mock.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

type Query_UpdateOrCreate_Call struct {
	*mock.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 (*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

type Query_Update_Call struct {
	*mock.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

type Query_Upsert_Call struct {
	*mock.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

type Query_UseWritePdo_Call struct {
	*mock.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 (*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

type Query_Value_Call struct {
	*mock.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

type Query_When_Call struct {
	*mock.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) Run

func (_c *Query_When_Call) Run(run func(condition bool, callback func(orm.Query) orm.Query, falseCallback ...func(orm.Query) orm.Query)) *Query_When_Call

func (*Query_When_Call) RunAndReturn

func (_c *Query_When_Call) RunAndReturn(run func(bool, func(orm.Query) orm.Query, ...func(orm.Query) orm.Query) orm.Query) *Query_When_Call

type Query_WhereAll_Call

type Query_WhereAll_Call struct {
	*mock.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 (*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

type Query_WhereAny_Call struct {
	*mock.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 (*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

type Query_WhereBelongsTo_Call struct {
	*mock.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 (*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

type Query_WhereBetween_Call struct {
	*mock.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 (*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

type Query_WhereDoesntHaveMorph_Call struct {
	*mock.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 (*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

type Query_WhereDoesntHaveRelation_Call struct {
	*mock.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 (*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

type Query_WhereDoesntHave_Call struct {
	*mock.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 (*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

type Query_WhereHasMorph_Call struct {
	*mock.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 (*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

type Query_WhereHas_Call struct {
	*mock.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 (*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

type Query_WhereIn_Call struct {
	*mock.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 (*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

type Query_WhereJsonContainsKey_Call struct {
	*mock.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 (*Query_WhereJsonContainsKey_Call) Run

func (*Query_WhereJsonContainsKey_Call) RunAndReturn

type Query_WhereJsonContains_Call

type Query_WhereJsonContains_Call struct {
	*mock.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 (*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

type Query_WhereJsonDoesntContainKey_Call struct {
	*mock.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 (*Query_WhereJsonDoesntContainKey_Call) Run

func (*Query_WhereJsonDoesntContainKey_Call) RunAndReturn

type Query_WhereJsonDoesntContain_Call

type Query_WhereJsonDoesntContain_Call struct {
	*mock.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 (*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

type Query_WhereJsonLength_Call struct {
	*mock.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 (*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

type Query_WhereKeyNot_Call struct {
	*mock.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 (*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

type Query_WhereKey_Call struct {
	*mock.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 (*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

type Query_WhereNone_Call struct {
	*mock.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 (*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

type Query_WhereNotBetween_Call struct {
	*mock.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 (*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

type Query_WhereNotIn_Call struct {
	*mock.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 (*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

type Query_WhereNotNull_Call struct {
	*mock.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 (*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

type Query_WhereNull_Call struct {
	*mock.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 (*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

type Query_WhereRelation_Call struct {
	*mock.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 (*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

type Query_Where_Call struct {
	*mock.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

type Query_WithAggregate_Call struct {
	*mock.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 (*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

type Query_WithAttributes_Call struct {
	*mock.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 (*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

type Query_WithAvg_Call struct {
	*mock.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 (*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

type Query_WithCount_Call struct {
	*mock.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 (*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

type Query_WithExists_Call struct {
	*mock.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 (*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

type Query_WithMax_Call struct {
	*mock.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 (*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

type Query_WithMin_Call struct {
	*mock.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 (*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

type Query_WithOnly_Call struct {
	*mock.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 (*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

type Query_WithSum_Call struct {
	*mock.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 (*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

type Query_WithTrashed_Call struct {
	*mock.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 (*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

type Query_WithWhereHas_Call struct {
	*mock.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 (*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

type Query_With_Call struct {
	*mock.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

type Query_WithoutEvents_Call struct {
	*mock.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 (*Query_WithoutEvents_Call) Run

func (*Query_WithoutEvents_Call) RunAndReturn

func (_c *Query_WithoutEvents_Call) RunAndReturn(run func() orm.Query) *Query_WithoutEvents_Call

type Query_WithoutGlobalScopes_Call

type Query_WithoutGlobalScopes_Call struct {
	*mock.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 (*Query_WithoutGlobalScopes_Call) Run

func (*Query_WithoutGlobalScopes_Call) RunAndReturn

type Query_Without_Call

type Query_Without_Call struct {
	*mock.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 (*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

type Relation struct {
	mock.Mock
}

Relation is an autogenerated mock type for the Relation type

func NewRelation

func NewRelation(t interface {
	mock.TestingT
	Cleanup(func())
}) *Relation

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

type RelationCallback struct {
	mock.Mock
}

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 (*RelationCallback) Execute

func (_m *RelationCallback) Execute(query orm.Query) orm.Query

Execute provides a mock function with given fields: query

type RelationCallback_Execute_Call

type RelationCallback_Execute_Call struct {
	*mock.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 (*RelationCallback_Execute_Call) Run

func (*RelationCallback_Execute_Call) RunAndReturn

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

type RelationWriter struct {
	mock.Mock
}

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 (*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

type RelationWriter_Associate_Call struct {
	*mock.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 (*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

type RelationWriter_AttachWithPivot_Call struct {
	*mock.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 (*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

type RelationWriter_Attach_Call struct {
	*mock.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 (*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

type RelationWriter_CreateMany_Call struct {
	*mock.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 (*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

type RelationWriter_Create_Call struct {
	*mock.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 (*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

type RelationWriter_Detach_Call struct {
	*mock.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 (*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

type RelationWriter_Dissociate_Call struct {
	*mock.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 (*RelationWriter_Dissociate_Call) Run

func (*RelationWriter_Dissociate_Call) RunAndReturn

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

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

type RelationWriter_FindOrNew_Call struct {
	*mock.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 (*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

type RelationWriter_FirstOrCreate_Call struct {
	*mock.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 (*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

type RelationWriter_FirstOrNew_Call struct {
	*mock.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 (*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

type RelationWriter_SaveManyWithPivot_Call struct {
	*mock.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 (*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

type RelationWriter_SaveMany_Call struct {
	*mock.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 (*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

type RelationWriter_SaveWithPivot_Call struct {
	*mock.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 (*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

type RelationWriter_Save_Call struct {
	*mock.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 (*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

type RelationWriter_SyncWithPivotValues_Call struct {
	*mock.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 (*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

type RelationWriter_SyncWithPivot_Call struct {
	*mock.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 (*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

type RelationWriter_SyncWithoutDetachingWithPivot_Call struct {
	*mock.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 (*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

type RelationWriter_SyncWithoutDetaching_Call

type RelationWriter_SyncWithoutDetaching_Call struct {
	*mock.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 (*RelationWriter_SyncWithoutDetaching_Call) Run

func (*RelationWriter_SyncWithoutDetaching_Call) RunAndReturn

type RelationWriter_Sync_Call

type RelationWriter_Sync_Call struct {
	*mock.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 (*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

type RelationWriter_ToggleWithPivot_Call struct {
	*mock.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 (*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

type RelationWriter_Toggle_Call struct {
	*mock.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 (*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

type RelationWriter_UpdateExistingPivot_Call struct {
	*mock.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 (*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

type RelationWriter_UpdateOrCreate_Call struct {
	*mock.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 (*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

Kind is a helper method to define mock.On call

type Relation_Kind_Call

type Relation_Kind_Call struct {
	*mock.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 (*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

type ToSql struct {
	mock.Mock
}

ToSql is an autogenerated mock type for the ToSql type

func NewToSql

func NewToSql(t interface {
	mock.TestingT
	Cleanup(func())
}) *ToSql

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) Count

func (_m *ToSql) Count() string

Count provides a mock function with no fields

func (*ToSql) Create

func (_m *ToSql) Create(value interface{}) string

Create provides a mock function with given fields: value

func (*ToSql) Delete

func (_m *ToSql) Delete(value ...interface{}) string

Delete provides a mock function with given fields: value

func (*ToSql) EXPECT

func (_m *ToSql) EXPECT() *ToSql_Expecter

func (*ToSql) Find

func (_m *ToSql) Find(dest interface{}, conds ...interface{}) string

Find provides a mock function with given fields: dest, conds

func (*ToSql) First

func (_m *ToSql) First(dest interface{}) string

First provides a mock function with given fields: dest

func (*ToSql) ForceDelete

func (_m *ToSql) ForceDelete(value ...interface{}) string

ForceDelete provides a mock function with given fields: value

func (*ToSql) Get

func (_m *ToSql) Get(dest interface{}) string

Get provides a mock function with given fields: dest

func (*ToSql) Pluck

func (_m *ToSql) Pluck(column string, dest interface{}) string

Pluck provides a mock function with given fields: column, dest

func (*ToSql) Save

func (_m *ToSql) Save(value interface{}) string

Save provides a mock function with given fields: value

func (*ToSql) Sum

func (_m *ToSql) Sum(column string, dest interface{}) string

Sum provides a mock function with given fields: column, dest

func (*ToSql) Update

func (_m *ToSql) Update(column interface{}, value ...interface{}) string

Update provides a mock function with given fields: column, value

type ToSql_Count_Call

type ToSql_Count_Call struct {
	*mock.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

type ToSql_Create_Call struct {
	*mock.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

type ToSql_Delete_Call struct {
	*mock.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

type ToSql_Find_Call struct {
	*mock.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

type ToSql_First_Call struct {
	*mock.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

type ToSql_ForceDelete_Call struct {
	*mock.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 (*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

type ToSql_Get_Call struct {
	*mock.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

type ToSql_Pluck_Call struct {
	*mock.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

type ToSql_Save_Call struct {
	*mock.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

type ToSql_Sum_Call struct {
	*mock.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

type ToSql_Update_Call struct {
	*mock.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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL