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

db

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	mock.Mock
}

Builder is an autogenerated mock type for the Builder type

func NewBuilder

func NewBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *Builder

NewBuilder creates a new instance of Builder. 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 (*Builder) Beginx

func (_m *Builder) Beginx() (*sqlx.Tx, error)

Beginx provides a mock function with no fields

func (*Builder) EXPECT

func (_m *Builder) EXPECT() *Builder_Expecter

func (*Builder) ExecContext

func (_m *Builder) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)

ExecContext provides a mock function with given fields: ctx, query, args

func (*Builder) Explain

func (_m *Builder) Explain(_a0 string, args ...interface{}) string

Explain provides a mock function with given fields: _a0, args

func (*Builder) GetContext

func (_m *Builder) GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error

GetContext provides a mock function with given fields: ctx, dest, query, args

func (*Builder) QueryxContext

func (_m *Builder) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)

QueryxContext provides a mock function with given fields: ctx, query, args

func (*Builder) SelectContext

func (_m *Builder) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error

SelectContext provides a mock function with given fields: ctx, dest, query, args

type Builder_Beginx_Call

type Builder_Beginx_Call struct {
	*mock.Call
}

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

func (*Builder_Beginx_Call) Return

func (_c *Builder_Beginx_Call) Return(_a0 *sqlx.Tx, _a1 error) *Builder_Beginx_Call

func (*Builder_Beginx_Call) Run

func (_c *Builder_Beginx_Call) Run(run func()) *Builder_Beginx_Call

func (*Builder_Beginx_Call) RunAndReturn

func (_c *Builder_Beginx_Call) RunAndReturn(run func() (*sqlx.Tx, error)) *Builder_Beginx_Call

type Builder_ExecContext_Call

type Builder_ExecContext_Call struct {
	*mock.Call
}

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

func (*Builder_ExecContext_Call) Return

func (*Builder_ExecContext_Call) Run

func (_c *Builder_ExecContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Builder_ExecContext_Call

func (*Builder_ExecContext_Call) RunAndReturn

func (_c *Builder_ExecContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (sql.Result, error)) *Builder_ExecContext_Call

type Builder_Expecter

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

func (*Builder_Expecter) Beginx

func (_e *Builder_Expecter) Beginx() *Builder_Beginx_Call

Beginx is a helper method to define mock.On call

func (*Builder_Expecter) ExecContext

func (_e *Builder_Expecter) ExecContext(ctx interface{}, query interface{}, args ...interface{}) *Builder_ExecContext_Call

ExecContext is a helper method to define mock.On call

  • ctx context.Context
  • query string
  • args ...interface{}

func (*Builder_Expecter) Explain

func (_e *Builder_Expecter) Explain(_a0 interface{}, args ...interface{}) *Builder_Explain_Call

Explain is a helper method to define mock.On call

  • _a0 string
  • args ...interface{}

func (*Builder_Expecter) GetContext

func (_e *Builder_Expecter) GetContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *Builder_GetContext_Call

GetContext is a helper method to define mock.On call

  • ctx context.Context
  • dest interface{}
  • query string
  • args ...interface{}

func (*Builder_Expecter) QueryxContext

func (_e *Builder_Expecter) QueryxContext(ctx interface{}, query interface{}, args ...interface{}) *Builder_QueryxContext_Call

QueryxContext is a helper method to define mock.On call

  • ctx context.Context
  • query string
  • args ...interface{}

func (*Builder_Expecter) SelectContext

func (_e *Builder_Expecter) SelectContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *Builder_SelectContext_Call

SelectContext is a helper method to define mock.On call

  • ctx context.Context
  • dest interface{}
  • query string
  • args ...interface{}

type Builder_Explain_Call

type Builder_Explain_Call struct {
	*mock.Call
}

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

func (*Builder_Explain_Call) Return

func (*Builder_Explain_Call) Run

func (_c *Builder_Explain_Call) Run(run func(_a0 string, args ...interface{})) *Builder_Explain_Call

func (*Builder_Explain_Call) RunAndReturn

func (_c *Builder_Explain_Call) RunAndReturn(run func(string, ...interface{}) string) *Builder_Explain_Call

type Builder_GetContext_Call

type Builder_GetContext_Call struct {
	*mock.Call
}

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

func (*Builder_GetContext_Call) Return

func (*Builder_GetContext_Call) Run

func (_c *Builder_GetContext_Call) Run(run func(ctx context.Context, dest interface{}, query string, args ...interface{})) *Builder_GetContext_Call

func (*Builder_GetContext_Call) RunAndReturn

func (_c *Builder_GetContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *Builder_GetContext_Call

type Builder_QueryxContext_Call

type Builder_QueryxContext_Call struct {
	*mock.Call
}

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

func (*Builder_QueryxContext_Call) Return

func (*Builder_QueryxContext_Call) Run

func (_c *Builder_QueryxContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Builder_QueryxContext_Call

func (*Builder_QueryxContext_Call) RunAndReturn

func (_c *Builder_QueryxContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (*sqlx.Rows, error)) *Builder_QueryxContext_Call

type Builder_SelectContext_Call

type Builder_SelectContext_Call struct {
	*mock.Call
}

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

func (*Builder_SelectContext_Call) Return

func (*Builder_SelectContext_Call) Run

func (_c *Builder_SelectContext_Call) Run(run func(ctx context.Context, dest interface{}, query string, args ...interface{})) *Builder_SelectContext_Call

func (*Builder_SelectContext_Call) RunAndReturn

func (_c *Builder_SelectContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *Builder_SelectContext_Call

type CommonBuilder

type CommonBuilder struct {
	mock.Mock
}

CommonBuilder is an autogenerated mock type for the CommonBuilder type

func NewCommonBuilder

func NewCommonBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *CommonBuilder

NewCommonBuilder creates a new instance of CommonBuilder. 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 (*CommonBuilder) EXPECT

func (_m *CommonBuilder) EXPECT() *CommonBuilder_Expecter

func (*CommonBuilder) ExecContext

func (_m *CommonBuilder) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)

ExecContext provides a mock function with given fields: ctx, query, args

func (*CommonBuilder) Explain

func (_m *CommonBuilder) Explain(_a0 string, args ...interface{}) string

Explain provides a mock function with given fields: _a0, args

func (*CommonBuilder) GetContext

func (_m *CommonBuilder) GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error

GetContext provides a mock function with given fields: ctx, dest, query, args

func (*CommonBuilder) QueryxContext

func (_m *CommonBuilder) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)

QueryxContext provides a mock function with given fields: ctx, query, args

func (*CommonBuilder) SelectContext

func (_m *CommonBuilder) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error

SelectContext provides a mock function with given fields: ctx, dest, query, args

type CommonBuilder_ExecContext_Call

type CommonBuilder_ExecContext_Call struct {
	*mock.Call
}

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

func (*CommonBuilder_ExecContext_Call) Return

func (*CommonBuilder_ExecContext_Call) Run

func (_c *CommonBuilder_ExecContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *CommonBuilder_ExecContext_Call

func (*CommonBuilder_ExecContext_Call) RunAndReturn

func (_c *CommonBuilder_ExecContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (sql.Result, error)) *CommonBuilder_ExecContext_Call

type CommonBuilder_Expecter

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

func (*CommonBuilder_Expecter) ExecContext

func (_e *CommonBuilder_Expecter) ExecContext(ctx interface{}, query interface{}, args ...interface{}) *CommonBuilder_ExecContext_Call

ExecContext is a helper method to define mock.On call

  • ctx context.Context
  • query string
  • args ...interface{}

func (*CommonBuilder_Expecter) Explain

func (_e *CommonBuilder_Expecter) Explain(_a0 interface{}, args ...interface{}) *CommonBuilder_Explain_Call

Explain is a helper method to define mock.On call

  • _a0 string
  • args ...interface{}

func (*CommonBuilder_Expecter) GetContext

func (_e *CommonBuilder_Expecter) GetContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *CommonBuilder_GetContext_Call

GetContext is a helper method to define mock.On call

  • ctx context.Context
  • dest interface{}
  • query string
  • args ...interface{}

func (*CommonBuilder_Expecter) QueryxContext

func (_e *CommonBuilder_Expecter) QueryxContext(ctx interface{}, query interface{}, args ...interface{}) *CommonBuilder_QueryxContext_Call

QueryxContext is a helper method to define mock.On call

  • ctx context.Context
  • query string
  • args ...interface{}

func (*CommonBuilder_Expecter) SelectContext

func (_e *CommonBuilder_Expecter) SelectContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *CommonBuilder_SelectContext_Call

SelectContext is a helper method to define mock.On call

  • ctx context.Context
  • dest interface{}
  • query string
  • args ...interface{}

type CommonBuilder_Explain_Call

type CommonBuilder_Explain_Call struct {
	*mock.Call
}

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

func (*CommonBuilder_Explain_Call) Return

func (*CommonBuilder_Explain_Call) Run

func (_c *CommonBuilder_Explain_Call) Run(run func(_a0 string, args ...interface{})) *CommonBuilder_Explain_Call

func (*CommonBuilder_Explain_Call) RunAndReturn

func (_c *CommonBuilder_Explain_Call) RunAndReturn(run func(string, ...interface{}) string) *CommonBuilder_Explain_Call

type CommonBuilder_GetContext_Call

type CommonBuilder_GetContext_Call struct {
	*mock.Call
}

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

func (*CommonBuilder_GetContext_Call) Return

func (*CommonBuilder_GetContext_Call) Run

func (_c *CommonBuilder_GetContext_Call) Run(run func(ctx context.Context, dest interface{}, query string, args ...interface{})) *CommonBuilder_GetContext_Call

func (*CommonBuilder_GetContext_Call) RunAndReturn

func (_c *CommonBuilder_GetContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *CommonBuilder_GetContext_Call

type CommonBuilder_QueryxContext_Call

type CommonBuilder_QueryxContext_Call struct {
	*mock.Call
}

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

func (*CommonBuilder_QueryxContext_Call) Return

func (*CommonBuilder_QueryxContext_Call) Run

func (_c *CommonBuilder_QueryxContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *CommonBuilder_QueryxContext_Call

func (*CommonBuilder_QueryxContext_Call) RunAndReturn

func (_c *CommonBuilder_QueryxContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (*sqlx.Rows, error)) *CommonBuilder_QueryxContext_Call

type CommonBuilder_SelectContext_Call

type CommonBuilder_SelectContext_Call struct {
	*mock.Call
}

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

func (*CommonBuilder_SelectContext_Call) Return

func (*CommonBuilder_SelectContext_Call) Run

func (_c *CommonBuilder_SelectContext_Call) Run(run func(ctx context.Context, dest interface{}, query string, args ...interface{})) *CommonBuilder_SelectContext_Call

func (*CommonBuilder_SelectContext_Call) RunAndReturn

func (_c *CommonBuilder_SelectContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *CommonBuilder_SelectContext_Call

type DB

type DB struct {
	mock.Mock
}

DB is an autogenerated mock type for the DB type

func NewDB

func NewDB(t interface {
	mock.TestingT
	Cleanup(func())
}) *DB

NewDB creates a new instance of DB. 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 (*DB) AcquireWriteConnection

func (_m *DB) AcquireWriteConnection() (db.WriteConnection, error)

AcquireWriteConnection provides a mock function with no fields

func (*DB) AffectingStatement

func (_m *DB) AffectingStatement(sql string, args ...interface{}) (*db.Result, error)

AffectingStatement provides a mock function with given fields: sql, args

func (*DB) AfterCommit

func (_m *DB) AfterCommit(callback func() error) error

AfterCommit provides a mock function with given fields: callback

func (*DB) AfterRollBack

func (_m *DB) AfterRollBack(callback func() error) error

AfterRollBack provides a mock function with given fields: callback

func (*DB) AfterRollback

func (_m *DB) AfterRollback(callback func() error) error

AfterRollback provides a mock function with given fields: callback

func (*DB) AllowQueryDurationHandlersToRunAgain

func (_m *DB) AllowQueryDurationHandlersToRunAgain()

AllowQueryDurationHandlersToRunAgain provides a mock function with no fields

func (*DB) BeforeExecuting

func (_m *DB) BeforeExecuting(callback func(context.Context, string, []interface{}) error)

BeforeExecuting provides a mock function with given fields: callback

func (*DB) BeforeStartingTransaction

func (_m *DB) BeforeStartingTransaction(callback func(db.Tx) error)

BeforeStartingTransaction provides a mock function with given fields: callback

func (*DB) BeginTransaction

func (_m *DB) BeginTransaction() (db.Tx, error)

BeginTransaction provides a mock function with no fields

func (*DB) Commit

func (_m *DB) Commit() error

Commit provides a mock function with no fields

func (*DB) Connection

func (_m *DB) Connection(name string) db.DB

Connection provides a mock function with given fields: name

func (*DB) Delete

func (_m *DB) Delete(sql string, args ...interface{}) (*db.Result, error)

Delete provides a mock function with given fields: sql, args

func (*DB) DisableQueryLog

func (_m *DB) DisableQueryLog()

DisableQueryLog provides a mock function with no fields

func (*DB) Disconnect

func (_m *DB) Disconnect(connection ...string) error

Disconnect provides a mock function with given fields: connection

func (*DB) DriverName

func (_m *DB) DriverName() string

DriverName provides a mock function with no fields

func (*DB) EXPECT

func (_m *DB) EXPECT() *DB_Expecter

func (*DB) EnableQueryLog

func (_m *DB) EnableQueryLog()

EnableQueryLog provides a mock function with no fields

func (*DB) Escape

func (_m *DB) Escape(value interface{}, binary ...bool) (string, error)

Escape provides a mock function with given fields: value, binary

func (*DB) FlushQueryLog

func (_m *DB) FlushQueryLog()

FlushQueryLog provides a mock function with no fields

func (*DB) ForgetRecordModificationState

func (_m *DB) ForgetRecordModificationState()

ForgetRecordModificationState provides a mock function with no fields

func (*DB) GetQueryLog

func (_m *DB) GetQueryLog() []db.QueryExecuted

GetQueryLog provides a mock function with no fields

func (*DB) HasModifiedRecords

func (_m *DB) HasModifiedRecords() bool

HasModifiedRecords provides a mock function with no fields

func (*DB) Insert

func (_m *DB) Insert(sql string, args ...interface{}) (*db.Result, error)

Insert provides a mock function with given fields: sql, args

func (*DB) Listen

func (_m *DB) Listen(callback func(db.QueryExecuted))

Listen provides a mock function with given fields: callback

func (*DB) Name

func (_m *DB) Name() string

Name provides a mock function with no fields

func (*DB) Pretend

func (_m *DB) Pretend(callback func(db.DB) error) ([]db.QueryExecuted, error)

Pretend provides a mock function with given fields: callback

func (*DB) Purge

func (_m *DB) Purge(connection ...string) error

Purge provides a mock function with given fields: connection

func (*DB) Query

func (_m *DB) Query() db.Query

Query provides a mock function with no fields

func (*DB) Reconnect

func (_m *DB) Reconnect(connection ...string) (db.DB, error)

Reconnect provides a mock function with given fields: connection

func (*DB) RecordsHaveBeenModified

func (_m *DB) RecordsHaveBeenModified(modified ...bool)

RecordsHaveBeenModified provides a mock function with given fields: modified

func (*DB) ResetTotalQueryDuration

func (_m *DB) ResetTotalQueryDuration()

ResetTotalQueryDuration provides a mock function with no fields

func (*DB) Rollback

func (_m *DB) Rollback() error

Rollback provides a mock function with no fields

func (*DB) RollbackTo

func (_m *DB) RollbackTo(level int) error

RollbackTo provides a mock function with given fields: level

func (*DB) Scalar

func (_m *DB) Scalar(sql string, args ...interface{}) (interface{}, error)

Scalar provides a mock function with given fields: sql, args

func (*DB) Select

func (_m *DB) Select(dest interface{}, sql string, args ...interface{}) error

Select provides a mock function with given fields: dest, sql, args

func (*DB) SelectFromWriteConnection

func (_m *DB) SelectFromWriteConnection(dest interface{}, sql string, args ...interface{}) error

SelectFromWriteConnection provides a mock function with given fields: dest, sql, args

func (*DB) SelectOne

func (_m *DB) SelectOne(dest interface{}, sql string, args ...interface{}) error

SelectOne provides a mock function with given fields: dest, sql, args

func (*DB) SelectResultSets

func (_m *DB) SelectResultSets(sql string, args ...interface{}) ([][]map[string]interface{}, error)

SelectResultSets provides a mock function with given fields: sql, args

func (*DB) ServerVersion

func (_m *DB) ServerVersion() (string, error)

ServerVersion provides a mock function with no fields

func (*DB) Statement

func (_m *DB) Statement(sql string, args ...interface{}) error

Statement provides a mock function with given fields: sql, args

func (*DB) StatementContext

func (_m *DB) StatementContext(ctx context.Context, sql string, args ...interface{}) error

StatementContext provides a mock function with given fields: ctx, sql, args

func (*DB) Sticky

func (_m *DB) Sticky(enabled bool) db.DB

Sticky provides a mock function with given fields: enabled

func (*DB) Table

func (_m *DB) Table(name string) db.Query

Table provides a mock function with given fields: name

func (*DB) TotalQueryDuration

func (_m *DB) TotalQueryDuration() time.Duration

TotalQueryDuration provides a mock function with no fields

func (*DB) Transaction

func (_m *DB) Transaction(txFunc func(db.Tx) error, attempts ...int) error

Transaction provides a mock function with given fields: txFunc, attempts

func (*DB) TransactionLevel

func (_m *DB) TransactionLevel() int

TransactionLevel provides a mock function with no fields

func (*DB) Unprepared

func (_m *DB) Unprepared(sql string) error

Unprepared provides a mock function with given fields: sql

func (*DB) Update

func (_m *DB) Update(sql string, args ...interface{}) (*db.Result, error)

Update provides a mock function with given fields: sql, args

func (*DB) UseWriteConnectionWhenReading

func (_m *DB) UseWriteConnectionWhenReading(enabled bool) db.DB

UseWriteConnectionWhenReading provides a mock function with given fields: enabled

func (*DB) WhenQueryingForLongerThan

func (_m *DB) WhenQueryingForLongerThan(duration time.Duration, callback func(db.QueryExecuted))

WhenQueryingForLongerThan provides a mock function with given fields: duration, callback

func (*DB) WithContext

func (_m *DB) WithContext(ctx context.Context) db.DB

WithContext provides a mock function with given fields: ctx

func (*DB) WithWriteConnection

func (_m *DB) WithWriteConnection(callback func(db.Tx) error) error

WithWriteConnection provides a mock function with given fields: callback

type DB_AcquireWriteConnection_Call

type DB_AcquireWriteConnection_Call struct {
	*mock.Call
}

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

func (*DB_AcquireWriteConnection_Call) Return

func (*DB_AcquireWriteConnection_Call) Run

func (*DB_AcquireWriteConnection_Call) RunAndReturn

type DB_AffectingStatement_Call

type DB_AffectingStatement_Call struct {
	*mock.Call
}

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

func (*DB_AffectingStatement_Call) Return

func (*DB_AffectingStatement_Call) Run

func (_c *DB_AffectingStatement_Call) Run(run func(sql string, args ...interface{})) *DB_AffectingStatement_Call

func (*DB_AffectingStatement_Call) RunAndReturn

func (_c *DB_AffectingStatement_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *DB_AffectingStatement_Call

type DB_AfterCommit_Call

type DB_AfterCommit_Call struct {
	*mock.Call
}

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

func (*DB_AfterCommit_Call) Return

func (*DB_AfterCommit_Call) Run

func (_c *DB_AfterCommit_Call) Run(run func(callback func() error)) *DB_AfterCommit_Call

func (*DB_AfterCommit_Call) RunAndReturn

func (_c *DB_AfterCommit_Call) RunAndReturn(run func(func() error) error) *DB_AfterCommit_Call

type DB_AfterRollBack_Call

type DB_AfterRollBack_Call struct {
	*mock.Call
}

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

func (*DB_AfterRollBack_Call) Return

func (*DB_AfterRollBack_Call) Run

func (_c *DB_AfterRollBack_Call) Run(run func(callback func() error)) *DB_AfterRollBack_Call

func (*DB_AfterRollBack_Call) RunAndReturn

func (_c *DB_AfterRollBack_Call) RunAndReturn(run func(func() error) error) *DB_AfterRollBack_Call

type DB_AfterRollback_Call

type DB_AfterRollback_Call struct {
	*mock.Call
}

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

func (*DB_AfterRollback_Call) Return

func (*DB_AfterRollback_Call) Run

func (_c *DB_AfterRollback_Call) Run(run func(callback func() error)) *DB_AfterRollback_Call

func (*DB_AfterRollback_Call) RunAndReturn

func (_c *DB_AfterRollback_Call) RunAndReturn(run func(func() error) error) *DB_AfterRollback_Call

type DB_AllowQueryDurationHandlersToRunAgain_Call

type DB_AllowQueryDurationHandlersToRunAgain_Call struct {
	*mock.Call
}

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

func (*DB_AllowQueryDurationHandlersToRunAgain_Call) Return

func (*DB_AllowQueryDurationHandlersToRunAgain_Call) Run

func (*DB_AllowQueryDurationHandlersToRunAgain_Call) RunAndReturn

type DB_BeforeExecuting_Call

type DB_BeforeExecuting_Call struct {
	*mock.Call
}

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

func (*DB_BeforeExecuting_Call) Return

func (*DB_BeforeExecuting_Call) Run

func (_c *DB_BeforeExecuting_Call) Run(run func(callback func(context.Context, string, []interface{}) error)) *DB_BeforeExecuting_Call

func (*DB_BeforeExecuting_Call) RunAndReturn

func (_c *DB_BeforeExecuting_Call) RunAndReturn(run func(func(context.Context, string, []interface{}) error)) *DB_BeforeExecuting_Call

type DB_BeforeStartingTransaction_Call

type DB_BeforeStartingTransaction_Call struct {
	*mock.Call
}

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

func (*DB_BeforeStartingTransaction_Call) Return

func (*DB_BeforeStartingTransaction_Call) Run

func (*DB_BeforeStartingTransaction_Call) RunAndReturn

type DB_BeginTransaction_Call

type DB_BeginTransaction_Call struct {
	*mock.Call
}

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

func (*DB_BeginTransaction_Call) Return

func (*DB_BeginTransaction_Call) Run

func (*DB_BeginTransaction_Call) RunAndReturn

func (_c *DB_BeginTransaction_Call) RunAndReturn(run func() (db.Tx, error)) *DB_BeginTransaction_Call

type DB_Commit_Call

type DB_Commit_Call struct {
	*mock.Call
}

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

func (*DB_Commit_Call) Return

func (_c *DB_Commit_Call) Return(_a0 error) *DB_Commit_Call

func (*DB_Commit_Call) Run

func (_c *DB_Commit_Call) Run(run func()) *DB_Commit_Call

func (*DB_Commit_Call) RunAndReturn

func (_c *DB_Commit_Call) RunAndReturn(run func() error) *DB_Commit_Call

type DB_Connection_Call

type DB_Connection_Call struct {
	*mock.Call
}

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

func (*DB_Connection_Call) Return

func (_c *DB_Connection_Call) Return(_a0 db.DB) *DB_Connection_Call

func (*DB_Connection_Call) Run

func (_c *DB_Connection_Call) Run(run func(name string)) *DB_Connection_Call

func (*DB_Connection_Call) RunAndReturn

func (_c *DB_Connection_Call) RunAndReturn(run func(string) db.DB) *DB_Connection_Call

type DB_Delete_Call

type DB_Delete_Call struct {
	*mock.Call
}

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

func (*DB_Delete_Call) Return

func (_c *DB_Delete_Call) Return(_a0 *db.Result, _a1 error) *DB_Delete_Call

func (*DB_Delete_Call) Run

func (_c *DB_Delete_Call) Run(run func(sql string, args ...interface{})) *DB_Delete_Call

func (*DB_Delete_Call) RunAndReturn

func (_c *DB_Delete_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *DB_Delete_Call

type DB_DisableQueryLog_Call

type DB_DisableQueryLog_Call struct {
	*mock.Call
}

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

func (*DB_DisableQueryLog_Call) Return

func (*DB_DisableQueryLog_Call) Run

func (_c *DB_DisableQueryLog_Call) Run(run func()) *DB_DisableQueryLog_Call

func (*DB_DisableQueryLog_Call) RunAndReturn

func (_c *DB_DisableQueryLog_Call) RunAndReturn(run func()) *DB_DisableQueryLog_Call

type DB_Disconnect_Call

type DB_Disconnect_Call struct {
	*mock.Call
}

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

func (*DB_Disconnect_Call) Return

func (_c *DB_Disconnect_Call) Return(_a0 error) *DB_Disconnect_Call

func (*DB_Disconnect_Call) Run

func (_c *DB_Disconnect_Call) Run(run func(connection ...string)) *DB_Disconnect_Call

func (*DB_Disconnect_Call) RunAndReturn

func (_c *DB_Disconnect_Call) RunAndReturn(run func(...string) error) *DB_Disconnect_Call

type DB_DriverName_Call

type DB_DriverName_Call struct {
	*mock.Call
}

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

func (*DB_DriverName_Call) Return

func (_c *DB_DriverName_Call) Return(_a0 string) *DB_DriverName_Call

func (*DB_DriverName_Call) Run

func (_c *DB_DriverName_Call) Run(run func()) *DB_DriverName_Call

func (*DB_DriverName_Call) RunAndReturn

func (_c *DB_DriverName_Call) RunAndReturn(run func() string) *DB_DriverName_Call

type DB_EnableQueryLog_Call

type DB_EnableQueryLog_Call struct {
	*mock.Call
}

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

func (*DB_EnableQueryLog_Call) Return

func (*DB_EnableQueryLog_Call) Run

func (_c *DB_EnableQueryLog_Call) Run(run func()) *DB_EnableQueryLog_Call

func (*DB_EnableQueryLog_Call) RunAndReturn

func (_c *DB_EnableQueryLog_Call) RunAndReturn(run func()) *DB_EnableQueryLog_Call

type DB_Escape_Call

type DB_Escape_Call struct {
	*mock.Call
}

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

func (*DB_Escape_Call) Return

func (_c *DB_Escape_Call) Return(_a0 string, _a1 error) *DB_Escape_Call

func (*DB_Escape_Call) Run

func (_c *DB_Escape_Call) Run(run func(value interface{}, binary ...bool)) *DB_Escape_Call

func (*DB_Escape_Call) RunAndReturn

func (_c *DB_Escape_Call) RunAndReturn(run func(interface{}, ...bool) (string, error)) *DB_Escape_Call

type DB_Expecter

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

func (*DB_Expecter) AcquireWriteConnection

func (_e *DB_Expecter) AcquireWriteConnection() *DB_AcquireWriteConnection_Call

AcquireWriteConnection is a helper method to define mock.On call

func (*DB_Expecter) AffectingStatement

func (_e *DB_Expecter) AffectingStatement(sql interface{}, args ...interface{}) *DB_AffectingStatement_Call

AffectingStatement is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*DB_Expecter) AfterCommit

func (_e *DB_Expecter) AfterCommit(callback interface{}) *DB_AfterCommit_Call

AfterCommit is a helper method to define mock.On call

  • callback func() error

func (*DB_Expecter) AfterRollBack

func (_e *DB_Expecter) AfterRollBack(callback interface{}) *DB_AfterRollBack_Call

AfterRollBack is a helper method to define mock.On call

  • callback func() error

func (*DB_Expecter) AfterRollback

func (_e *DB_Expecter) AfterRollback(callback interface{}) *DB_AfterRollback_Call

AfterRollback is a helper method to define mock.On call

  • callback func() error

func (*DB_Expecter) AllowQueryDurationHandlersToRunAgain

func (_e *DB_Expecter) AllowQueryDurationHandlersToRunAgain() *DB_AllowQueryDurationHandlersToRunAgain_Call

AllowQueryDurationHandlersToRunAgain is a helper method to define mock.On call

func (*DB_Expecter) BeforeExecuting

func (_e *DB_Expecter) BeforeExecuting(callback interface{}) *DB_BeforeExecuting_Call

BeforeExecuting is a helper method to define mock.On call

  • callback func(context.Context , string , []interface{}) error

func (*DB_Expecter) BeforeStartingTransaction

func (_e *DB_Expecter) BeforeStartingTransaction(callback interface{}) *DB_BeforeStartingTransaction_Call

BeforeStartingTransaction is a helper method to define mock.On call

  • callback func(db.Tx) error

func (*DB_Expecter) BeginTransaction

func (_e *DB_Expecter) BeginTransaction() *DB_BeginTransaction_Call

BeginTransaction is a helper method to define mock.On call

func (*DB_Expecter) Commit

func (_e *DB_Expecter) Commit() *DB_Commit_Call

Commit is a helper method to define mock.On call

func (*DB_Expecter) Connection

func (_e *DB_Expecter) Connection(name interface{}) *DB_Connection_Call

Connection is a helper method to define mock.On call

  • name string

func (*DB_Expecter) Delete

func (_e *DB_Expecter) Delete(sql interface{}, args ...interface{}) *DB_Delete_Call

Delete is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*DB_Expecter) DisableQueryLog

func (_e *DB_Expecter) DisableQueryLog() *DB_DisableQueryLog_Call

DisableQueryLog is a helper method to define mock.On call

func (*DB_Expecter) Disconnect

func (_e *DB_Expecter) Disconnect(connection ...interface{}) *DB_Disconnect_Call

Disconnect is a helper method to define mock.On call

  • connection ...string

func (*DB_Expecter) DriverName

func (_e *DB_Expecter) DriverName() *DB_DriverName_Call

DriverName is a helper method to define mock.On call

func (*DB_Expecter) EnableQueryLog

func (_e *DB_Expecter) EnableQueryLog() *DB_EnableQueryLog_Call

EnableQueryLog is a helper method to define mock.On call

func (*DB_Expecter) Escape

func (_e *DB_Expecter) Escape(value interface{}, binary ...interface{}) *DB_Escape_Call

Escape is a helper method to define mock.On call

  • value interface{}
  • binary ...bool

func (*DB_Expecter) FlushQueryLog

func (_e *DB_Expecter) FlushQueryLog() *DB_FlushQueryLog_Call

FlushQueryLog is a helper method to define mock.On call

func (*DB_Expecter) ForgetRecordModificationState

func (_e *DB_Expecter) ForgetRecordModificationState() *DB_ForgetRecordModificationState_Call

ForgetRecordModificationState is a helper method to define mock.On call

func (*DB_Expecter) GetQueryLog

func (_e *DB_Expecter) GetQueryLog() *DB_GetQueryLog_Call

GetQueryLog is a helper method to define mock.On call

func (*DB_Expecter) HasModifiedRecords

func (_e *DB_Expecter) HasModifiedRecords() *DB_HasModifiedRecords_Call

HasModifiedRecords is a helper method to define mock.On call

func (*DB_Expecter) Insert

func (_e *DB_Expecter) Insert(sql interface{}, args ...interface{}) *DB_Insert_Call

Insert is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*DB_Expecter) Listen

func (_e *DB_Expecter) Listen(callback interface{}) *DB_Listen_Call

Listen is a helper method to define mock.On call

  • callback func(db.QueryExecuted)

func (*DB_Expecter) Name

func (_e *DB_Expecter) Name() *DB_Name_Call

Name is a helper method to define mock.On call

func (*DB_Expecter) Pretend

func (_e *DB_Expecter) Pretend(callback interface{}) *DB_Pretend_Call

Pretend is a helper method to define mock.On call

  • callback func(db.DB) error

func (*DB_Expecter) Purge

func (_e *DB_Expecter) Purge(connection ...interface{}) *DB_Purge_Call

Purge is a helper method to define mock.On call

  • connection ...string

func (*DB_Expecter) Query

func (_e *DB_Expecter) Query() *DB_Query_Call

Query is a helper method to define mock.On call

func (*DB_Expecter) Reconnect

func (_e *DB_Expecter) Reconnect(connection ...interface{}) *DB_Reconnect_Call

Reconnect is a helper method to define mock.On call

  • connection ...string

func (*DB_Expecter) RecordsHaveBeenModified

func (_e *DB_Expecter) RecordsHaveBeenModified(modified ...interface{}) *DB_RecordsHaveBeenModified_Call

RecordsHaveBeenModified is a helper method to define mock.On call

  • modified ...bool

func (*DB_Expecter) ResetTotalQueryDuration

func (_e *DB_Expecter) ResetTotalQueryDuration() *DB_ResetTotalQueryDuration_Call

ResetTotalQueryDuration is a helper method to define mock.On call

func (*DB_Expecter) Rollback

func (_e *DB_Expecter) Rollback() *DB_Rollback_Call

Rollback is a helper method to define mock.On call

func (*DB_Expecter) RollbackTo

func (_e *DB_Expecter) RollbackTo(level interface{}) *DB_RollbackTo_Call

RollbackTo is a helper method to define mock.On call

  • level int

func (*DB_Expecter) Scalar

func (_e *DB_Expecter) Scalar(sql interface{}, args ...interface{}) *DB_Scalar_Call

Scalar is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*DB_Expecter) Select

func (_e *DB_Expecter) Select(dest interface{}, sql interface{}, args ...interface{}) *DB_Select_Call

Select is a helper method to define mock.On call

  • dest interface{}
  • sql string
  • args ...interface{}

func (*DB_Expecter) SelectFromWriteConnection

func (_e *DB_Expecter) SelectFromWriteConnection(dest interface{}, sql interface{}, args ...interface{}) *DB_SelectFromWriteConnection_Call

SelectFromWriteConnection is a helper method to define mock.On call

  • dest interface{}
  • sql string
  • args ...interface{}

func (*DB_Expecter) SelectOne

func (_e *DB_Expecter) SelectOne(dest interface{}, sql interface{}, args ...interface{}) *DB_SelectOne_Call

SelectOne is a helper method to define mock.On call

  • dest interface{}
  • sql string
  • args ...interface{}

func (*DB_Expecter) SelectResultSets

func (_e *DB_Expecter) SelectResultSets(sql interface{}, args ...interface{}) *DB_SelectResultSets_Call

SelectResultSets is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*DB_Expecter) ServerVersion

func (_e *DB_Expecter) ServerVersion() *DB_ServerVersion_Call

ServerVersion is a helper method to define mock.On call

func (*DB_Expecter) Statement

func (_e *DB_Expecter) Statement(sql interface{}, args ...interface{}) *DB_Statement_Call

Statement is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*DB_Expecter) StatementContext

func (_e *DB_Expecter) StatementContext(ctx interface{}, sql interface{}, args ...interface{}) *DB_StatementContext_Call

StatementContext is a helper method to define mock.On call

  • ctx context.Context
  • sql string
  • args ...interface{}

func (*DB_Expecter) Sticky

func (_e *DB_Expecter) Sticky(enabled interface{}) *DB_Sticky_Call

Sticky is a helper method to define mock.On call

  • enabled bool

func (*DB_Expecter) Table

func (_e *DB_Expecter) Table(name interface{}) *DB_Table_Call

Table is a helper method to define mock.On call

  • name string

func (*DB_Expecter) TotalQueryDuration

func (_e *DB_Expecter) TotalQueryDuration() *DB_TotalQueryDuration_Call

TotalQueryDuration is a helper method to define mock.On call

func (*DB_Expecter) Transaction

func (_e *DB_Expecter) Transaction(txFunc interface{}, attempts ...interface{}) *DB_Transaction_Call

Transaction is a helper method to define mock.On call

  • txFunc func(db.Tx) error
  • attempts ...int

func (*DB_Expecter) TransactionLevel

func (_e *DB_Expecter) TransactionLevel() *DB_TransactionLevel_Call

TransactionLevel is a helper method to define mock.On call

func (*DB_Expecter) Unprepared

func (_e *DB_Expecter) Unprepared(sql interface{}) *DB_Unprepared_Call

Unprepared is a helper method to define mock.On call

  • sql string

func (*DB_Expecter) Update

func (_e *DB_Expecter) Update(sql interface{}, args ...interface{}) *DB_Update_Call

Update is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*DB_Expecter) UseWriteConnectionWhenReading

func (_e *DB_Expecter) UseWriteConnectionWhenReading(enabled interface{}) *DB_UseWriteConnectionWhenReading_Call

UseWriteConnectionWhenReading is a helper method to define mock.On call

  • enabled bool

func (*DB_Expecter) WhenQueryingForLongerThan

func (_e *DB_Expecter) WhenQueryingForLongerThan(duration interface{}, callback interface{}) *DB_WhenQueryingForLongerThan_Call

WhenQueryingForLongerThan is a helper method to define mock.On call

  • duration time.Duration
  • callback func(db.QueryExecuted)

func (*DB_Expecter) WithContext

func (_e *DB_Expecter) WithContext(ctx interface{}) *DB_WithContext_Call

WithContext is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) WithWriteConnection

func (_e *DB_Expecter) WithWriteConnection(callback interface{}) *DB_WithWriteConnection_Call

WithWriteConnection is a helper method to define mock.On call

  • callback func(db.Tx) error

type DB_FlushQueryLog_Call

type DB_FlushQueryLog_Call struct {
	*mock.Call
}

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

func (*DB_FlushQueryLog_Call) Return

func (*DB_FlushQueryLog_Call) Run

func (_c *DB_FlushQueryLog_Call) Run(run func()) *DB_FlushQueryLog_Call

func (*DB_FlushQueryLog_Call) RunAndReturn

func (_c *DB_FlushQueryLog_Call) RunAndReturn(run func()) *DB_FlushQueryLog_Call

type DB_ForgetRecordModificationState_Call

type DB_ForgetRecordModificationState_Call struct {
	*mock.Call
}

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

func (*DB_ForgetRecordModificationState_Call) Return

func (*DB_ForgetRecordModificationState_Call) Run

func (*DB_ForgetRecordModificationState_Call) RunAndReturn

type DB_GetQueryLog_Call

type DB_GetQueryLog_Call struct {
	*mock.Call
}

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

func (*DB_GetQueryLog_Call) Return

func (*DB_GetQueryLog_Call) Run

func (_c *DB_GetQueryLog_Call) Run(run func()) *DB_GetQueryLog_Call

func (*DB_GetQueryLog_Call) RunAndReturn

func (_c *DB_GetQueryLog_Call) RunAndReturn(run func() []db.QueryExecuted) *DB_GetQueryLog_Call

type DB_HasModifiedRecords_Call

type DB_HasModifiedRecords_Call struct {
	*mock.Call
}

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

func (*DB_HasModifiedRecords_Call) Return

func (*DB_HasModifiedRecords_Call) Run

func (*DB_HasModifiedRecords_Call) RunAndReturn

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

type DB_Insert_Call

type DB_Insert_Call struct {
	*mock.Call
}

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

func (*DB_Insert_Call) Return

func (_c *DB_Insert_Call) Return(_a0 *db.Result, _a1 error) *DB_Insert_Call

func (*DB_Insert_Call) Run

func (_c *DB_Insert_Call) Run(run func(sql string, args ...interface{})) *DB_Insert_Call

func (*DB_Insert_Call) RunAndReturn

func (_c *DB_Insert_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *DB_Insert_Call

type DB_Listen_Call

type DB_Listen_Call struct {
	*mock.Call
}

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

func (*DB_Listen_Call) Return

func (_c *DB_Listen_Call) Return() *DB_Listen_Call

func (*DB_Listen_Call) Run

func (_c *DB_Listen_Call) Run(run func(callback func(db.QueryExecuted))) *DB_Listen_Call

func (*DB_Listen_Call) RunAndReturn

func (_c *DB_Listen_Call) RunAndReturn(run func(func(db.QueryExecuted))) *DB_Listen_Call

type DB_Name_Call

type DB_Name_Call struct {
	*mock.Call
}

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

func (*DB_Name_Call) Return

func (_c *DB_Name_Call) Return(_a0 string) *DB_Name_Call

func (*DB_Name_Call) Run

func (_c *DB_Name_Call) Run(run func()) *DB_Name_Call

func (*DB_Name_Call) RunAndReturn

func (_c *DB_Name_Call) RunAndReturn(run func() string) *DB_Name_Call

type DB_Pretend_Call

type DB_Pretend_Call struct {
	*mock.Call
}

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

func (*DB_Pretend_Call) Return

func (_c *DB_Pretend_Call) Return(_a0 []db.QueryExecuted, _a1 error) *DB_Pretend_Call

func (*DB_Pretend_Call) Run

func (_c *DB_Pretend_Call) Run(run func(callback func(db.DB) error)) *DB_Pretend_Call

func (*DB_Pretend_Call) RunAndReturn

func (_c *DB_Pretend_Call) RunAndReturn(run func(func(db.DB) error) ([]db.QueryExecuted, error)) *DB_Pretend_Call

type DB_Purge_Call

type DB_Purge_Call struct {
	*mock.Call
}

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

func (*DB_Purge_Call) Return

func (_c *DB_Purge_Call) Return(_a0 error) *DB_Purge_Call

func (*DB_Purge_Call) Run

func (_c *DB_Purge_Call) Run(run func(connection ...string)) *DB_Purge_Call

func (*DB_Purge_Call) RunAndReturn

func (_c *DB_Purge_Call) RunAndReturn(run func(...string) error) *DB_Purge_Call

type DB_Query_Call

type DB_Query_Call struct {
	*mock.Call
}

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

func (*DB_Query_Call) Return

func (_c *DB_Query_Call) Return(_a0 db.Query) *DB_Query_Call

func (*DB_Query_Call) Run

func (_c *DB_Query_Call) Run(run func()) *DB_Query_Call

func (*DB_Query_Call) RunAndReturn

func (_c *DB_Query_Call) RunAndReturn(run func() db.Query) *DB_Query_Call

type DB_Reconnect_Call

type DB_Reconnect_Call struct {
	*mock.Call
}

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

func (*DB_Reconnect_Call) Return

func (_c *DB_Reconnect_Call) Return(_a0 db.DB, _a1 error) *DB_Reconnect_Call

func (*DB_Reconnect_Call) Run

func (_c *DB_Reconnect_Call) Run(run func(connection ...string)) *DB_Reconnect_Call

func (*DB_Reconnect_Call) RunAndReturn

func (_c *DB_Reconnect_Call) RunAndReturn(run func(...string) (db.DB, error)) *DB_Reconnect_Call

type DB_RecordsHaveBeenModified_Call

type DB_RecordsHaveBeenModified_Call struct {
	*mock.Call
}

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

func (*DB_RecordsHaveBeenModified_Call) Return

func (*DB_RecordsHaveBeenModified_Call) Run

func (*DB_RecordsHaveBeenModified_Call) RunAndReturn

type DB_ResetTotalQueryDuration_Call

type DB_ResetTotalQueryDuration_Call struct {
	*mock.Call
}

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

func (*DB_ResetTotalQueryDuration_Call) Return

func (*DB_ResetTotalQueryDuration_Call) Run

func (*DB_ResetTotalQueryDuration_Call) RunAndReturn

type DB_RollbackTo_Call

type DB_RollbackTo_Call struct {
	*mock.Call
}

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

func (*DB_RollbackTo_Call) Return

func (_c *DB_RollbackTo_Call) Return(_a0 error) *DB_RollbackTo_Call

func (*DB_RollbackTo_Call) Run

func (_c *DB_RollbackTo_Call) Run(run func(level int)) *DB_RollbackTo_Call

func (*DB_RollbackTo_Call) RunAndReturn

func (_c *DB_RollbackTo_Call) RunAndReturn(run func(int) error) *DB_RollbackTo_Call

type DB_Rollback_Call

type DB_Rollback_Call struct {
	*mock.Call
}

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

func (*DB_Rollback_Call) Return

func (_c *DB_Rollback_Call) Return(_a0 error) *DB_Rollback_Call

func (*DB_Rollback_Call) Run

func (_c *DB_Rollback_Call) Run(run func()) *DB_Rollback_Call

func (*DB_Rollback_Call) RunAndReturn

func (_c *DB_Rollback_Call) RunAndReturn(run func() error) *DB_Rollback_Call

type DB_Scalar_Call

type DB_Scalar_Call struct {
	*mock.Call
}

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

func (*DB_Scalar_Call) Return

func (_c *DB_Scalar_Call) Return(_a0 interface{}, _a1 error) *DB_Scalar_Call

func (*DB_Scalar_Call) Run

func (_c *DB_Scalar_Call) Run(run func(sql string, args ...interface{})) *DB_Scalar_Call

func (*DB_Scalar_Call) RunAndReturn

func (_c *DB_Scalar_Call) RunAndReturn(run func(string, ...interface{}) (interface{}, error)) *DB_Scalar_Call

type DB_SelectFromWriteConnection_Call

type DB_SelectFromWriteConnection_Call struct {
	*mock.Call
}

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

func (*DB_SelectFromWriteConnection_Call) Return

func (*DB_SelectFromWriteConnection_Call) Run

func (_c *DB_SelectFromWriteConnection_Call) Run(run func(dest interface{}, sql string, args ...interface{})) *DB_SelectFromWriteConnection_Call

func (*DB_SelectFromWriteConnection_Call) RunAndReturn

func (_c *DB_SelectFromWriteConnection_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *DB_SelectFromWriteConnection_Call

type DB_SelectOne_Call

type DB_SelectOne_Call struct {
	*mock.Call
}

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

func (*DB_SelectOne_Call) Return

func (_c *DB_SelectOne_Call) Return(_a0 error) *DB_SelectOne_Call

func (*DB_SelectOne_Call) Run

func (_c *DB_SelectOne_Call) Run(run func(dest interface{}, sql string, args ...interface{})) *DB_SelectOne_Call

func (*DB_SelectOne_Call) RunAndReturn

func (_c *DB_SelectOne_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *DB_SelectOne_Call

type DB_SelectResultSets_Call

type DB_SelectResultSets_Call struct {
	*mock.Call
}

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

func (*DB_SelectResultSets_Call) Return

func (_c *DB_SelectResultSets_Call) Return(_a0 [][]map[string]interface{}, _a1 error) *DB_SelectResultSets_Call

func (*DB_SelectResultSets_Call) Run

func (_c *DB_SelectResultSets_Call) Run(run func(sql string, args ...interface{})) *DB_SelectResultSets_Call

func (*DB_SelectResultSets_Call) RunAndReturn

func (_c *DB_SelectResultSets_Call) RunAndReturn(run func(string, ...interface{}) ([][]map[string]interface{}, error)) *DB_SelectResultSets_Call

type DB_Select_Call

type DB_Select_Call struct {
	*mock.Call
}

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

func (*DB_Select_Call) Return

func (_c *DB_Select_Call) Return(_a0 error) *DB_Select_Call

func (*DB_Select_Call) Run

func (_c *DB_Select_Call) Run(run func(dest interface{}, sql string, args ...interface{})) *DB_Select_Call

func (*DB_Select_Call) RunAndReturn

func (_c *DB_Select_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *DB_Select_Call

type DB_ServerVersion_Call

type DB_ServerVersion_Call struct {
	*mock.Call
}

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

func (*DB_ServerVersion_Call) Return

func (*DB_ServerVersion_Call) Run

func (_c *DB_ServerVersion_Call) Run(run func()) *DB_ServerVersion_Call

func (*DB_ServerVersion_Call) RunAndReturn

func (_c *DB_ServerVersion_Call) RunAndReturn(run func() (string, error)) *DB_ServerVersion_Call

type DB_StatementContext_Call

type DB_StatementContext_Call struct {
	*mock.Call
}

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

func (*DB_StatementContext_Call) Return

func (*DB_StatementContext_Call) Run

func (_c *DB_StatementContext_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *DB_StatementContext_Call

func (*DB_StatementContext_Call) RunAndReturn

func (_c *DB_StatementContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) error) *DB_StatementContext_Call

type DB_Statement_Call

type DB_Statement_Call struct {
	*mock.Call
}

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

func (*DB_Statement_Call) Return

func (_c *DB_Statement_Call) Return(_a0 error) *DB_Statement_Call

func (*DB_Statement_Call) Run

func (_c *DB_Statement_Call) Run(run func(sql string, args ...interface{})) *DB_Statement_Call

func (*DB_Statement_Call) RunAndReturn

func (_c *DB_Statement_Call) RunAndReturn(run func(string, ...interface{}) error) *DB_Statement_Call

type DB_Sticky_Call

type DB_Sticky_Call struct {
	*mock.Call
}

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

func (*DB_Sticky_Call) Return

func (_c *DB_Sticky_Call) Return(_a0 db.DB) *DB_Sticky_Call

func (*DB_Sticky_Call) Run

func (_c *DB_Sticky_Call) Run(run func(enabled bool)) *DB_Sticky_Call

func (*DB_Sticky_Call) RunAndReturn

func (_c *DB_Sticky_Call) RunAndReturn(run func(bool) db.DB) *DB_Sticky_Call

type DB_Table_Call

type DB_Table_Call struct {
	*mock.Call
}

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

func (*DB_Table_Call) Return

func (_c *DB_Table_Call) Return(_a0 db.Query) *DB_Table_Call

func (*DB_Table_Call) Run

func (_c *DB_Table_Call) Run(run func(name string)) *DB_Table_Call

func (*DB_Table_Call) RunAndReturn

func (_c *DB_Table_Call) RunAndReturn(run func(string) db.Query) *DB_Table_Call

type DB_TotalQueryDuration_Call

type DB_TotalQueryDuration_Call struct {
	*mock.Call
}

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

func (*DB_TotalQueryDuration_Call) Return

func (*DB_TotalQueryDuration_Call) Run

func (*DB_TotalQueryDuration_Call) RunAndReturn

type DB_TransactionLevel_Call

type DB_TransactionLevel_Call struct {
	*mock.Call
}

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

func (*DB_TransactionLevel_Call) Return

func (*DB_TransactionLevel_Call) Run

func (*DB_TransactionLevel_Call) RunAndReturn

func (_c *DB_TransactionLevel_Call) RunAndReturn(run func() int) *DB_TransactionLevel_Call

type DB_Transaction_Call

type DB_Transaction_Call struct {
	*mock.Call
}

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

func (*DB_Transaction_Call) Return

func (*DB_Transaction_Call) Run

func (_c *DB_Transaction_Call) Run(run func(txFunc func(db.Tx) error, attempts ...int)) *DB_Transaction_Call

func (*DB_Transaction_Call) RunAndReturn

func (_c *DB_Transaction_Call) RunAndReturn(run func(func(db.Tx) error, ...int) error) *DB_Transaction_Call

type DB_Unprepared_Call

type DB_Unprepared_Call struct {
	*mock.Call
}

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

func (*DB_Unprepared_Call) Return

func (_c *DB_Unprepared_Call) Return(_a0 error) *DB_Unprepared_Call

func (*DB_Unprepared_Call) Run

func (_c *DB_Unprepared_Call) Run(run func(sql string)) *DB_Unprepared_Call

func (*DB_Unprepared_Call) RunAndReturn

func (_c *DB_Unprepared_Call) RunAndReturn(run func(string) error) *DB_Unprepared_Call

type DB_Update_Call

type DB_Update_Call struct {
	*mock.Call
}

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

func (*DB_Update_Call) Return

func (_c *DB_Update_Call) Return(_a0 *db.Result, _a1 error) *DB_Update_Call

func (*DB_Update_Call) Run

func (_c *DB_Update_Call) Run(run func(sql string, args ...interface{})) *DB_Update_Call

func (*DB_Update_Call) RunAndReturn

func (_c *DB_Update_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *DB_Update_Call

type DB_UseWriteConnectionWhenReading_Call

type DB_UseWriteConnectionWhenReading_Call struct {
	*mock.Call
}

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

func (*DB_UseWriteConnectionWhenReading_Call) Return

func (*DB_UseWriteConnectionWhenReading_Call) Run

func (*DB_UseWriteConnectionWhenReading_Call) RunAndReturn

type DB_WhenQueryingForLongerThan_Call

type DB_WhenQueryingForLongerThan_Call struct {
	*mock.Call
}

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

func (*DB_WhenQueryingForLongerThan_Call) Return

func (*DB_WhenQueryingForLongerThan_Call) Run

func (*DB_WhenQueryingForLongerThan_Call) RunAndReturn

type DB_WithContext_Call

type DB_WithContext_Call struct {
	*mock.Call
}

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

func (*DB_WithContext_Call) Return

func (_c *DB_WithContext_Call) Return(_a0 db.DB) *DB_WithContext_Call

func (*DB_WithContext_Call) Run

func (_c *DB_WithContext_Call) Run(run func(ctx context.Context)) *DB_WithContext_Call

func (*DB_WithContext_Call) RunAndReturn

func (_c *DB_WithContext_Call) RunAndReturn(run func(context.Context) db.DB) *DB_WithContext_Call

type DB_WithWriteConnection_Call

type DB_WithWriteConnection_Call struct {
	*mock.Call
}

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

func (*DB_WithWriteConnection_Call) Return

func (*DB_WithWriteConnection_Call) Run

func (_c *DB_WithWriteConnection_Call) Run(run func(callback func(db.Tx) error)) *DB_WithWriteConnection_Call

func (*DB_WithWriteConnection_Call) RunAndReturn

func (_c *DB_WithWriteConnection_Call) RunAndReturn(run func(func(db.Tx) error) error) *DB_WithWriteConnection_Call

type JoinClause

type JoinClause struct {
	mock.Mock
}

JoinClause is an autogenerated mock type for the JoinClause type

func NewJoinClause

func NewJoinClause(t interface {
	mock.TestingT
	Cleanup(func())
}) *JoinClause

NewJoinClause creates a new instance of JoinClause. 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 (*JoinClause) EXPECT

func (_m *JoinClause) EXPECT() *JoinClause_Expecter

func (*JoinClause) On

func (_m *JoinClause) On(first interface{}, args ...string) db.JoinClause

On provides a mock function with given fields: first, args

func (*JoinClause) OrOn

func (_m *JoinClause) OrOn(first interface{}, args ...string) db.JoinClause

OrOn provides a mock function with given fields: first, args

func (*JoinClause) OrWhere

func (_m *JoinClause) OrWhere(query interface{}, args ...interface{}) db.JoinClause

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

func (*JoinClause) OrWhereAfterToday

func (_m *JoinClause) OrWhereAfterToday(columns ...string) db.JoinClause

OrWhereAfterToday provides a mock function with given fields: columns

func (*JoinClause) OrWhereAll

func (_m *JoinClause) OrWhereAll(columns []string, args ...interface{}) db.JoinClause

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

func (*JoinClause) OrWhereAny

func (_m *JoinClause) OrWhereAny(columns []string, args ...interface{}) db.JoinClause

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

func (*JoinClause) OrWhereBeforeToday

func (_m *JoinClause) OrWhereBeforeToday(columns ...string) db.JoinClause

OrWhereBeforeToday provides a mock function with given fields: columns

func (*JoinClause) OrWhereBetween

func (_m *JoinClause) OrWhereBetween(column string, lower interface{}, upper interface{}) db.JoinClause

OrWhereBetween provides a mock function with given fields: column, lower, upper

func (*JoinClause) OrWhereBetweenColumns

func (_m *JoinClause) OrWhereBetweenColumns(column string, lower string, upper string) db.JoinClause

OrWhereBetweenColumns provides a mock function with given fields: column, lower, upper

func (*JoinClause) OrWhereColumn

func (_m *JoinClause) OrWhereColumn(column string, columns ...string) db.JoinClause

OrWhereColumn provides a mock function with given fields: column, columns

func (*JoinClause) OrWhereDate

func (_m *JoinClause) OrWhereDate(column string, args ...interface{}) db.JoinClause

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

func (*JoinClause) OrWhereDay

func (_m *JoinClause) OrWhereDay(column string, args ...interface{}) db.JoinClause

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

func (*JoinClause) OrWhereExists

func (_m *JoinClause) OrWhereExists(query interface{}) db.JoinClause

OrWhereExists provides a mock function with given fields: query

func (*JoinClause) OrWhereFullText

func (_m *JoinClause) OrWhereFullText(columns []string, value string, options ...string) db.JoinClause

OrWhereFullText provides a mock function with given fields: columns, value, options

func (*JoinClause) OrWhereFuture

func (_m *JoinClause) OrWhereFuture(columns ...string) db.JoinClause

OrWhereFuture provides a mock function with given fields: columns

func (*JoinClause) OrWhereIn

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

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

func (*JoinClause) OrWhereIntegerInRaw

func (_m *JoinClause) OrWhereIntegerInRaw(column string, values []interface{}) db.JoinClause

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

func (*JoinClause) OrWhereIntegerNotInRaw

func (_m *JoinClause) OrWhereIntegerNotInRaw(column string, values []interface{}) db.JoinClause

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

func (*JoinClause) OrWhereJsonDoesntOverlap

func (_m *JoinClause) OrWhereJsonDoesntOverlap(column string, value interface{}) db.JoinClause

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

func (*JoinClause) OrWhereJsonOverlaps

func (_m *JoinClause) OrWhereJsonOverlaps(column string, value interface{}) db.JoinClause

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

func (*JoinClause) OrWhereMonth

func (_m *JoinClause) OrWhereMonth(column string, args ...interface{}) db.JoinClause

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

func (*JoinClause) OrWhereNone

func (_m *JoinClause) OrWhereNone(columns []string, args ...interface{}) db.JoinClause

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

func (*JoinClause) OrWhereNot

func (_m *JoinClause) OrWhereNot(query interface{}, args ...interface{}) db.JoinClause

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

func (*JoinClause) OrWhereNotBetween

func (_m *JoinClause) OrWhereNotBetween(column string, lower interface{}, upper interface{}) db.JoinClause

OrWhereNotBetween provides a mock function with given fields: column, lower, upper

func (*JoinClause) OrWhereNotBetweenColumns

func (_m *JoinClause) OrWhereNotBetweenColumns(column string, lower string, upper string) db.JoinClause

OrWhereNotBetweenColumns provides a mock function with given fields: column, lower, upper

func (*JoinClause) OrWhereNotExists

func (_m *JoinClause) OrWhereNotExists(query interface{}) db.JoinClause

OrWhereNotExists provides a mock function with given fields: query

func (*JoinClause) OrWhereNotIn

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

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

func (*JoinClause) OrWhereNotNull

func (_m *JoinClause) OrWhereNotNull(column string) db.JoinClause

OrWhereNotNull provides a mock function with given fields: column

func (*JoinClause) OrWhereNowOrFuture

func (_m *JoinClause) OrWhereNowOrFuture(columns ...string) db.JoinClause

OrWhereNowOrFuture provides a mock function with given fields: columns

func (*JoinClause) OrWhereNowOrPast

func (_m *JoinClause) OrWhereNowOrPast(columns ...string) db.JoinClause

OrWhereNowOrPast provides a mock function with given fields: columns

func (*JoinClause) OrWhereNull

func (_m *JoinClause) OrWhereNull(column string) db.JoinClause

OrWhereNull provides a mock function with given fields: column

func (*JoinClause) OrWherePast

func (_m *JoinClause) OrWherePast(columns ...string) db.JoinClause

OrWherePast provides a mock function with given fields: columns

func (*JoinClause) OrWhereRaw

func (_m *JoinClause) OrWhereRaw(sql string, bindings []interface{}) db.JoinClause

OrWhereRaw provides a mock function with given fields: sql, bindings

func (*JoinClause) OrWhereRowValues

func (_m *JoinClause) OrWhereRowValues(columns []string, operator string, values []interface{}) db.JoinClause

OrWhereRowValues provides a mock function with given fields: columns, operator, values

func (*JoinClause) OrWhereTime

func (_m *JoinClause) OrWhereTime(column string, args ...interface{}) db.JoinClause

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

func (*JoinClause) OrWhereToday

func (_m *JoinClause) OrWhereToday(columns ...string) db.JoinClause

OrWhereToday provides a mock function with given fields: columns

func (*JoinClause) OrWhereTodayOrAfter

func (_m *JoinClause) OrWhereTodayOrAfter(columns ...string) db.JoinClause

OrWhereTodayOrAfter provides a mock function with given fields: columns

func (*JoinClause) OrWhereTodayOrBefore

func (_m *JoinClause) OrWhereTodayOrBefore(columns ...string) db.JoinClause

OrWhereTodayOrBefore provides a mock function with given fields: columns

func (*JoinClause) OrWhereValueBetween

func (_m *JoinClause) OrWhereValueBetween(value interface{}, lower string, upper string) db.JoinClause

OrWhereValueBetween provides a mock function with given fields: value, lower, upper

func (*JoinClause) OrWhereValueNotBetween

func (_m *JoinClause) OrWhereValueNotBetween(value interface{}, lower string, upper string) db.JoinClause

OrWhereValueNotBetween provides a mock function with given fields: value, lower, upper

func (*JoinClause) OrWhereYear

func (_m *JoinClause) OrWhereYear(column string, args ...interface{}) db.JoinClause

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

func (*JoinClause) Where

func (_m *JoinClause) Where(query interface{}, args ...interface{}) db.JoinClause

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

func (*JoinClause) WhereAfterToday

func (_m *JoinClause) WhereAfterToday(columns ...string) db.JoinClause

WhereAfterToday provides a mock function with given fields: columns

func (*JoinClause) WhereBeforeToday

func (_m *JoinClause) WhereBeforeToday(columns ...string) db.JoinClause

WhereBeforeToday provides a mock function with given fields: columns

func (*JoinClause) WhereBetween

func (_m *JoinClause) WhereBetween(column string, lower interface{}, upper interface{}) db.JoinClause

WhereBetween provides a mock function with given fields: column, lower, upper

func (*JoinClause) WhereBetweenColumns

func (_m *JoinClause) WhereBetweenColumns(column string, lower string, upper string) db.JoinClause

WhereBetweenColumns provides a mock function with given fields: column, lower, upper

func (*JoinClause) WhereColumn

func (_m *JoinClause) WhereColumn(column string, columns ...string) db.JoinClause

WhereColumn provides a mock function with given fields: column, columns

func (*JoinClause) WhereDate

func (_m *JoinClause) WhereDate(column string, args ...interface{}) db.JoinClause

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

func (*JoinClause) WhereDay

func (_m *JoinClause) WhereDay(column string, args ...interface{}) db.JoinClause

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

func (*JoinClause) WhereFullText

func (_m *JoinClause) WhereFullText(columns []string, value string, options ...string) db.JoinClause

WhereFullText provides a mock function with given fields: columns, value, options

func (*JoinClause) WhereFuture

func (_m *JoinClause) WhereFuture(columns ...string) db.JoinClause

WhereFuture provides a mock function with given fields: columns

func (*JoinClause) WhereIn

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

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

func (*JoinClause) WhereIntegerInRaw

func (_m *JoinClause) WhereIntegerInRaw(column string, values []interface{}) db.JoinClause

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

func (*JoinClause) WhereIntegerNotInRaw

func (_m *JoinClause) WhereIntegerNotInRaw(column string, values []interface{}) db.JoinClause

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

func (*JoinClause) WhereJsonDoesntOverlap

func (_m *JoinClause) WhereJsonDoesntOverlap(column string, value interface{}) db.JoinClause

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

func (*JoinClause) WhereJsonOverlaps

func (_m *JoinClause) WhereJsonOverlaps(column string, value interface{}) db.JoinClause

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

func (*JoinClause) WhereMonth

func (_m *JoinClause) WhereMonth(column string, args ...interface{}) db.JoinClause

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

func (*JoinClause) WhereNot

func (_m *JoinClause) WhereNot(query interface{}, args ...interface{}) db.JoinClause

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

func (*JoinClause) WhereNotBetween

func (_m *JoinClause) WhereNotBetween(column string, lower interface{}, upper interface{}) db.JoinClause

WhereNotBetween provides a mock function with given fields: column, lower, upper

func (*JoinClause) WhereNotBetweenColumns

func (_m *JoinClause) WhereNotBetweenColumns(column string, lower string, upper string) db.JoinClause

WhereNotBetweenColumns provides a mock function with given fields: column, lower, upper

func (*JoinClause) WhereNotExists

func (_m *JoinClause) WhereNotExists(query interface{}) db.JoinClause

WhereNotExists provides a mock function with given fields: query

func (*JoinClause) WhereNotIn

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

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

func (*JoinClause) WhereNotNull

func (_m *JoinClause) WhereNotNull(column string) db.JoinClause

WhereNotNull provides a mock function with given fields: column

func (*JoinClause) WhereNowOrFuture

func (_m *JoinClause) WhereNowOrFuture(columns ...string) db.JoinClause

WhereNowOrFuture provides a mock function with given fields: columns

func (*JoinClause) WhereNowOrPast

func (_m *JoinClause) WhereNowOrPast(columns ...string) db.JoinClause

WhereNowOrPast provides a mock function with given fields: columns

func (*JoinClause) WhereNull

func (_m *JoinClause) WhereNull(column string) db.JoinClause

WhereNull provides a mock function with given fields: column

func (*JoinClause) WherePast

func (_m *JoinClause) WherePast(columns ...string) db.JoinClause

WherePast provides a mock function with given fields: columns

func (*JoinClause) WhereRaw

func (_m *JoinClause) WhereRaw(sql string, bindings []interface{}) db.JoinClause

WhereRaw provides a mock function with given fields: sql, bindings

func (*JoinClause) WhereRowValues

func (_m *JoinClause) WhereRowValues(columns []string, operator string, values []interface{}) db.JoinClause

WhereRowValues provides a mock function with given fields: columns, operator, values

func (*JoinClause) WhereTime

func (_m *JoinClause) WhereTime(column string, args ...interface{}) db.JoinClause

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

func (*JoinClause) WhereToday

func (_m *JoinClause) WhereToday(columns ...string) db.JoinClause

WhereToday provides a mock function with given fields: columns

func (*JoinClause) WhereTodayOrAfter

func (_m *JoinClause) WhereTodayOrAfter(columns ...string) db.JoinClause

WhereTodayOrAfter provides a mock function with given fields: columns

func (*JoinClause) WhereTodayOrBefore

func (_m *JoinClause) WhereTodayOrBefore(columns ...string) db.JoinClause

WhereTodayOrBefore provides a mock function with given fields: columns

func (*JoinClause) WhereValueBetween

func (_m *JoinClause) WhereValueBetween(value interface{}, lower string, upper string) db.JoinClause

WhereValueBetween provides a mock function with given fields: value, lower, upper

func (*JoinClause) WhereValueNotBetween

func (_m *JoinClause) WhereValueNotBetween(value interface{}, lower string, upper string) db.JoinClause

WhereValueNotBetween provides a mock function with given fields: value, lower, upper

func (*JoinClause) WhereYear

func (_m *JoinClause) WhereYear(column string, args ...interface{}) db.JoinClause

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

type JoinClause_Expecter

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

func (*JoinClause_Expecter) On

func (_e *JoinClause_Expecter) On(first interface{}, args ...interface{}) *JoinClause_On_Call

On is a helper method to define mock.On call

  • first interface{}
  • args ...string

func (*JoinClause_Expecter) OrOn

func (_e *JoinClause_Expecter) OrOn(first interface{}, args ...interface{}) *JoinClause_OrOn_Call

OrOn is a helper method to define mock.On call

  • first interface{}
  • args ...string

func (*JoinClause_Expecter) OrWhere

func (_e *JoinClause_Expecter) OrWhere(query interface{}, args ...interface{}) *JoinClause_OrWhere_Call

OrWhere is a helper method to define mock.On call

  • query interface{}
  • args ...interface{}

func (*JoinClause_Expecter) OrWhereAfterToday

func (_e *JoinClause_Expecter) OrWhereAfterToday(columns ...interface{}) *JoinClause_OrWhereAfterToday_Call

OrWhereAfterToday is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) OrWhereAll

func (_e *JoinClause_Expecter) OrWhereAll(columns interface{}, args ...interface{}) *JoinClause_OrWhereAll_Call

OrWhereAll is a helper method to define mock.On call

  • columns []string
  • args ...interface{}

func (*JoinClause_Expecter) OrWhereAny

func (_e *JoinClause_Expecter) OrWhereAny(columns interface{}, args ...interface{}) *JoinClause_OrWhereAny_Call

OrWhereAny is a helper method to define mock.On call

  • columns []string
  • args ...interface{}

func (*JoinClause_Expecter) OrWhereBeforeToday

func (_e *JoinClause_Expecter) OrWhereBeforeToday(columns ...interface{}) *JoinClause_OrWhereBeforeToday_Call

OrWhereBeforeToday is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) OrWhereBetween

func (_e *JoinClause_Expecter) OrWhereBetween(column interface{}, lower interface{}, upper interface{}) *JoinClause_OrWhereBetween_Call

OrWhereBetween is a helper method to define mock.On call

  • column string
  • lower interface{}
  • upper interface{}

func (*JoinClause_Expecter) OrWhereBetweenColumns

func (_e *JoinClause_Expecter) OrWhereBetweenColumns(column interface{}, lower interface{}, upper interface{}) *JoinClause_OrWhereBetweenColumns_Call

OrWhereBetweenColumns is a helper method to define mock.On call

  • column string
  • lower string
  • upper string

func (*JoinClause_Expecter) OrWhereColumn

func (_e *JoinClause_Expecter) OrWhereColumn(column interface{}, columns ...interface{}) *JoinClause_OrWhereColumn_Call

OrWhereColumn is a helper method to define mock.On call

  • column string
  • columns ...string

func (*JoinClause_Expecter) OrWhereDate

func (_e *JoinClause_Expecter) OrWhereDate(column interface{}, args ...interface{}) *JoinClause_OrWhereDate_Call

OrWhereDate is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*JoinClause_Expecter) OrWhereDay

func (_e *JoinClause_Expecter) OrWhereDay(column interface{}, args ...interface{}) *JoinClause_OrWhereDay_Call

OrWhereDay is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*JoinClause_Expecter) OrWhereExists

func (_e *JoinClause_Expecter) OrWhereExists(query interface{}) *JoinClause_OrWhereExists_Call

OrWhereExists is a helper method to define mock.On call

  • query interface{}

func (*JoinClause_Expecter) OrWhereFullText

func (_e *JoinClause_Expecter) OrWhereFullText(columns interface{}, value interface{}, options ...interface{}) *JoinClause_OrWhereFullText_Call

OrWhereFullText is a helper method to define mock.On call

  • columns []string
  • value string
  • options ...string

func (*JoinClause_Expecter) OrWhereFuture

func (_e *JoinClause_Expecter) OrWhereFuture(columns ...interface{}) *JoinClause_OrWhereFuture_Call

OrWhereFuture is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) OrWhereIn

func (_e *JoinClause_Expecter) OrWhereIn(column interface{}, values interface{}) *JoinClause_OrWhereIn_Call

OrWhereIn is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*JoinClause_Expecter) OrWhereIntegerInRaw

func (_e *JoinClause_Expecter) OrWhereIntegerInRaw(column interface{}, values interface{}) *JoinClause_OrWhereIntegerInRaw_Call

OrWhereIntegerInRaw is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*JoinClause_Expecter) OrWhereIntegerNotInRaw

func (_e *JoinClause_Expecter) OrWhereIntegerNotInRaw(column interface{}, values interface{}) *JoinClause_OrWhereIntegerNotInRaw_Call

OrWhereIntegerNotInRaw is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*JoinClause_Expecter) OrWhereJsonDoesntOverlap

func (_e *JoinClause_Expecter) OrWhereJsonDoesntOverlap(column interface{}, value interface{}) *JoinClause_OrWhereJsonDoesntOverlap_Call

OrWhereJsonDoesntOverlap is a helper method to define mock.On call

  • column string
  • value interface{}

func (*JoinClause_Expecter) OrWhereJsonOverlaps

func (_e *JoinClause_Expecter) OrWhereJsonOverlaps(column interface{}, value interface{}) *JoinClause_OrWhereJsonOverlaps_Call

OrWhereJsonOverlaps is a helper method to define mock.On call

  • column string
  • value interface{}

func (*JoinClause_Expecter) OrWhereMonth

func (_e *JoinClause_Expecter) OrWhereMonth(column interface{}, args ...interface{}) *JoinClause_OrWhereMonth_Call

OrWhereMonth is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*JoinClause_Expecter) OrWhereNone

func (_e *JoinClause_Expecter) OrWhereNone(columns interface{}, args ...interface{}) *JoinClause_OrWhereNone_Call

OrWhereNone is a helper method to define mock.On call

  • columns []string
  • args ...interface{}

func (*JoinClause_Expecter) OrWhereNot

func (_e *JoinClause_Expecter) OrWhereNot(query interface{}, args ...interface{}) *JoinClause_OrWhereNot_Call

OrWhereNot is a helper method to define mock.On call

  • query interface{}
  • args ...interface{}

func (*JoinClause_Expecter) OrWhereNotBetween

func (_e *JoinClause_Expecter) OrWhereNotBetween(column interface{}, lower interface{}, upper interface{}) *JoinClause_OrWhereNotBetween_Call

OrWhereNotBetween is a helper method to define mock.On call

  • column string
  • lower interface{}
  • upper interface{}

func (*JoinClause_Expecter) OrWhereNotBetweenColumns

func (_e *JoinClause_Expecter) OrWhereNotBetweenColumns(column interface{}, lower interface{}, upper interface{}) *JoinClause_OrWhereNotBetweenColumns_Call

OrWhereNotBetweenColumns is a helper method to define mock.On call

  • column string
  • lower string
  • upper string

func (*JoinClause_Expecter) OrWhereNotExists

func (_e *JoinClause_Expecter) OrWhereNotExists(query interface{}) *JoinClause_OrWhereNotExists_Call

OrWhereNotExists is a helper method to define mock.On call

  • query interface{}

func (*JoinClause_Expecter) OrWhereNotIn

func (_e *JoinClause_Expecter) OrWhereNotIn(column interface{}, values interface{}) *JoinClause_OrWhereNotIn_Call

OrWhereNotIn is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*JoinClause_Expecter) OrWhereNotNull

func (_e *JoinClause_Expecter) OrWhereNotNull(column interface{}) *JoinClause_OrWhereNotNull_Call

OrWhereNotNull is a helper method to define mock.On call

  • column string

func (*JoinClause_Expecter) OrWhereNowOrFuture

func (_e *JoinClause_Expecter) OrWhereNowOrFuture(columns ...interface{}) *JoinClause_OrWhereNowOrFuture_Call

OrWhereNowOrFuture is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) OrWhereNowOrPast

func (_e *JoinClause_Expecter) OrWhereNowOrPast(columns ...interface{}) *JoinClause_OrWhereNowOrPast_Call

OrWhereNowOrPast is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) OrWhereNull

func (_e *JoinClause_Expecter) OrWhereNull(column interface{}) *JoinClause_OrWhereNull_Call

OrWhereNull is a helper method to define mock.On call

  • column string

func (*JoinClause_Expecter) OrWherePast

func (_e *JoinClause_Expecter) OrWherePast(columns ...interface{}) *JoinClause_OrWherePast_Call

OrWherePast is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) OrWhereRaw

func (_e *JoinClause_Expecter) OrWhereRaw(sql interface{}, bindings interface{}) *JoinClause_OrWhereRaw_Call

OrWhereRaw is a helper method to define mock.On call

  • sql string
  • bindings []interface{}

func (*JoinClause_Expecter) OrWhereRowValues

func (_e *JoinClause_Expecter) OrWhereRowValues(columns interface{}, operator interface{}, values interface{}) *JoinClause_OrWhereRowValues_Call

OrWhereRowValues is a helper method to define mock.On call

  • columns []string
  • operator string
  • values []interface{}

func (*JoinClause_Expecter) OrWhereTime

func (_e *JoinClause_Expecter) OrWhereTime(column interface{}, args ...interface{}) *JoinClause_OrWhereTime_Call

OrWhereTime is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*JoinClause_Expecter) OrWhereToday

func (_e *JoinClause_Expecter) OrWhereToday(columns ...interface{}) *JoinClause_OrWhereToday_Call

OrWhereToday is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) OrWhereTodayOrAfter

func (_e *JoinClause_Expecter) OrWhereTodayOrAfter(columns ...interface{}) *JoinClause_OrWhereTodayOrAfter_Call

OrWhereTodayOrAfter is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) OrWhereTodayOrBefore

func (_e *JoinClause_Expecter) OrWhereTodayOrBefore(columns ...interface{}) *JoinClause_OrWhereTodayOrBefore_Call

OrWhereTodayOrBefore is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) OrWhereValueBetween

func (_e *JoinClause_Expecter) OrWhereValueBetween(value interface{}, lower interface{}, upper interface{}) *JoinClause_OrWhereValueBetween_Call

OrWhereValueBetween is a helper method to define mock.On call

  • value interface{}
  • lower string
  • upper string

func (*JoinClause_Expecter) OrWhereValueNotBetween

func (_e *JoinClause_Expecter) OrWhereValueNotBetween(value interface{}, lower interface{}, upper interface{}) *JoinClause_OrWhereValueNotBetween_Call

OrWhereValueNotBetween is a helper method to define mock.On call

  • value interface{}
  • lower string
  • upper string

func (*JoinClause_Expecter) OrWhereYear

func (_e *JoinClause_Expecter) OrWhereYear(column interface{}, args ...interface{}) *JoinClause_OrWhereYear_Call

OrWhereYear is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*JoinClause_Expecter) Where

func (_e *JoinClause_Expecter) Where(query interface{}, args ...interface{}) *JoinClause_Where_Call

Where is a helper method to define mock.On call

  • query interface{}
  • args ...interface{}

func (*JoinClause_Expecter) WhereAfterToday

func (_e *JoinClause_Expecter) WhereAfterToday(columns ...interface{}) *JoinClause_WhereAfterToday_Call

WhereAfterToday is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) WhereBeforeToday

func (_e *JoinClause_Expecter) WhereBeforeToday(columns ...interface{}) *JoinClause_WhereBeforeToday_Call

WhereBeforeToday is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) WhereBetween

func (_e *JoinClause_Expecter) WhereBetween(column interface{}, lower interface{}, upper interface{}) *JoinClause_WhereBetween_Call

WhereBetween is a helper method to define mock.On call

  • column string
  • lower interface{}
  • upper interface{}

func (*JoinClause_Expecter) WhereBetweenColumns

func (_e *JoinClause_Expecter) WhereBetweenColumns(column interface{}, lower interface{}, upper interface{}) *JoinClause_WhereBetweenColumns_Call

WhereBetweenColumns is a helper method to define mock.On call

  • column string
  • lower string
  • upper string

func (*JoinClause_Expecter) WhereColumn

func (_e *JoinClause_Expecter) WhereColumn(column interface{}, columns ...interface{}) *JoinClause_WhereColumn_Call

WhereColumn is a helper method to define mock.On call

  • column string
  • columns ...string

func (*JoinClause_Expecter) WhereDate

func (_e *JoinClause_Expecter) WhereDate(column interface{}, args ...interface{}) *JoinClause_WhereDate_Call

WhereDate is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*JoinClause_Expecter) WhereDay

func (_e *JoinClause_Expecter) WhereDay(column interface{}, args ...interface{}) *JoinClause_WhereDay_Call

WhereDay is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*JoinClause_Expecter) WhereFullText

func (_e *JoinClause_Expecter) WhereFullText(columns interface{}, value interface{}, options ...interface{}) *JoinClause_WhereFullText_Call

WhereFullText is a helper method to define mock.On call

  • columns []string
  • value string
  • options ...string

func (*JoinClause_Expecter) WhereFuture

func (_e *JoinClause_Expecter) WhereFuture(columns ...interface{}) *JoinClause_WhereFuture_Call

WhereFuture is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) WhereIn

func (_e *JoinClause_Expecter) WhereIn(column interface{}, values interface{}) *JoinClause_WhereIn_Call

WhereIn is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*JoinClause_Expecter) WhereIntegerInRaw

func (_e *JoinClause_Expecter) WhereIntegerInRaw(column interface{}, values interface{}) *JoinClause_WhereIntegerInRaw_Call

WhereIntegerInRaw is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*JoinClause_Expecter) WhereIntegerNotInRaw

func (_e *JoinClause_Expecter) WhereIntegerNotInRaw(column interface{}, values interface{}) *JoinClause_WhereIntegerNotInRaw_Call

WhereIntegerNotInRaw is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*JoinClause_Expecter) WhereJsonDoesntOverlap

func (_e *JoinClause_Expecter) WhereJsonDoesntOverlap(column interface{}, value interface{}) *JoinClause_WhereJsonDoesntOverlap_Call

WhereJsonDoesntOverlap is a helper method to define mock.On call

  • column string
  • value interface{}

func (*JoinClause_Expecter) WhereJsonOverlaps

func (_e *JoinClause_Expecter) WhereJsonOverlaps(column interface{}, value interface{}) *JoinClause_WhereJsonOverlaps_Call

WhereJsonOverlaps is a helper method to define mock.On call

  • column string
  • value interface{}

func (*JoinClause_Expecter) WhereMonth

func (_e *JoinClause_Expecter) WhereMonth(column interface{}, args ...interface{}) *JoinClause_WhereMonth_Call

WhereMonth is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*JoinClause_Expecter) WhereNot

func (_e *JoinClause_Expecter) WhereNot(query interface{}, args ...interface{}) *JoinClause_WhereNot_Call

WhereNot is a helper method to define mock.On call

  • query interface{}
  • args ...interface{}

func (*JoinClause_Expecter) WhereNotBetween

func (_e *JoinClause_Expecter) WhereNotBetween(column interface{}, lower interface{}, upper interface{}) *JoinClause_WhereNotBetween_Call

WhereNotBetween is a helper method to define mock.On call

  • column string
  • lower interface{}
  • upper interface{}

func (*JoinClause_Expecter) WhereNotBetweenColumns

func (_e *JoinClause_Expecter) WhereNotBetweenColumns(column interface{}, lower interface{}, upper interface{}) *JoinClause_WhereNotBetweenColumns_Call

WhereNotBetweenColumns is a helper method to define mock.On call

  • column string
  • lower string
  • upper string

func (*JoinClause_Expecter) WhereNotExists

func (_e *JoinClause_Expecter) WhereNotExists(query interface{}) *JoinClause_WhereNotExists_Call

WhereNotExists is a helper method to define mock.On call

  • query interface{}

func (*JoinClause_Expecter) WhereNotIn

func (_e *JoinClause_Expecter) WhereNotIn(column interface{}, values interface{}) *JoinClause_WhereNotIn_Call

WhereNotIn is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*JoinClause_Expecter) WhereNotNull

func (_e *JoinClause_Expecter) WhereNotNull(column interface{}) *JoinClause_WhereNotNull_Call

WhereNotNull is a helper method to define mock.On call

  • column string

func (*JoinClause_Expecter) WhereNowOrFuture

func (_e *JoinClause_Expecter) WhereNowOrFuture(columns ...interface{}) *JoinClause_WhereNowOrFuture_Call

WhereNowOrFuture is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) WhereNowOrPast

func (_e *JoinClause_Expecter) WhereNowOrPast(columns ...interface{}) *JoinClause_WhereNowOrPast_Call

WhereNowOrPast is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) WhereNull

func (_e *JoinClause_Expecter) WhereNull(column interface{}) *JoinClause_WhereNull_Call

WhereNull is a helper method to define mock.On call

  • column string

func (*JoinClause_Expecter) WherePast

func (_e *JoinClause_Expecter) WherePast(columns ...interface{}) *JoinClause_WherePast_Call

WherePast is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) WhereRaw

func (_e *JoinClause_Expecter) WhereRaw(sql interface{}, bindings interface{}) *JoinClause_WhereRaw_Call

WhereRaw is a helper method to define mock.On call

  • sql string
  • bindings []interface{}

func (*JoinClause_Expecter) WhereRowValues

func (_e *JoinClause_Expecter) WhereRowValues(columns interface{}, operator interface{}, values interface{}) *JoinClause_WhereRowValues_Call

WhereRowValues is a helper method to define mock.On call

  • columns []string
  • operator string
  • values []interface{}

func (*JoinClause_Expecter) WhereTime

func (_e *JoinClause_Expecter) WhereTime(column interface{}, args ...interface{}) *JoinClause_WhereTime_Call

WhereTime is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*JoinClause_Expecter) WhereToday

func (_e *JoinClause_Expecter) WhereToday(columns ...interface{}) *JoinClause_WhereToday_Call

WhereToday is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) WhereTodayOrAfter

func (_e *JoinClause_Expecter) WhereTodayOrAfter(columns ...interface{}) *JoinClause_WhereTodayOrAfter_Call

WhereTodayOrAfter is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) WhereTodayOrBefore

func (_e *JoinClause_Expecter) WhereTodayOrBefore(columns ...interface{}) *JoinClause_WhereTodayOrBefore_Call

WhereTodayOrBefore is a helper method to define mock.On call

  • columns ...string

func (*JoinClause_Expecter) WhereValueBetween

func (_e *JoinClause_Expecter) WhereValueBetween(value interface{}, lower interface{}, upper interface{}) *JoinClause_WhereValueBetween_Call

WhereValueBetween is a helper method to define mock.On call

  • value interface{}
  • lower string
  • upper string

func (*JoinClause_Expecter) WhereValueNotBetween

func (_e *JoinClause_Expecter) WhereValueNotBetween(value interface{}, lower interface{}, upper interface{}) *JoinClause_WhereValueNotBetween_Call

WhereValueNotBetween is a helper method to define mock.On call

  • value interface{}
  • lower string
  • upper string

func (*JoinClause_Expecter) WhereYear

func (_e *JoinClause_Expecter) WhereYear(column interface{}, args ...interface{}) *JoinClause_WhereYear_Call

WhereYear is a helper method to define mock.On call

  • column string
  • args ...interface{}

type JoinClause_On_Call

type JoinClause_On_Call struct {
	*mock.Call
}

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

func (*JoinClause_On_Call) Return

func (*JoinClause_On_Call) Run

func (_c *JoinClause_On_Call) Run(run func(first interface{}, args ...string)) *JoinClause_On_Call

func (*JoinClause_On_Call) RunAndReturn

func (_c *JoinClause_On_Call) RunAndReturn(run func(interface{}, ...string) db.JoinClause) *JoinClause_On_Call

type JoinClause_OrOn_Call

type JoinClause_OrOn_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrOn_Call) Return

func (*JoinClause_OrOn_Call) Run

func (_c *JoinClause_OrOn_Call) Run(run func(first interface{}, args ...string)) *JoinClause_OrOn_Call

func (*JoinClause_OrOn_Call) RunAndReturn

func (_c *JoinClause_OrOn_Call) RunAndReturn(run func(interface{}, ...string) db.JoinClause) *JoinClause_OrOn_Call

type JoinClause_OrWhereAfterToday_Call

type JoinClause_OrWhereAfterToday_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereAfterToday_Call) Return

func (*JoinClause_OrWhereAfterToday_Call) Run

func (*JoinClause_OrWhereAfterToday_Call) RunAndReturn

type JoinClause_OrWhereAll_Call

type JoinClause_OrWhereAll_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereAll_Call) Return

func (*JoinClause_OrWhereAll_Call) Run

func (_c *JoinClause_OrWhereAll_Call) Run(run func(columns []string, args ...interface{})) *JoinClause_OrWhereAll_Call

func (*JoinClause_OrWhereAll_Call) RunAndReturn

func (_c *JoinClause_OrWhereAll_Call) RunAndReturn(run func([]string, ...interface{}) db.JoinClause) *JoinClause_OrWhereAll_Call

type JoinClause_OrWhereAny_Call

type JoinClause_OrWhereAny_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereAny_Call) Return

func (*JoinClause_OrWhereAny_Call) Run

func (_c *JoinClause_OrWhereAny_Call) Run(run func(columns []string, args ...interface{})) *JoinClause_OrWhereAny_Call

func (*JoinClause_OrWhereAny_Call) RunAndReturn

func (_c *JoinClause_OrWhereAny_Call) RunAndReturn(run func([]string, ...interface{}) db.JoinClause) *JoinClause_OrWhereAny_Call

type JoinClause_OrWhereBeforeToday_Call

type JoinClause_OrWhereBeforeToday_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereBeforeToday_Call) Return

func (*JoinClause_OrWhereBeforeToday_Call) Run

func (*JoinClause_OrWhereBeforeToday_Call) RunAndReturn

type JoinClause_OrWhereBetweenColumns_Call

type JoinClause_OrWhereBetweenColumns_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereBetweenColumns_Call) Return

func (*JoinClause_OrWhereBetweenColumns_Call) Run

func (*JoinClause_OrWhereBetweenColumns_Call) RunAndReturn

type JoinClause_OrWhereBetween_Call

type JoinClause_OrWhereBetween_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereBetween_Call) Return

func (*JoinClause_OrWhereBetween_Call) Run

func (_c *JoinClause_OrWhereBetween_Call) Run(run func(column string, lower interface{}, upper interface{})) *JoinClause_OrWhereBetween_Call

func (*JoinClause_OrWhereBetween_Call) RunAndReturn

func (_c *JoinClause_OrWhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) db.JoinClause) *JoinClause_OrWhereBetween_Call

type JoinClause_OrWhereColumn_Call

type JoinClause_OrWhereColumn_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereColumn_Call) Return

func (*JoinClause_OrWhereColumn_Call) Run

func (_c *JoinClause_OrWhereColumn_Call) Run(run func(column string, columns ...string)) *JoinClause_OrWhereColumn_Call

func (*JoinClause_OrWhereColumn_Call) RunAndReturn

type JoinClause_OrWhereDate_Call

type JoinClause_OrWhereDate_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereDate_Call) Return

func (*JoinClause_OrWhereDate_Call) Run

func (_c *JoinClause_OrWhereDate_Call) Run(run func(column string, args ...interface{})) *JoinClause_OrWhereDate_Call

func (*JoinClause_OrWhereDate_Call) RunAndReturn

func (_c *JoinClause_OrWhereDate_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_OrWhereDate_Call

type JoinClause_OrWhereDay_Call

type JoinClause_OrWhereDay_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereDay_Call) Return

func (*JoinClause_OrWhereDay_Call) Run

func (_c *JoinClause_OrWhereDay_Call) Run(run func(column string, args ...interface{})) *JoinClause_OrWhereDay_Call

func (*JoinClause_OrWhereDay_Call) RunAndReturn

func (_c *JoinClause_OrWhereDay_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_OrWhereDay_Call

type JoinClause_OrWhereExists_Call

type JoinClause_OrWhereExists_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereExists_Call) Return

func (*JoinClause_OrWhereExists_Call) Run

func (_c *JoinClause_OrWhereExists_Call) Run(run func(query interface{})) *JoinClause_OrWhereExists_Call

func (*JoinClause_OrWhereExists_Call) RunAndReturn

func (_c *JoinClause_OrWhereExists_Call) RunAndReturn(run func(interface{}) db.JoinClause) *JoinClause_OrWhereExists_Call

type JoinClause_OrWhereFullText_Call

type JoinClause_OrWhereFullText_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereFullText_Call) Return

func (*JoinClause_OrWhereFullText_Call) Run

func (_c *JoinClause_OrWhereFullText_Call) Run(run func(columns []string, value string, options ...string)) *JoinClause_OrWhereFullText_Call

func (*JoinClause_OrWhereFullText_Call) RunAndReturn

type JoinClause_OrWhereFuture_Call

type JoinClause_OrWhereFuture_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereFuture_Call) Return

func (*JoinClause_OrWhereFuture_Call) Run

func (*JoinClause_OrWhereFuture_Call) RunAndReturn

type JoinClause_OrWhereIn_Call

type JoinClause_OrWhereIn_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereIn_Call) Return

func (*JoinClause_OrWhereIn_Call) Run

func (_c *JoinClause_OrWhereIn_Call) Run(run func(column string, values []interface{})) *JoinClause_OrWhereIn_Call

func (*JoinClause_OrWhereIn_Call) RunAndReturn

func (_c *JoinClause_OrWhereIn_Call) RunAndReturn(run func(string, []interface{}) db.JoinClause) *JoinClause_OrWhereIn_Call

type JoinClause_OrWhereIntegerInRaw_Call

type JoinClause_OrWhereIntegerInRaw_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereIntegerInRaw_Call) Return

func (*JoinClause_OrWhereIntegerInRaw_Call) Run

func (_c *JoinClause_OrWhereIntegerInRaw_Call) Run(run func(column string, values []interface{})) *JoinClause_OrWhereIntegerInRaw_Call

func (*JoinClause_OrWhereIntegerInRaw_Call) RunAndReturn

type JoinClause_OrWhereIntegerNotInRaw_Call

type JoinClause_OrWhereIntegerNotInRaw_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereIntegerNotInRaw_Call) Return

func (*JoinClause_OrWhereIntegerNotInRaw_Call) Run

func (_c *JoinClause_OrWhereIntegerNotInRaw_Call) Run(run func(column string, values []interface{})) *JoinClause_OrWhereIntegerNotInRaw_Call

func (*JoinClause_OrWhereIntegerNotInRaw_Call) RunAndReturn

type JoinClause_OrWhereJsonDoesntOverlap_Call

type JoinClause_OrWhereJsonDoesntOverlap_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereJsonDoesntOverlap_Call) Return

func (*JoinClause_OrWhereJsonDoesntOverlap_Call) Run

func (*JoinClause_OrWhereJsonDoesntOverlap_Call) RunAndReturn

type JoinClause_OrWhereJsonOverlaps_Call

type JoinClause_OrWhereJsonOverlaps_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereJsonOverlaps_Call) Return

func (*JoinClause_OrWhereJsonOverlaps_Call) Run

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

func (*JoinClause_OrWhereJsonOverlaps_Call) RunAndReturn

type JoinClause_OrWhereMonth_Call

type JoinClause_OrWhereMonth_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereMonth_Call) Return

func (*JoinClause_OrWhereMonth_Call) Run

func (_c *JoinClause_OrWhereMonth_Call) Run(run func(column string, args ...interface{})) *JoinClause_OrWhereMonth_Call

func (*JoinClause_OrWhereMonth_Call) RunAndReturn

func (_c *JoinClause_OrWhereMonth_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_OrWhereMonth_Call

type JoinClause_OrWhereNone_Call

type JoinClause_OrWhereNone_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNone_Call) Return

func (*JoinClause_OrWhereNone_Call) Run

func (_c *JoinClause_OrWhereNone_Call) Run(run func(columns []string, args ...interface{})) *JoinClause_OrWhereNone_Call

func (*JoinClause_OrWhereNone_Call) RunAndReturn

func (_c *JoinClause_OrWhereNone_Call) RunAndReturn(run func([]string, ...interface{}) db.JoinClause) *JoinClause_OrWhereNone_Call

type JoinClause_OrWhereNotBetweenColumns_Call

type JoinClause_OrWhereNotBetweenColumns_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNotBetweenColumns_Call) Return

func (*JoinClause_OrWhereNotBetweenColumns_Call) Run

func (*JoinClause_OrWhereNotBetweenColumns_Call) RunAndReturn

type JoinClause_OrWhereNotBetween_Call

type JoinClause_OrWhereNotBetween_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNotBetween_Call) Return

func (*JoinClause_OrWhereNotBetween_Call) Run

func (_c *JoinClause_OrWhereNotBetween_Call) Run(run func(column string, lower interface{}, upper interface{})) *JoinClause_OrWhereNotBetween_Call

func (*JoinClause_OrWhereNotBetween_Call) RunAndReturn

func (_c *JoinClause_OrWhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) db.JoinClause) *JoinClause_OrWhereNotBetween_Call

type JoinClause_OrWhereNotExists_Call

type JoinClause_OrWhereNotExists_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNotExists_Call) Return

func (*JoinClause_OrWhereNotExists_Call) Run

func (_c *JoinClause_OrWhereNotExists_Call) Run(run func(query interface{})) *JoinClause_OrWhereNotExists_Call

func (*JoinClause_OrWhereNotExists_Call) RunAndReturn

func (_c *JoinClause_OrWhereNotExists_Call) RunAndReturn(run func(interface{}) db.JoinClause) *JoinClause_OrWhereNotExists_Call

type JoinClause_OrWhereNotIn_Call

type JoinClause_OrWhereNotIn_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNotIn_Call) Return

func (*JoinClause_OrWhereNotIn_Call) Run

func (_c *JoinClause_OrWhereNotIn_Call) Run(run func(column string, values []interface{})) *JoinClause_OrWhereNotIn_Call

func (*JoinClause_OrWhereNotIn_Call) RunAndReturn

func (_c *JoinClause_OrWhereNotIn_Call) RunAndReturn(run func(string, []interface{}) db.JoinClause) *JoinClause_OrWhereNotIn_Call

type JoinClause_OrWhereNotNull_Call

type JoinClause_OrWhereNotNull_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNotNull_Call) Return

func (*JoinClause_OrWhereNotNull_Call) Run

func (*JoinClause_OrWhereNotNull_Call) RunAndReturn

type JoinClause_OrWhereNot_Call

type JoinClause_OrWhereNot_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNot_Call) Return

func (*JoinClause_OrWhereNot_Call) Run

func (_c *JoinClause_OrWhereNot_Call) Run(run func(query interface{}, args ...interface{})) *JoinClause_OrWhereNot_Call

func (*JoinClause_OrWhereNot_Call) RunAndReturn

func (_c *JoinClause_OrWhereNot_Call) RunAndReturn(run func(interface{}, ...interface{}) db.JoinClause) *JoinClause_OrWhereNot_Call

type JoinClause_OrWhereNowOrFuture_Call

type JoinClause_OrWhereNowOrFuture_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNowOrFuture_Call) Return

func (*JoinClause_OrWhereNowOrFuture_Call) Run

func (*JoinClause_OrWhereNowOrFuture_Call) RunAndReturn

type JoinClause_OrWhereNowOrPast_Call

type JoinClause_OrWhereNowOrPast_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNowOrPast_Call) Return

func (*JoinClause_OrWhereNowOrPast_Call) Run

func (*JoinClause_OrWhereNowOrPast_Call) RunAndReturn

type JoinClause_OrWhereNull_Call

type JoinClause_OrWhereNull_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereNull_Call) Return

func (*JoinClause_OrWhereNull_Call) Run

func (*JoinClause_OrWhereNull_Call) RunAndReturn

type JoinClause_OrWherePast_Call

type JoinClause_OrWherePast_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWherePast_Call) Return

func (*JoinClause_OrWherePast_Call) Run

func (_c *JoinClause_OrWherePast_Call) Run(run func(columns ...string)) *JoinClause_OrWherePast_Call

func (*JoinClause_OrWherePast_Call) RunAndReturn

type JoinClause_OrWhereRaw_Call

type JoinClause_OrWhereRaw_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereRaw_Call) Return

func (*JoinClause_OrWhereRaw_Call) Run

func (_c *JoinClause_OrWhereRaw_Call) Run(run func(sql string, bindings []interface{})) *JoinClause_OrWhereRaw_Call

func (*JoinClause_OrWhereRaw_Call) RunAndReturn

func (_c *JoinClause_OrWhereRaw_Call) RunAndReturn(run func(string, []interface{}) db.JoinClause) *JoinClause_OrWhereRaw_Call

type JoinClause_OrWhereRowValues_Call

type JoinClause_OrWhereRowValues_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereRowValues_Call) Return

func (*JoinClause_OrWhereRowValues_Call) Run

func (_c *JoinClause_OrWhereRowValues_Call) Run(run func(columns []string, operator string, values []interface{})) *JoinClause_OrWhereRowValues_Call

func (*JoinClause_OrWhereRowValues_Call) RunAndReturn

func (_c *JoinClause_OrWhereRowValues_Call) RunAndReturn(run func([]string, string, []interface{}) db.JoinClause) *JoinClause_OrWhereRowValues_Call

type JoinClause_OrWhereTime_Call

type JoinClause_OrWhereTime_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereTime_Call) Return

func (*JoinClause_OrWhereTime_Call) Run

func (_c *JoinClause_OrWhereTime_Call) Run(run func(column string, args ...interface{})) *JoinClause_OrWhereTime_Call

func (*JoinClause_OrWhereTime_Call) RunAndReturn

func (_c *JoinClause_OrWhereTime_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_OrWhereTime_Call

type JoinClause_OrWhereTodayOrAfter_Call

type JoinClause_OrWhereTodayOrAfter_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereTodayOrAfter_Call) Return

func (*JoinClause_OrWhereTodayOrAfter_Call) Run

func (*JoinClause_OrWhereTodayOrAfter_Call) RunAndReturn

type JoinClause_OrWhereTodayOrBefore_Call

type JoinClause_OrWhereTodayOrBefore_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereTodayOrBefore_Call) Return

func (*JoinClause_OrWhereTodayOrBefore_Call) Run

func (*JoinClause_OrWhereTodayOrBefore_Call) RunAndReturn

type JoinClause_OrWhereToday_Call

type JoinClause_OrWhereToday_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereToday_Call) Return

func (*JoinClause_OrWhereToday_Call) Run

func (_c *JoinClause_OrWhereToday_Call) Run(run func(columns ...string)) *JoinClause_OrWhereToday_Call

func (*JoinClause_OrWhereToday_Call) RunAndReturn

type JoinClause_OrWhereValueBetween_Call

type JoinClause_OrWhereValueBetween_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereValueBetween_Call) Return

func (*JoinClause_OrWhereValueBetween_Call) Run

func (_c *JoinClause_OrWhereValueBetween_Call) Run(run func(value interface{}, lower string, upper string)) *JoinClause_OrWhereValueBetween_Call

func (*JoinClause_OrWhereValueBetween_Call) RunAndReturn

type JoinClause_OrWhereValueNotBetween_Call

type JoinClause_OrWhereValueNotBetween_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereValueNotBetween_Call) Return

func (*JoinClause_OrWhereValueNotBetween_Call) Run

func (_c *JoinClause_OrWhereValueNotBetween_Call) Run(run func(value interface{}, lower string, upper string)) *JoinClause_OrWhereValueNotBetween_Call

func (*JoinClause_OrWhereValueNotBetween_Call) RunAndReturn

type JoinClause_OrWhereYear_Call

type JoinClause_OrWhereYear_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhereYear_Call) Return

func (*JoinClause_OrWhereYear_Call) Run

func (_c *JoinClause_OrWhereYear_Call) Run(run func(column string, args ...interface{})) *JoinClause_OrWhereYear_Call

func (*JoinClause_OrWhereYear_Call) RunAndReturn

func (_c *JoinClause_OrWhereYear_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_OrWhereYear_Call

type JoinClause_OrWhere_Call

type JoinClause_OrWhere_Call struct {
	*mock.Call
}

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

func (*JoinClause_OrWhere_Call) Return

func (*JoinClause_OrWhere_Call) Run

func (_c *JoinClause_OrWhere_Call) Run(run func(query interface{}, args ...interface{})) *JoinClause_OrWhere_Call

func (*JoinClause_OrWhere_Call) RunAndReturn

func (_c *JoinClause_OrWhere_Call) RunAndReturn(run func(interface{}, ...interface{}) db.JoinClause) *JoinClause_OrWhere_Call

type JoinClause_WhereAfterToday_Call

type JoinClause_WhereAfterToday_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereAfterToday_Call) Return

func (*JoinClause_WhereAfterToday_Call) Run

func (*JoinClause_WhereAfterToday_Call) RunAndReturn

type JoinClause_WhereBeforeToday_Call

type JoinClause_WhereBeforeToday_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereBeforeToday_Call) Return

func (*JoinClause_WhereBeforeToday_Call) Run

func (*JoinClause_WhereBeforeToday_Call) RunAndReturn

type JoinClause_WhereBetweenColumns_Call

type JoinClause_WhereBetweenColumns_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereBetweenColumns_Call) Return

func (*JoinClause_WhereBetweenColumns_Call) Run

func (*JoinClause_WhereBetweenColumns_Call) RunAndReturn

type JoinClause_WhereBetween_Call

type JoinClause_WhereBetween_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereBetween_Call) Return

func (*JoinClause_WhereBetween_Call) Run

func (_c *JoinClause_WhereBetween_Call) Run(run func(column string, lower interface{}, upper interface{})) *JoinClause_WhereBetween_Call

func (*JoinClause_WhereBetween_Call) RunAndReturn

func (_c *JoinClause_WhereBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) db.JoinClause) *JoinClause_WhereBetween_Call

type JoinClause_WhereColumn_Call

type JoinClause_WhereColumn_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereColumn_Call) Return

func (*JoinClause_WhereColumn_Call) Run

func (_c *JoinClause_WhereColumn_Call) Run(run func(column string, columns ...string)) *JoinClause_WhereColumn_Call

func (*JoinClause_WhereColumn_Call) RunAndReturn

type JoinClause_WhereDate_Call

type JoinClause_WhereDate_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereDate_Call) Return

func (*JoinClause_WhereDate_Call) Run

func (_c *JoinClause_WhereDate_Call) Run(run func(column string, args ...interface{})) *JoinClause_WhereDate_Call

func (*JoinClause_WhereDate_Call) RunAndReturn

func (_c *JoinClause_WhereDate_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_WhereDate_Call

type JoinClause_WhereDay_Call

type JoinClause_WhereDay_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereDay_Call) Return

func (*JoinClause_WhereDay_Call) Run

func (_c *JoinClause_WhereDay_Call) Run(run func(column string, args ...interface{})) *JoinClause_WhereDay_Call

func (*JoinClause_WhereDay_Call) RunAndReturn

func (_c *JoinClause_WhereDay_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_WhereDay_Call

type JoinClause_WhereFullText_Call

type JoinClause_WhereFullText_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereFullText_Call) Return

func (*JoinClause_WhereFullText_Call) Run

func (_c *JoinClause_WhereFullText_Call) Run(run func(columns []string, value string, options ...string)) *JoinClause_WhereFullText_Call

func (*JoinClause_WhereFullText_Call) RunAndReturn

type JoinClause_WhereFuture_Call

type JoinClause_WhereFuture_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereFuture_Call) Return

func (*JoinClause_WhereFuture_Call) Run

func (_c *JoinClause_WhereFuture_Call) Run(run func(columns ...string)) *JoinClause_WhereFuture_Call

func (*JoinClause_WhereFuture_Call) RunAndReturn

type JoinClause_WhereIn_Call

type JoinClause_WhereIn_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereIn_Call) Return

func (*JoinClause_WhereIn_Call) Run

func (_c *JoinClause_WhereIn_Call) Run(run func(column string, values []interface{})) *JoinClause_WhereIn_Call

func (*JoinClause_WhereIn_Call) RunAndReturn

func (_c *JoinClause_WhereIn_Call) RunAndReturn(run func(string, []interface{}) db.JoinClause) *JoinClause_WhereIn_Call

type JoinClause_WhereIntegerInRaw_Call

type JoinClause_WhereIntegerInRaw_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereIntegerInRaw_Call) Return

func (*JoinClause_WhereIntegerInRaw_Call) Run

func (_c *JoinClause_WhereIntegerInRaw_Call) Run(run func(column string, values []interface{})) *JoinClause_WhereIntegerInRaw_Call

func (*JoinClause_WhereIntegerInRaw_Call) RunAndReturn

func (_c *JoinClause_WhereIntegerInRaw_Call) RunAndReturn(run func(string, []interface{}) db.JoinClause) *JoinClause_WhereIntegerInRaw_Call

type JoinClause_WhereIntegerNotInRaw_Call

type JoinClause_WhereIntegerNotInRaw_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereIntegerNotInRaw_Call) Return

func (*JoinClause_WhereIntegerNotInRaw_Call) Run

func (_c *JoinClause_WhereIntegerNotInRaw_Call) Run(run func(column string, values []interface{})) *JoinClause_WhereIntegerNotInRaw_Call

func (*JoinClause_WhereIntegerNotInRaw_Call) RunAndReturn

type JoinClause_WhereJsonDoesntOverlap_Call

type JoinClause_WhereJsonDoesntOverlap_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereJsonDoesntOverlap_Call) Return

func (*JoinClause_WhereJsonDoesntOverlap_Call) Run

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

func (*JoinClause_WhereJsonDoesntOverlap_Call) RunAndReturn

type JoinClause_WhereJsonOverlaps_Call

type JoinClause_WhereJsonOverlaps_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereJsonOverlaps_Call) Return

func (*JoinClause_WhereJsonOverlaps_Call) Run

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

func (*JoinClause_WhereJsonOverlaps_Call) RunAndReturn

type JoinClause_WhereMonth_Call

type JoinClause_WhereMonth_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereMonth_Call) Return

func (*JoinClause_WhereMonth_Call) Run

func (_c *JoinClause_WhereMonth_Call) Run(run func(column string, args ...interface{})) *JoinClause_WhereMonth_Call

func (*JoinClause_WhereMonth_Call) RunAndReturn

func (_c *JoinClause_WhereMonth_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_WhereMonth_Call

type JoinClause_WhereNotBetweenColumns_Call

type JoinClause_WhereNotBetweenColumns_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereNotBetweenColumns_Call) Return

func (*JoinClause_WhereNotBetweenColumns_Call) Run

func (*JoinClause_WhereNotBetweenColumns_Call) RunAndReturn

type JoinClause_WhereNotBetween_Call

type JoinClause_WhereNotBetween_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereNotBetween_Call) Return

func (*JoinClause_WhereNotBetween_Call) Run

func (_c *JoinClause_WhereNotBetween_Call) Run(run func(column string, lower interface{}, upper interface{})) *JoinClause_WhereNotBetween_Call

func (*JoinClause_WhereNotBetween_Call) RunAndReturn

func (_c *JoinClause_WhereNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) db.JoinClause) *JoinClause_WhereNotBetween_Call

type JoinClause_WhereNotExists_Call

type JoinClause_WhereNotExists_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereNotExists_Call) Return

func (*JoinClause_WhereNotExists_Call) Run

func (_c *JoinClause_WhereNotExists_Call) Run(run func(query interface{})) *JoinClause_WhereNotExists_Call

func (*JoinClause_WhereNotExists_Call) RunAndReturn

func (_c *JoinClause_WhereNotExists_Call) RunAndReturn(run func(interface{}) db.JoinClause) *JoinClause_WhereNotExists_Call

type JoinClause_WhereNotIn_Call

type JoinClause_WhereNotIn_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereNotIn_Call) Return

func (*JoinClause_WhereNotIn_Call) Run

func (_c *JoinClause_WhereNotIn_Call) Run(run func(column string, values []interface{})) *JoinClause_WhereNotIn_Call

func (*JoinClause_WhereNotIn_Call) RunAndReturn

func (_c *JoinClause_WhereNotIn_Call) RunAndReturn(run func(string, []interface{}) db.JoinClause) *JoinClause_WhereNotIn_Call

type JoinClause_WhereNotNull_Call

type JoinClause_WhereNotNull_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereNotNull_Call) Return

func (*JoinClause_WhereNotNull_Call) Run

func (*JoinClause_WhereNotNull_Call) RunAndReturn

type JoinClause_WhereNot_Call

type JoinClause_WhereNot_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereNot_Call) Return

func (*JoinClause_WhereNot_Call) Run

func (_c *JoinClause_WhereNot_Call) Run(run func(query interface{}, args ...interface{})) *JoinClause_WhereNot_Call

func (*JoinClause_WhereNot_Call) RunAndReturn

func (_c *JoinClause_WhereNot_Call) RunAndReturn(run func(interface{}, ...interface{}) db.JoinClause) *JoinClause_WhereNot_Call

type JoinClause_WhereNowOrFuture_Call

type JoinClause_WhereNowOrFuture_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereNowOrFuture_Call) Return

func (*JoinClause_WhereNowOrFuture_Call) Run

func (*JoinClause_WhereNowOrFuture_Call) RunAndReturn

type JoinClause_WhereNowOrPast_Call

type JoinClause_WhereNowOrPast_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereNowOrPast_Call) Return

func (*JoinClause_WhereNowOrPast_Call) Run

func (*JoinClause_WhereNowOrPast_Call) RunAndReturn

type JoinClause_WhereNull_Call

type JoinClause_WhereNull_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereNull_Call) Return

func (*JoinClause_WhereNull_Call) Run

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

func (*JoinClause_WhereNull_Call) RunAndReturn

type JoinClause_WherePast_Call

type JoinClause_WherePast_Call struct {
	*mock.Call
}

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

func (*JoinClause_WherePast_Call) Return

func (*JoinClause_WherePast_Call) Run

func (_c *JoinClause_WherePast_Call) Run(run func(columns ...string)) *JoinClause_WherePast_Call

func (*JoinClause_WherePast_Call) RunAndReturn

type JoinClause_WhereRaw_Call

type JoinClause_WhereRaw_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereRaw_Call) Return

func (*JoinClause_WhereRaw_Call) Run

func (_c *JoinClause_WhereRaw_Call) Run(run func(sql string, bindings []interface{})) *JoinClause_WhereRaw_Call

func (*JoinClause_WhereRaw_Call) RunAndReturn

func (_c *JoinClause_WhereRaw_Call) RunAndReturn(run func(string, []interface{}) db.JoinClause) *JoinClause_WhereRaw_Call

type JoinClause_WhereRowValues_Call

type JoinClause_WhereRowValues_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereRowValues_Call) Return

func (*JoinClause_WhereRowValues_Call) Run

func (_c *JoinClause_WhereRowValues_Call) Run(run func(columns []string, operator string, values []interface{})) *JoinClause_WhereRowValues_Call

func (*JoinClause_WhereRowValues_Call) RunAndReturn

func (_c *JoinClause_WhereRowValues_Call) RunAndReturn(run func([]string, string, []interface{}) db.JoinClause) *JoinClause_WhereRowValues_Call

type JoinClause_WhereTime_Call

type JoinClause_WhereTime_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereTime_Call) Return

func (*JoinClause_WhereTime_Call) Run

func (_c *JoinClause_WhereTime_Call) Run(run func(column string, args ...interface{})) *JoinClause_WhereTime_Call

func (*JoinClause_WhereTime_Call) RunAndReturn

func (_c *JoinClause_WhereTime_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_WhereTime_Call

type JoinClause_WhereTodayOrAfter_Call

type JoinClause_WhereTodayOrAfter_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereTodayOrAfter_Call) Return

func (*JoinClause_WhereTodayOrAfter_Call) Run

func (*JoinClause_WhereTodayOrAfter_Call) RunAndReturn

type JoinClause_WhereTodayOrBefore_Call

type JoinClause_WhereTodayOrBefore_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereTodayOrBefore_Call) Return

func (*JoinClause_WhereTodayOrBefore_Call) Run

func (*JoinClause_WhereTodayOrBefore_Call) RunAndReturn

type JoinClause_WhereToday_Call

type JoinClause_WhereToday_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereToday_Call) Return

func (*JoinClause_WhereToday_Call) Run

func (_c *JoinClause_WhereToday_Call) Run(run func(columns ...string)) *JoinClause_WhereToday_Call

func (*JoinClause_WhereToday_Call) RunAndReturn

type JoinClause_WhereValueBetween_Call

type JoinClause_WhereValueBetween_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereValueBetween_Call) Return

func (*JoinClause_WhereValueBetween_Call) Run

func (_c *JoinClause_WhereValueBetween_Call) Run(run func(value interface{}, lower string, upper string)) *JoinClause_WhereValueBetween_Call

func (*JoinClause_WhereValueBetween_Call) RunAndReturn

type JoinClause_WhereValueNotBetween_Call

type JoinClause_WhereValueNotBetween_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereValueNotBetween_Call) Return

func (*JoinClause_WhereValueNotBetween_Call) Run

func (_c *JoinClause_WhereValueNotBetween_Call) Run(run func(value interface{}, lower string, upper string)) *JoinClause_WhereValueNotBetween_Call

func (*JoinClause_WhereValueNotBetween_Call) RunAndReturn

type JoinClause_WhereYear_Call

type JoinClause_WhereYear_Call struct {
	*mock.Call
}

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

func (*JoinClause_WhereYear_Call) Return

func (*JoinClause_WhereYear_Call) Run

func (_c *JoinClause_WhereYear_Call) Run(run func(column string, args ...interface{})) *JoinClause_WhereYear_Call

func (*JoinClause_WhereYear_Call) RunAndReturn

func (_c *JoinClause_WhereYear_Call) RunAndReturn(run func(string, ...interface{}) db.JoinClause) *JoinClause_WhereYear_Call

type JoinClause_Where_Call

type JoinClause_Where_Call struct {
	*mock.Call
}

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

func (*JoinClause_Where_Call) Return

func (*JoinClause_Where_Call) Run

func (_c *JoinClause_Where_Call) Run(run func(query interface{}, args ...interface{})) *JoinClause_Where_Call

func (*JoinClause_Where_Call) RunAndReturn

func (_c *JoinClause_Where_Call) RunAndReturn(run func(interface{}, ...interface{}) db.JoinClause) *JoinClause_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) AddBinding

func (_m *Query) AddBinding(value interface{}, component string) db.Query

AddBinding provides a mock function with given fields: value, component

func (*Query) AddSelect

func (_m *Query) AddSelect(columns ...interface{}) db.Query

AddSelect provides a mock function with given fields: columns

func (*Query) AfterQuery

func (_m *Query) AfterQuery(callback func(interface{}) interface{}) db.Query

AfterQuery provides a mock function with given fields: callback

func (*Query) Avg

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

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

func (*Query) BeforeQuery

func (_m *Query) BeforeQuery(callback func(db.Query) db.Query) db.Query

BeforeQuery provides a mock function with given fields: callback

func (*Query) Chunk

func (_m *Query) Chunk(size uint64, callback func([]db.Row) error) error

Chunk provides a mock function with given fields: size, callback

func (*Query) ChunkById

func (_m *Query) ChunkById(size uint64, callback func([]db.Row) error, column ...string) error

ChunkById provides a mock function with given fields: size, callback, column

func (*Query) ChunkByIdDesc

func (_m *Query) ChunkByIdDesc(size uint64, callback func([]db.Row) error, column ...string) error

ChunkByIdDesc provides a mock function with given fields: size, callback, column

func (*Query) ChunkMap

func (_m *Query) ChunkMap(size uint64, callback func(db.Row) (interface{}, error)) ([]interface{}, error)

ChunkMap provides a mock function with given fields: size, callback

func (*Query) Clone

func (_m *Query) Clone() db.Query

Clone provides a mock function with no fields

func (*Query) CloneWithout

func (_m *Query) CloneWithout(components ...string) db.Query

CloneWithout provides a mock function with given fields: components

func (*Query) CloneWithoutBindings

func (_m *Query) CloneWithoutBindings(bindings ...string) db.Query

CloneWithoutBindings provides a mock function with given fields: bindings

func (*Query) Count

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

Count provides a mock function with no fields

func (*Query) CrossJoin

func (_m *Query) CrossJoin(query string, args ...interface{}) db.Query

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

func (*Query) CrossJoinSub

func (_m *Query) CrossJoinSub(query interface{}, as string) db.Query

CrossJoinSub provides a mock function with given fields: query, as

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

func (_m *Query) Decrement(column string, value ...uint64) error

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

func (*Query) DecrementEach

func (_m *Query) DecrementEach(columns interface{}, extra ...map[string]interface{}) (*db.Result, error)

DecrementEach provides a mock function with given fields: columns, extra

func (*Query) Delete

func (_m *Query) Delete() (*db.Result, error)

Delete provides a mock function with no fields

func (*Query) Distinct

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

Distinct provides a mock function with given fields: columns

func (*Query) DoesntExist

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

DoesntExist provides a mock function with no fields

func (*Query) DoesntExistOr

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

DoesntExistOr provides a mock function with given fields: callback

func (*Query) DynamicWhere

func (_m *Query) DynamicWhere(method string, parameters ...interface{}) db.Query

DynamicWhere provides a mock function with given fields: method, parameters

func (*Query) EXPECT

func (_m *Query) EXPECT() *Query_Expecter

func (*Query) Each

func (_m *Query) Each(callback func(db.Row) error) error

Each provides a mock function with given fields: callback

func (*Query) EachById

func (_m *Query) EachById(size uint64, callback func(db.Row) error, column ...string) error

EachById provides a mock function with given fields: size, callback, column

func (*Query) Exists

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

Exists provides a mock function with no fields

func (*Query) ExistsOr

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

ExistsOr provides a mock function with given fields: callback

func (*Query) Explain

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

Explain provides a mock function with given fields: dest

func (*Query) Find

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

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

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

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

FirstOrFail provides a mock function with given fields: dest

func (*Query) ForPage

func (_m *Query) ForPage(page int, perPage ...int) db.Query

ForPage provides a mock function with given fields: page, perPage

func (*Query) ForPageAfterId

func (_m *Query) ForPageAfterId(perPage int, lastID interface{}, column ...string) db.Query

ForPageAfterId provides a mock function with given fields: perPage, lastID, column

func (*Query) ForPageBeforeId

func (_m *Query) ForPageBeforeId(perPage int, lastID interface{}, column ...string) db.Query

ForPageBeforeId provides a mock function with given fields: perPage, lastID, column

func (*Query) ForceIndex

func (_m *Query) ForceIndex(index string) db.Query

ForceIndex provides a mock function with given fields: index

func (*Query) From

func (_m *Query) From(table interface{}, alias ...string) db.Query

From provides a mock function with given fields: table, alias

func (*Query) FromRaw

func (_m *Query) FromRaw(sql string, bindings ...interface{}) db.Query

FromRaw provides a mock function with given fields: sql, bindings

func (*Query) FromSub

func (_m *Query) FromSub(query interface{}, as string) db.Query

FromSub provides a mock function with given fields: query, as

func (*Query) Get

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

Get provides a mock function with given fields: dest

func (*Query) GetBindings

func (_m *Query) GetBindings() []interface{}

GetBindings provides a mock function with no fields

func (*Query) GetColumns

func (_m *Query) GetColumns() []string

GetColumns provides a mock function with no fields

func (*Query) GetCountForPagination

func (_m *Query) GetCountForPagination(columns ...string) (int64, error)

GetCountForPagination provides a mock function with given fields: columns

func (*Query) GetLimit

func (_m *Query) GetLimit() *int

GetLimit provides a mock function with no fields

func (*Query) GetOffset

func (_m *Query) GetOffset() *int

GetOffset provides a mock function with no fields

func (*Query) GetRawBindings

func (_m *Query) GetRawBindings() map[string][]interface{}

GetRawBindings provides a mock function with no fields

func (*Query) GroupBy

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

GroupBy provides a mock function with given fields: column

func (*Query) GroupByRaw

func (_m *Query) GroupByRaw(sql string, bindings ...interface{}) db.Query

GroupByRaw provides a mock function with given fields: sql, bindings

func (*Query) GroupLimit

func (_m *Query) GroupLimit(limit int, column string) db.Query

GroupLimit provides a mock function with given fields: limit, column

func (*Query) Having

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

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

func (*Query) HavingBetween

func (_m *Query) HavingBetween(column string, lower interface{}, upper interface{}) db.Query

HavingBetween provides a mock function with given fields: column, lower, upper

func (*Query) HavingNested

func (_m *Query) HavingNested(callback func(db.Query) db.Query) db.Query

HavingNested provides a mock function with given fields: callback

func (*Query) HavingNotBetween

func (_m *Query) HavingNotBetween(column string, lower interface{}, upper interface{}) db.Query

HavingNotBetween provides a mock function with given fields: column, lower, upper

func (*Query) HavingNotNull

func (_m *Query) HavingNotNull(columns ...string) db.Query

HavingNotNull provides a mock function with given fields: columns

func (*Query) HavingNull

func (_m *Query) HavingNull(columns ...string) db.Query

HavingNull provides a mock function with given fields: columns

func (*Query) HavingRaw

func (_m *Query) HavingRaw(sql string, bindings ...interface{}) db.Query

HavingRaw provides a mock function with given fields: sql, bindings

func (*Query) IgnoreIndex

func (_m *Query) IgnoreIndex(index string) db.Query

IgnoreIndex provides a mock function with given fields: index

func (*Query) Implode

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

Implode provides a mock function with given fields: column, glue, dest

func (*Query) InRandomOrder

func (_m *Query) InRandomOrder(seed ...interface{}) db.Query

InRandomOrder provides a mock function with given fields: seed

func (*Query) Increment

func (_m *Query) Increment(column string, value ...uint64) error

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

func (*Query) IncrementEach

func (_m *Query) IncrementEach(columns interface{}, extra ...map[string]interface{}) (*db.Result, error)

IncrementEach provides a mock function with given fields: columns, extra

func (*Query) Insert

func (_m *Query) Insert(data interface{}) (*db.Result, error)

Insert provides a mock function with given fields: data

func (*Query) InsertGetID

func (_m *Query) InsertGetID(data interface{}, sequence ...string) (int64, error)

InsertGetID provides a mock function with given fields: data, sequence

func (*Query) InsertOrIgnore

func (_m *Query) InsertOrIgnore(data interface{}) (*db.Result, error)

InsertOrIgnore provides a mock function with given fields: data

func (*Query) InsertOrIgnoreUsing

func (_m *Query) InsertOrIgnoreUsing(columns []string, query interface{}) (*db.Result, error)

InsertOrIgnoreUsing provides a mock function with given fields: columns, query

func (*Query) InsertUsing

func (_m *Query) InsertUsing(columns []string, query interface{}) (*db.Result, error)

InsertUsing provides a mock function with given fields: columns, query

func (*Query) Join

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

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

func (*Query) JoinLateral

func (_m *Query) JoinLateral(query interface{}, as string) db.Query

JoinLateral provides a mock function with given fields: query, as

func (*Query) JoinSub

func (_m *Query) JoinSub(query interface{}, as string, first interface{}, args ...interface{}) db.Query

JoinSub provides a mock function with given fields: query, as, first, args

func (*Query) JoinWhere

func (_m *Query) JoinWhere(table string, column string, operator string, value interface{}) db.Query

JoinWhere provides a mock function with given fields: table, column, operator, value

func (*Query) Latest

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

Latest provides a mock function with given fields: column

func (*Query) Lazy

func (_m *Query) Lazy(chunkSize ...uint64) iter.Seq2[db.Row, error]

Lazy provides a mock function with given fields: chunkSize

func (*Query) LazyById

func (_m *Query) LazyById(chunkSize uint64, column ...string) iter.Seq2[db.Row, error]

LazyById provides a mock function with given fields: chunkSize, column

func (*Query) LazyByIdDesc

func (_m *Query) LazyByIdDesc(chunkSize uint64, column ...string) iter.Seq2[db.Row, error]

LazyByIdDesc provides a mock function with given fields: chunkSize, column

func (*Query) LeftJoin

func (_m *Query) LeftJoin(query string, args ...interface{}) db.Query

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

func (*Query) LeftJoinLateral

func (_m *Query) LeftJoinLateral(query interface{}, as string) db.Query

LeftJoinLateral provides a mock function with given fields: query, as

func (*Query) LeftJoinSub

func (_m *Query) LeftJoinSub(query interface{}, as string, first interface{}, args ...interface{}) db.Query

LeftJoinSub provides a mock function with given fields: query, as, first, args

func (*Query) LeftJoinWhere

func (_m *Query) LeftJoinWhere(table string, column string, operator string, value interface{}) db.Query

LeftJoinWhere provides a mock function with given fields: table, column, operator, value

func (*Query) Limit

func (_m *Query) Limit(limit uint64) db.Query

Limit provides a mock function with given fields: limit

func (*Query) Lock

func (_m *Query) Lock(value interface{}) db.Query

Lock provides a mock function with given fields: value

func (*Query) LockForUpdate

func (_m *Query) LockForUpdate() db.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) NewQuery

func (_m *Query) NewQuery() db.Query

NewQuery provides a mock function with no fields

func (*Query) Offset

func (_m *Query) Offset(offset uint64) db.Query

Offset provides a mock function with given fields: offset

func (*Query) Oldest

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

Oldest provides a mock function with given fields: column

func (*Query) OrHaving

func (_m *Query) OrHaving(column interface{}, args ...interface{}) db.Query

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

func (*Query) OrHavingNotNull

func (_m *Query) OrHavingNotNull(columns ...string) db.Query

OrHavingNotNull provides a mock function with given fields: columns

func (*Query) OrHavingNull

func (_m *Query) OrHavingNull(columns ...string) db.Query

OrHavingNull provides a mock function with given fields: columns

func (*Query) OrHavingRaw

func (_m *Query) OrHavingRaw(sql string, bindings ...interface{}) db.Query

OrHavingRaw provides a mock function with given fields: sql, bindings

func (*Query) OrWhere

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

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

func (*Query) OrWhereAfterToday

func (_m *Query) OrWhereAfterToday(columns ...string) db.Query

OrWhereAfterToday provides a mock function with given fields: columns

func (*Query) OrWhereAll

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

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

func (*Query) OrWhereAny

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

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

func (*Query) OrWhereBeforeToday

func (_m *Query) OrWhereBeforeToday(columns ...string) db.Query

OrWhereBeforeToday provides a mock function with given fields: columns

func (*Query) OrWhereBetween

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

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

func (*Query) OrWhereBetweenColumns

func (_m *Query) OrWhereBetweenColumns(column string, lower string, upper string) db.Query

OrWhereBetweenColumns provides a mock function with given fields: column, lower, upper

func (*Query) OrWhereColumn

func (_m *Query) OrWhereColumn(column1 string, column2 ...string) db.Query

OrWhereColumn provides a mock function with given fields: column1, column2

func (*Query) OrWhereDate

func (_m *Query) OrWhereDate(column string, args ...interface{}) db.Query

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

func (*Query) OrWhereDay

func (_m *Query) OrWhereDay(column string, args ...interface{}) db.Query

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

func (*Query) OrWhereExists

func (_m *Query) OrWhereExists(query interface{}) db.Query

OrWhereExists provides a mock function with given fields: query

func (*Query) OrWhereFullText

func (_m *Query) OrWhereFullText(columns []string, value string, options ...string) db.Query

OrWhereFullText provides a mock function with given fields: columns, value, options

func (*Query) OrWhereFuture

func (_m *Query) OrWhereFuture(columns ...string) db.Query

OrWhereFuture provides a mock function with given fields: columns

func (*Query) OrWhereIn

func (_m *Query) OrWhereIn(column string, values interface{}) db.Query

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

func (*Query) OrWhereIntegerInRaw

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

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

func (*Query) OrWhereIntegerNotInRaw

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

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

func (*Query) OrWhereJsonContains

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

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

func (*Query) OrWhereJsonContainsKey

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

OrWhereJsonContainsKey provides a mock function with given fields: column

func (*Query) OrWhereJsonDoesntContain

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

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

func (*Query) OrWhereJsonDoesntContainKey

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

OrWhereJsonDoesntContainKey provides a mock function with given fields: column

func (*Query) OrWhereJsonDoesntOverlap

func (_m *Query) OrWhereJsonDoesntOverlap(column string, value interface{}) db.Query

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

func (*Query) OrWhereJsonLength

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

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

func (*Query) OrWhereJsonOverlaps

func (_m *Query) OrWhereJsonOverlaps(column string, value interface{}) db.Query

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

func (*Query) OrWhereLike

func (_m *Query) OrWhereLike(column string, value string, caseSensitive ...bool) db.Query

OrWhereLike provides a mock function with given fields: column, value, caseSensitive

func (*Query) OrWhereMonth

func (_m *Query) OrWhereMonth(column string, args ...interface{}) db.Query

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

func (*Query) OrWhereNone

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

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

func (*Query) OrWhereNot

func (_m *Query) OrWhereNot(query interface{}, args ...interface{}) db.Query

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

func (*Query) OrWhereNotBetween

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

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

func (*Query) OrWhereNotBetweenColumns

func (_m *Query) OrWhereNotBetweenColumns(column string, lower string, upper string) db.Query

OrWhereNotBetweenColumns provides a mock function with given fields: column, lower, upper

func (*Query) OrWhereNotExists

func (_m *Query) OrWhereNotExists(query interface{}) db.Query

OrWhereNotExists provides a mock function with given fields: query

func (*Query) OrWhereNotIn

func (_m *Query) OrWhereNotIn(column string, values interface{}) db.Query

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

func (*Query) OrWhereNotLike

func (_m *Query) OrWhereNotLike(column string, value string, caseSensitive ...bool) db.Query

OrWhereNotLike provides a mock function with given fields: column, value, caseSensitive

func (*Query) OrWhereNotNull

func (_m *Query) OrWhereNotNull(column string) db.Query

OrWhereNotNull provides a mock function with given fields: column

func (*Query) OrWhereNowOrFuture

func (_m *Query) OrWhereNowOrFuture(columns ...string) db.Query

OrWhereNowOrFuture provides a mock function with given fields: columns

func (*Query) OrWhereNowOrPast

func (_m *Query) OrWhereNowOrPast(columns ...string) db.Query

OrWhereNowOrPast provides a mock function with given fields: columns

func (*Query) OrWhereNull

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

OrWhereNull provides a mock function with given fields: column

func (*Query) OrWherePast

func (_m *Query) OrWherePast(columns ...string) db.Query

OrWherePast provides a mock function with given fields: columns

func (*Query) OrWhereRaw

func (_m *Query) OrWhereRaw(raw string, args []interface{}) db.Query

OrWhereRaw provides a mock function with given fields: raw, args

func (*Query) OrWhereRowValues

func (_m *Query) OrWhereRowValues(columns []string, operator string, values []interface{}) db.Query

OrWhereRowValues provides a mock function with given fields: columns, operator, values

func (*Query) OrWhereTime

func (_m *Query) OrWhereTime(column string, args ...interface{}) db.Query

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

func (*Query) OrWhereToday

func (_m *Query) OrWhereToday(columns ...string) db.Query

OrWhereToday provides a mock function with given fields: columns

func (*Query) OrWhereTodayOrAfter

func (_m *Query) OrWhereTodayOrAfter(columns ...string) db.Query

OrWhereTodayOrAfter provides a mock function with given fields: columns

func (*Query) OrWhereTodayOrBefore

func (_m *Query) OrWhereTodayOrBefore(columns ...string) db.Query

OrWhereTodayOrBefore provides a mock function with given fields: columns

func (*Query) OrWhereValueBetween

func (_m *Query) OrWhereValueBetween(value interface{}, lower string, upper string) db.Query

OrWhereValueBetween provides a mock function with given fields: value, lower, upper

func (*Query) OrWhereValueNotBetween

func (_m *Query) OrWhereValueNotBetween(value interface{}, lower string, upper string) db.Query

OrWhereValueNotBetween provides a mock function with given fields: value, lower, upper

func (*Query) OrWhereYear

func (_m *Query) OrWhereYear(column string, args ...interface{}) db.Query

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

func (*Query) OrderBy

func (_m *Query) OrderBy(column interface{}, directions ...string) db.Query

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

func (*Query) OrderByDesc

func (_m *Query) OrderByDesc(column interface{}) db.Query

OrderByDesc provides a mock function with given fields: column

func (*Query) OrderByRaw

func (_m *Query) OrderByRaw(raw string, bindings ...interface{}) db.Query

OrderByRaw provides a mock function with given fields: raw, bindings

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

func (_m *Query) Pipe(callback func(db.Query) interface{}) interface{}

Pipe provides a mock function with given fields: callback

func (*Query) Pluck

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

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

func (*Query) RawValue

func (_m *Query) RawValue(expression string, dest interface{}) error

RawValue provides a mock function with given fields: expression, dest

func (*Query) Reorder

func (_m *Query) Reorder(column ...string) db.Query

Reorder provides a mock function with given fields: column

func (*Query) ReorderDesc

func (_m *Query) ReorderDesc(column string) db.Query

ReorderDesc provides a mock function with given fields: column

func (*Query) RightJoin

func (_m *Query) RightJoin(query string, args ...interface{}) db.Query

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

func (*Query) RightJoinSub

func (_m *Query) RightJoinSub(query interface{}, as string, first interface{}, args ...interface{}) db.Query

RightJoinSub provides a mock function with given fields: query, as, first, args

func (*Query) RightJoinWhere

func (_m *Query) RightJoinWhere(table string, column string, operator string, value interface{}) db.Query

RightJoinWhere provides a mock function with given fields: table, column, operator, value

func (*Query) Select

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

Select provides a mock function with given fields: columns

func (*Query) SelectRaw

func (_m *Query) SelectRaw(sql string, bindings ...interface{}) db.Query

SelectRaw provides a mock function with given fields: sql, bindings

func (*Query) SelectSub

func (_m *Query) SelectSub(query interface{}, as string) db.Query

SelectSub provides a mock function with given fields: query, as

func (*Query) SetBindings

func (_m *Query) SetBindings(values []interface{}, component string) db.Query

SetBindings provides a mock function with given fields: values, component

func (*Query) SharedLock

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

SharedLock provides a mock function with no fields

func (*Query) SimplePaginate

func (_m *Query) SimplePaginate(page int, limit int, dest interface{}) (bool, error)

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

func (*Query) Skip

func (_m *Query) Skip(offset int) db.Query

Skip provides a mock function with given fields: offset

func (*Query) Sole

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

Sole provides a mock function with given fields: dest

func (*Query) SoleValue

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

SoleValue provides a mock function with given fields: column, 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) Take

func (_m *Query) Take(limit int) db.Query

Take provides a mock function with given fields: limit

func (*Query) Tap

func (_m *Query) Tap(callback func(db.Query)) db.Query

Tap provides a mock function with given fields: callback

func (*Query) ToRawSql

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

ToRawSql provides a mock function with no fields

func (*Query) ToSql

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

ToSql provides a mock function with no fields

func (*Query) Truncate

func (_m *Query) Truncate() error

Truncate provides a mock function with no fields

func (*Query) Union

func (_m *Query) Union(query interface{}) db.Query

Union provides a mock function with given fields: query

func (*Query) UnionAll

func (_m *Query) UnionAll(query interface{}) db.Query

UnionAll provides a mock function with given fields: query

func (*Query) Unless

func (_m *Query) Unless(condition bool, callback func(db.Query) db.Query, otherwise ...func(db.Query) db.Query) db.Query

Unless provides a mock function with given fields: condition, callback, otherwise

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

func (_m *Query) UpdateFrom(values interface{}) (*db.Result, error)

UpdateFrom provides a mock function with given fields: values

func (*Query) UpdateOrInsert

func (_m *Query) UpdateOrInsert(attributes interface{}, values interface{}) (*db.Result, error)

UpdateOrInsert provides a mock function with given fields: attributes, values

func (*Query) Upsert

func (_m *Query) Upsert(data interface{}, uniqueBy []string, update ...interface{}) (*db.Result, error)

Upsert provides a mock function with given fields: data, uniqueBy, update

func (*Query) UseIndex

func (_m *Query) UseIndex(index string) db.Query

UseIndex provides a mock function with given fields: index

func (*Query) UseWritePdo

func (_m *Query) UseWritePdo() db.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(db.Query) db.Query, falseCallback ...func(db.Query) db.Query) db.Query

When provides a mock function with given fields: condition, callback, falseCallback

func (*Query) Where

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

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

func (*Query) WhereAfterToday

func (_m *Query) WhereAfterToday(columns ...string) db.Query

WhereAfterToday provides a mock function with given fields: columns

func (*Query) WhereAll

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

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

func (*Query) WhereAny

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

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

func (*Query) WhereBeforeToday

func (_m *Query) WhereBeforeToday(columns ...string) db.Query

WhereBeforeToday provides a mock function with given fields: columns

func (*Query) WhereBetween

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

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

func (*Query) WhereBetweenColumns

func (_m *Query) WhereBetweenColumns(column string, lower string, upper string) db.Query

WhereBetweenColumns provides a mock function with given fields: column, lower, upper

func (*Query) WhereColumn

func (_m *Query) WhereColumn(column1 string, column2 ...string) db.Query

WhereColumn provides a mock function with given fields: column1, column2

func (*Query) WhereDate

func (_m *Query) WhereDate(column string, args ...interface{}) db.Query

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

func (*Query) WhereDay

func (_m *Query) WhereDay(column string, args ...interface{}) db.Query

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

func (*Query) WhereExists

func (_m *Query) WhereExists(query interface{}) db.Query

WhereExists provides a mock function with given fields: query

func (*Query) WhereFullText

func (_m *Query) WhereFullText(columns []string, value string, options ...string) db.Query

WhereFullText provides a mock function with given fields: columns, value, options

func (*Query) WhereFuture

func (_m *Query) WhereFuture(columns ...string) db.Query

WhereFuture provides a mock function with given fields: columns

func (*Query) WhereIn

func (_m *Query) WhereIn(column string, values interface{}) db.Query

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

func (*Query) WhereIntegerInRaw

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

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

func (*Query) WhereIntegerNotInRaw

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

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

func (*Query) WhereJsonContains

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

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

func (*Query) WhereJsonContainsKey

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

WhereJsonContainsKey provides a mock function with given fields: column

func (*Query) WhereJsonDoesntContain

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

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

func (*Query) WhereJsonDoesntContainKey

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

WhereJsonDoesntContainKey provides a mock function with given fields: column

func (*Query) WhereJsonDoesntOverlap

func (_m *Query) WhereJsonDoesntOverlap(column string, value interface{}) db.Query

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

func (*Query) WhereJsonLength

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

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

func (*Query) WhereJsonOverlaps

func (_m *Query) WhereJsonOverlaps(column string, value interface{}) db.Query

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

func (*Query) WhereLike

func (_m *Query) WhereLike(column string, value string, caseSensitive ...bool) db.Query

WhereLike provides a mock function with given fields: column, value, caseSensitive

func (*Query) WhereMonth

func (_m *Query) WhereMonth(column string, args ...interface{}) db.Query

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

func (*Query) WhereNested

func (_m *Query) WhereNested(callback func(db.Query) db.Query) db.Query

WhereNested provides a mock function with given fields: callback

func (*Query) WhereNone

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

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

func (*Query) WhereNot

func (_m *Query) WhereNot(query interface{}, args ...interface{}) db.Query

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

func (*Query) WhereNotBetween

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

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

func (*Query) WhereNotBetweenColumns

func (_m *Query) WhereNotBetweenColumns(column string, lower string, upper string) db.Query

WhereNotBetweenColumns provides a mock function with given fields: column, lower, upper

func (*Query) WhereNotExists

func (_m *Query) WhereNotExists(query interface{}) db.Query

WhereNotExists provides a mock function with given fields: query

func (*Query) WhereNotIn

func (_m *Query) WhereNotIn(column string, values interface{}) db.Query

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

func (*Query) WhereNotLike

func (_m *Query) WhereNotLike(column string, value string, caseSensitive ...bool) db.Query

WhereNotLike provides a mock function with given fields: column, value, caseSensitive

func (*Query) WhereNotNull

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

WhereNotNull provides a mock function with given fields: column

func (*Query) WhereNowOrFuture

func (_m *Query) WhereNowOrFuture(columns ...string) db.Query

WhereNowOrFuture provides a mock function with given fields: columns

func (*Query) WhereNowOrPast

func (_m *Query) WhereNowOrPast(columns ...string) db.Query

WhereNowOrPast provides a mock function with given fields: columns

func (*Query) WhereNull

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

WhereNull provides a mock function with given fields: column

func (*Query) WherePast

func (_m *Query) WherePast(columns ...string) db.Query

WherePast provides a mock function with given fields: columns

func (*Query) WhereRaw

func (_m *Query) WhereRaw(raw string, args []interface{}) db.Query

WhereRaw provides a mock function with given fields: raw, args

func (*Query) WhereRowValues

func (_m *Query) WhereRowValues(columns []string, operator string, values []interface{}) db.Query

WhereRowValues provides a mock function with given fields: columns, operator, values

func (*Query) WhereTime

func (_m *Query) WhereTime(column string, args ...interface{}) db.Query

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

func (*Query) WhereToday

func (_m *Query) WhereToday(columns ...string) db.Query

WhereToday provides a mock function with given fields: columns

func (*Query) WhereTodayOrAfter

func (_m *Query) WhereTodayOrAfter(columns ...string) db.Query

WhereTodayOrAfter provides a mock function with given fields: columns

func (*Query) WhereTodayOrBefore

func (_m *Query) WhereTodayOrBefore(columns ...string) db.Query

WhereTodayOrBefore provides a mock function with given fields: columns

func (*Query) WhereValueBetween

func (_m *Query) WhereValueBetween(value interface{}, lower string, upper string) db.Query

WhereValueBetween provides a mock function with given fields: value, lower, upper

func (*Query) WhereValueNotBetween

func (_m *Query) WhereValueNotBetween(value interface{}, lower string, upper string) db.Query

WhereValueNotBetween provides a mock function with given fields: value, lower, upper

func (*Query) WhereYear

func (_m *Query) WhereYear(column string, args ...interface{}) db.Query

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

type Query_AddBinding_Call

type Query_AddBinding_Call struct {
	*mock.Call
}

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

func (*Query_AddBinding_Call) Return

func (*Query_AddBinding_Call) Run

func (_c *Query_AddBinding_Call) Run(run func(value interface{}, component string)) *Query_AddBinding_Call

func (*Query_AddBinding_Call) RunAndReturn

func (_c *Query_AddBinding_Call) RunAndReturn(run func(interface{}, string) db.Query) *Query_AddBinding_Call

type Query_AddSelect_Call

type Query_AddSelect_Call struct {
	*mock.Call
}

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

func (*Query_AddSelect_Call) Return

func (*Query_AddSelect_Call) Run

func (_c *Query_AddSelect_Call) Run(run func(columns ...interface{})) *Query_AddSelect_Call

func (*Query_AddSelect_Call) RunAndReturn

func (_c *Query_AddSelect_Call) RunAndReturn(run func(...interface{}) db.Query) *Query_AddSelect_Call

type Query_AfterQuery_Call

type Query_AfterQuery_Call struct {
	*mock.Call
}

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

func (*Query_AfterQuery_Call) Return

func (*Query_AfterQuery_Call) Run

func (_c *Query_AfterQuery_Call) Run(run func(callback func(interface{}) interface{})) *Query_AfterQuery_Call

func (*Query_AfterQuery_Call) RunAndReturn

func (_c *Query_AfterQuery_Call) RunAndReturn(run func(func(interface{}) interface{}) db.Query) *Query_AfterQuery_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_BeforeQuery_Call

type Query_BeforeQuery_Call struct {
	*mock.Call
}

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

func (*Query_BeforeQuery_Call) Return

func (*Query_BeforeQuery_Call) Run

func (_c *Query_BeforeQuery_Call) Run(run func(callback func(db.Query) db.Query)) *Query_BeforeQuery_Call

func (*Query_BeforeQuery_Call) RunAndReturn

func (_c *Query_BeforeQuery_Call) RunAndReturn(run func(func(db.Query) db.Query) db.Query) *Query_BeforeQuery_Call

type Query_ChunkByIdDesc_Call

type Query_ChunkByIdDesc_Call struct {
	*mock.Call
}

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

func (*Query_ChunkByIdDesc_Call) Return

func (*Query_ChunkByIdDesc_Call) Run

func (_c *Query_ChunkByIdDesc_Call) Run(run func(size uint64, callback func([]db.Row) error, column ...string)) *Query_ChunkByIdDesc_Call

func (*Query_ChunkByIdDesc_Call) RunAndReturn

func (_c *Query_ChunkByIdDesc_Call) RunAndReturn(run func(uint64, func([]db.Row) error, ...string) error) *Query_ChunkByIdDesc_Call

type Query_ChunkById_Call

type Query_ChunkById_Call struct {
	*mock.Call
}

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

func (*Query_ChunkById_Call) Return

func (*Query_ChunkById_Call) Run

func (_c *Query_ChunkById_Call) Run(run func(size uint64, callback func([]db.Row) error, column ...string)) *Query_ChunkById_Call

func (*Query_ChunkById_Call) RunAndReturn

func (_c *Query_ChunkById_Call) RunAndReturn(run func(uint64, func([]db.Row) error, ...string) error) *Query_ChunkById_Call

type Query_ChunkMap_Call

type Query_ChunkMap_Call struct {
	*mock.Call
}

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

func (*Query_ChunkMap_Call) Return

func (_c *Query_ChunkMap_Call) Return(_a0 []interface{}, _a1 error) *Query_ChunkMap_Call

func (*Query_ChunkMap_Call) Run

func (_c *Query_ChunkMap_Call) Run(run func(size uint64, callback func(db.Row) (interface{}, error))) *Query_ChunkMap_Call

func (*Query_ChunkMap_Call) RunAndReturn

func (_c *Query_ChunkMap_Call) RunAndReturn(run func(uint64, func(db.Row) (interface{}, error)) ([]interface{}, error)) *Query_ChunkMap_Call

type Query_Chunk_Call

type Query_Chunk_Call struct {
	*mock.Call
}

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

func (*Query_Chunk_Call) Return

func (_c *Query_Chunk_Call) Return(_a0 error) *Query_Chunk_Call

func (*Query_Chunk_Call) Run

func (_c *Query_Chunk_Call) Run(run func(size uint64, callback func([]db.Row) error)) *Query_Chunk_Call

func (*Query_Chunk_Call) RunAndReturn

func (_c *Query_Chunk_Call) RunAndReturn(run func(uint64, func([]db.Row) error) error) *Query_Chunk_Call

type Query_CloneWithoutBindings_Call

type Query_CloneWithoutBindings_Call struct {
	*mock.Call
}

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

func (*Query_CloneWithoutBindings_Call) Return

func (*Query_CloneWithoutBindings_Call) Run

func (*Query_CloneWithoutBindings_Call) RunAndReturn

type Query_CloneWithout_Call

type Query_CloneWithout_Call struct {
	*mock.Call
}

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

func (*Query_CloneWithout_Call) Return

func (*Query_CloneWithout_Call) Run

func (_c *Query_CloneWithout_Call) Run(run func(components ...string)) *Query_CloneWithout_Call

func (*Query_CloneWithout_Call) RunAndReturn

func (_c *Query_CloneWithout_Call) RunAndReturn(run func(...string) db.Query) *Query_CloneWithout_Call

type Query_Clone_Call

type Query_Clone_Call struct {
	*mock.Call
}

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

func (*Query_Clone_Call) Return

func (_c *Query_Clone_Call) Return(_a0 db.Query) *Query_Clone_Call

func (*Query_Clone_Call) Run

func (_c *Query_Clone_Call) Run(run func()) *Query_Clone_Call

func (*Query_Clone_Call) RunAndReturn

func (_c *Query_Clone_Call) RunAndReturn(run func() db.Query) *Query_Clone_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_CrossJoinSub_Call

type Query_CrossJoinSub_Call struct {
	*mock.Call
}

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

func (*Query_CrossJoinSub_Call) Return

func (*Query_CrossJoinSub_Call) Run

func (_c *Query_CrossJoinSub_Call) Run(run func(query interface{}, as string)) *Query_CrossJoinSub_Call

func (*Query_CrossJoinSub_Call) RunAndReturn

func (_c *Query_CrossJoinSub_Call) RunAndReturn(run func(interface{}, string) db.Query) *Query_CrossJoinSub_Call

type Query_CrossJoin_Call

type Query_CrossJoin_Call struct {
	*mock.Call
}

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

func (*Query_CrossJoin_Call) Return

func (*Query_CrossJoin_Call) Run

func (_c *Query_CrossJoin_Call) Run(run func(query string, args ...interface{})) *Query_CrossJoin_Call

func (*Query_CrossJoin_Call) RunAndReturn

func (_c *Query_CrossJoin_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_CrossJoin_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_DecrementEach_Call

type Query_DecrementEach_Call struct {
	*mock.Call
}

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

func (*Query_DecrementEach_Call) Return

func (*Query_DecrementEach_Call) Run

func (_c *Query_DecrementEach_Call) Run(run func(columns interface{}, extra ...map[string]interface{})) *Query_DecrementEach_Call

func (*Query_DecrementEach_Call) RunAndReturn

func (_c *Query_DecrementEach_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) (*db.Result, error)) *Query_DecrementEach_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 (*Query_Decrement_Call) Run

func (_c *Query_Decrement_Call) Run(run func(column string, value ...uint64)) *Query_Decrement_Call

func (*Query_Decrement_Call) RunAndReturn

func (_c *Query_Decrement_Call) RunAndReturn(run func(string, ...uint64) 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()) *Query_Delete_Call

func (*Query_Delete_Call) RunAndReturn

func (_c *Query_Delete_Call) RunAndReturn(run func() (*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) db.Query) *Query_Distinct_Call

type Query_DoesntExistOr_Call

type Query_DoesntExistOr_Call struct {
	*mock.Call
}

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

func (*Query_DoesntExistOr_Call) Return

func (_c *Query_DoesntExistOr_Call) Return(_a0 interface{}, _a1 error) *Query_DoesntExistOr_Call

func (*Query_DoesntExistOr_Call) Run

func (_c *Query_DoesntExistOr_Call) Run(run func(callback func() interface{})) *Query_DoesntExistOr_Call

func (*Query_DoesntExistOr_Call) RunAndReturn

func (_c *Query_DoesntExistOr_Call) RunAndReturn(run func(func() interface{}) (interface{}, error)) *Query_DoesntExistOr_Call

type Query_DoesntExist_Call

type Query_DoesntExist_Call struct {
	*mock.Call
}

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

func (*Query_DoesntExist_Call) Return

func (*Query_DoesntExist_Call) Run

func (_c *Query_DoesntExist_Call) Run(run func()) *Query_DoesntExist_Call

func (*Query_DoesntExist_Call) RunAndReturn

func (_c *Query_DoesntExist_Call) RunAndReturn(run func() (bool, error)) *Query_DoesntExist_Call

type Query_DynamicWhere_Call

type Query_DynamicWhere_Call struct {
	*mock.Call
}

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

func (*Query_DynamicWhere_Call) Return

func (*Query_DynamicWhere_Call) Run

func (_c *Query_DynamicWhere_Call) Run(run func(method string, parameters ...interface{})) *Query_DynamicWhere_Call

func (*Query_DynamicWhere_Call) RunAndReturn

func (_c *Query_DynamicWhere_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_DynamicWhere_Call

type Query_EachById_Call

type Query_EachById_Call struct {
	*mock.Call
}

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

func (*Query_EachById_Call) Return

func (*Query_EachById_Call) Run

func (_c *Query_EachById_Call) Run(run func(size uint64, callback func(db.Row) error, column ...string)) *Query_EachById_Call

func (*Query_EachById_Call) RunAndReturn

func (_c *Query_EachById_Call) RunAndReturn(run func(uint64, func(db.Row) error, ...string) error) *Query_EachById_Call

type Query_Each_Call

type Query_Each_Call struct {
	*mock.Call
}

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

func (*Query_Each_Call) Return

func (_c *Query_Each_Call) Return(_a0 error) *Query_Each_Call

func (*Query_Each_Call) Run

func (_c *Query_Each_Call) Run(run func(callback func(db.Row) error)) *Query_Each_Call

func (*Query_Each_Call) RunAndReturn

func (_c *Query_Each_Call) RunAndReturn(run func(func(db.Row) error) error) *Query_Each_Call

type Query_ExistsOr_Call

type Query_ExistsOr_Call struct {
	*mock.Call
}

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

func (*Query_ExistsOr_Call) Return

func (_c *Query_ExistsOr_Call) Return(_a0 interface{}, _a1 error) *Query_ExistsOr_Call

func (*Query_ExistsOr_Call) Run

func (_c *Query_ExistsOr_Call) Run(run func(callback func() interface{})) *Query_ExistsOr_Call

func (*Query_ExistsOr_Call) RunAndReturn

func (_c *Query_ExistsOr_Call) RunAndReturn(run func(func() interface{}) (interface{}, error)) *Query_ExistsOr_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) AddBinding

func (_e *Query_Expecter) AddBinding(value interface{}, component interface{}) *Query_AddBinding_Call

AddBinding is a helper method to define mock.On call

  • value interface{}
  • component string

func (*Query_Expecter) AddSelect

func (_e *Query_Expecter) AddSelect(columns ...interface{}) *Query_AddSelect_Call

AddSelect is a helper method to define mock.On call

  • columns ...interface{}

func (*Query_Expecter) AfterQuery

func (_e *Query_Expecter) AfterQuery(callback interface{}) *Query_AfterQuery_Call

AfterQuery is a helper method to define mock.On call

  • callback func(interface{}) interface{}

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

func (_e *Query_Expecter) BeforeQuery(callback interface{}) *Query_BeforeQuery_Call

BeforeQuery is a helper method to define mock.On call

  • callback func(db.Query) db.Query

func (*Query_Expecter) Chunk

func (_e *Query_Expecter) Chunk(size interface{}, callback interface{}) *Query_Chunk_Call

Chunk is a helper method to define mock.On call

  • size uint64
  • callback func([]db.Row) error

func (*Query_Expecter) ChunkById

func (_e *Query_Expecter) ChunkById(size interface{}, callback interface{}, column ...interface{}) *Query_ChunkById_Call

ChunkById is a helper method to define mock.On call

  • size uint64
  • callback func([]db.Row) error
  • column ...string

func (*Query_Expecter) ChunkByIdDesc

func (_e *Query_Expecter) ChunkByIdDesc(size interface{}, callback interface{}, column ...interface{}) *Query_ChunkByIdDesc_Call

ChunkByIdDesc is a helper method to define mock.On call

  • size uint64
  • callback func([]db.Row) error
  • column ...string

func (*Query_Expecter) ChunkMap

func (_e *Query_Expecter) ChunkMap(size interface{}, callback interface{}) *Query_ChunkMap_Call

ChunkMap is a helper method to define mock.On call

  • size uint64
  • callback func(db.Row)(interface{} , error)

func (*Query_Expecter) Clone

func (_e *Query_Expecter) Clone() *Query_Clone_Call

Clone is a helper method to define mock.On call

func (*Query_Expecter) CloneWithout

func (_e *Query_Expecter) CloneWithout(components ...interface{}) *Query_CloneWithout_Call

CloneWithout is a helper method to define mock.On call

  • components ...string

func (*Query_Expecter) CloneWithoutBindings

func (_e *Query_Expecter) CloneWithoutBindings(bindings ...interface{}) *Query_CloneWithoutBindings_Call

CloneWithoutBindings is a helper method to define mock.On call

  • bindings ...string

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

func (_e *Query_Expecter) CrossJoin(query interface{}, args ...interface{}) *Query_CrossJoin_Call

CrossJoin is a helper method to define mock.On call

  • query string
  • args ...interface{}

func (*Query_Expecter) CrossJoinSub

func (_e *Query_Expecter) CrossJoinSub(query interface{}, as interface{}) *Query_CrossJoinSub_Call

CrossJoinSub is a helper method to define mock.On call

  • query interface{}
  • as string

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

func (_e *Query_Expecter) Decrement(column interface{}, value ...interface{}) *Query_Decrement_Call

Decrement is a helper method to define mock.On call

  • column string
  • value ...uint64

func (*Query_Expecter) DecrementEach

func (_e *Query_Expecter) DecrementEach(columns interface{}, extra ...interface{}) *Query_DecrementEach_Call

DecrementEach is a helper method to define mock.On call

  • columns interface{}
  • extra ...map[string]interface{}

func (*Query_Expecter) Delete

func (_e *Query_Expecter) Delete() *Query_Delete_Call

Delete is a helper method to define mock.On call

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

func (_e *Query_Expecter) DoesntExist() *Query_DoesntExist_Call

DoesntExist is a helper method to define mock.On call

func (*Query_Expecter) DoesntExistOr

func (_e *Query_Expecter) DoesntExistOr(callback interface{}) *Query_DoesntExistOr_Call

DoesntExistOr is a helper method to define mock.On call

  • callback func() interface{}

func (*Query_Expecter) DynamicWhere

func (_e *Query_Expecter) DynamicWhere(method interface{}, parameters ...interface{}) *Query_DynamicWhere_Call

DynamicWhere is a helper method to define mock.On call

  • method string
  • parameters ...interface{}

func (*Query_Expecter) Each

func (_e *Query_Expecter) Each(callback interface{}) *Query_Each_Call

Each is a helper method to define mock.On call

  • callback func(db.Row) error

func (*Query_Expecter) EachById

func (_e *Query_Expecter) EachById(size interface{}, callback interface{}, column ...interface{}) *Query_EachById_Call

EachById is a helper method to define mock.On call

  • size uint64
  • callback func(db.Row) error
  • column ...string

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

func (_e *Query_Expecter) ExistsOr(callback interface{}) *Query_ExistsOr_Call

ExistsOr is a helper method to define mock.On call

  • callback func() interface{}

func (*Query_Expecter) Explain

func (_e *Query_Expecter) Explain(dest interface{}) *Query_Explain_Call

Explain is a helper method to define mock.On call

  • dest interface{}

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

func (_e *Query_Expecter) ForPage(page interface{}, perPage ...interface{}) *Query_ForPage_Call

ForPage is a helper method to define mock.On call

  • page int
  • perPage ...int

func (*Query_Expecter) ForPageAfterId

func (_e *Query_Expecter) ForPageAfterId(perPage interface{}, lastID interface{}, column ...interface{}) *Query_ForPageAfterId_Call

ForPageAfterId is a helper method to define mock.On call

  • perPage int
  • lastID interface{}
  • column ...string

func (*Query_Expecter) ForPageBeforeId

func (_e *Query_Expecter) ForPageBeforeId(perPage interface{}, lastID interface{}, column ...interface{}) *Query_ForPageBeforeId_Call

ForPageBeforeId is a helper method to define mock.On call

  • perPage int
  • lastID interface{}
  • column ...string

func (*Query_Expecter) ForceIndex

func (_e *Query_Expecter) ForceIndex(index interface{}) *Query_ForceIndex_Call

ForceIndex is a helper method to define mock.On call

  • index string

func (*Query_Expecter) From

func (_e *Query_Expecter) From(table interface{}, alias ...interface{}) *Query_From_Call

From is a helper method to define mock.On call

  • table interface{}
  • alias ...string

func (*Query_Expecter) FromRaw

func (_e *Query_Expecter) FromRaw(sql interface{}, bindings ...interface{}) *Query_FromRaw_Call

FromRaw is a helper method to define mock.On call

  • sql string
  • bindings ...interface{}

func (*Query_Expecter) FromSub

func (_e *Query_Expecter) FromSub(query interface{}, as interface{}) *Query_FromSub_Call

FromSub is a helper method to define mock.On call

  • query interface{}
  • as string

func (*Query_Expecter) Get

func (_e *Query_Expecter) Get(dest interface{}) *Query_Get_Call

Get is a helper method to define mock.On call

  • dest interface{}

func (*Query_Expecter) GetBindings

func (_e *Query_Expecter) GetBindings() *Query_GetBindings_Call

GetBindings is a helper method to define mock.On call

func (*Query_Expecter) GetColumns

func (_e *Query_Expecter) GetColumns() *Query_GetColumns_Call

GetColumns is a helper method to define mock.On call

func (*Query_Expecter) GetCountForPagination

func (_e *Query_Expecter) GetCountForPagination(columns ...interface{}) *Query_GetCountForPagination_Call

GetCountForPagination is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) GetLimit

func (_e *Query_Expecter) GetLimit() *Query_GetLimit_Call

GetLimit is a helper method to define mock.On call

func (*Query_Expecter) GetOffset

func (_e *Query_Expecter) GetOffset() *Query_GetOffset_Call

GetOffset is a helper method to define mock.On call

func (*Query_Expecter) GetRawBindings

func (_e *Query_Expecter) GetRawBindings() *Query_GetRawBindings_Call

GetRawBindings is a helper method to define mock.On call

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

func (_e *Query_Expecter) GroupByRaw(sql interface{}, bindings ...interface{}) *Query_GroupByRaw_Call

GroupByRaw is a helper method to define mock.On call

  • sql string
  • bindings ...interface{}

func (*Query_Expecter) GroupLimit

func (_e *Query_Expecter) GroupLimit(limit interface{}, column interface{}) *Query_GroupLimit_Call

GroupLimit is a helper method to define mock.On call

  • limit int
  • column string

func (*Query_Expecter) Having

func (_e *Query_Expecter) Having(query interface{}, args ...interface{}) *Query_Having_Call

Having is a helper method to define mock.On call

  • query interface{}
  • args ...interface{}

func (*Query_Expecter) HavingBetween

func (_e *Query_Expecter) HavingBetween(column interface{}, lower interface{}, upper interface{}) *Query_HavingBetween_Call

HavingBetween is a helper method to define mock.On call

  • column string
  • lower interface{}
  • upper interface{}

func (*Query_Expecter) HavingNested

func (_e *Query_Expecter) HavingNested(callback interface{}) *Query_HavingNested_Call

HavingNested is a helper method to define mock.On call

  • callback func(db.Query) db.Query

func (*Query_Expecter) HavingNotBetween

func (_e *Query_Expecter) HavingNotBetween(column interface{}, lower interface{}, upper interface{}) *Query_HavingNotBetween_Call

HavingNotBetween is a helper method to define mock.On call

  • column string
  • lower interface{}
  • upper interface{}

func (*Query_Expecter) HavingNotNull

func (_e *Query_Expecter) HavingNotNull(columns ...interface{}) *Query_HavingNotNull_Call

HavingNotNull is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) HavingNull

func (_e *Query_Expecter) HavingNull(columns ...interface{}) *Query_HavingNull_Call

HavingNull is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) HavingRaw

func (_e *Query_Expecter) HavingRaw(sql interface{}, bindings ...interface{}) *Query_HavingRaw_Call

HavingRaw is a helper method to define mock.On call

  • sql string
  • bindings ...interface{}

func (*Query_Expecter) IgnoreIndex

func (_e *Query_Expecter) IgnoreIndex(index interface{}) *Query_IgnoreIndex_Call

IgnoreIndex is a helper method to define mock.On call

  • index string

func (*Query_Expecter) Implode

func (_e *Query_Expecter) Implode(column interface{}, glue interface{}, dest interface{}) *Query_Implode_Call

Implode is a helper method to define mock.On call

  • column string
  • glue string
  • dest interface{}

func (*Query_Expecter) InRandomOrder

func (_e *Query_Expecter) InRandomOrder(seed ...interface{}) *Query_InRandomOrder_Call

InRandomOrder is a helper method to define mock.On call

  • seed ...interface{}

func (*Query_Expecter) Increment

func (_e *Query_Expecter) Increment(column interface{}, value ...interface{}) *Query_Increment_Call

Increment is a helper method to define mock.On call

  • column string
  • value ...uint64

func (*Query_Expecter) IncrementEach

func (_e *Query_Expecter) IncrementEach(columns interface{}, extra ...interface{}) *Query_IncrementEach_Call

IncrementEach is a helper method to define mock.On call

  • columns interface{}
  • extra ...map[string]interface{}

func (*Query_Expecter) Insert

func (_e *Query_Expecter) Insert(data interface{}) *Query_Insert_Call

Insert is a helper method to define mock.On call

  • data interface{}

func (*Query_Expecter) InsertGetID

func (_e *Query_Expecter) InsertGetID(data interface{}, sequence ...interface{}) *Query_InsertGetID_Call

InsertGetID is a helper method to define mock.On call

  • data interface{}
  • sequence ...string

func (*Query_Expecter) InsertOrIgnore

func (_e *Query_Expecter) InsertOrIgnore(data interface{}) *Query_InsertOrIgnore_Call

InsertOrIgnore is a helper method to define mock.On call

  • data interface{}

func (*Query_Expecter) InsertOrIgnoreUsing

func (_e *Query_Expecter) InsertOrIgnoreUsing(columns interface{}, query interface{}) *Query_InsertOrIgnoreUsing_Call

InsertOrIgnoreUsing is a helper method to define mock.On call

  • columns []string
  • query interface{}

func (*Query_Expecter) InsertUsing

func (_e *Query_Expecter) InsertUsing(columns interface{}, query interface{}) *Query_InsertUsing_Call

InsertUsing is a helper method to define mock.On call

  • columns []string
  • query 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) JoinLateral

func (_e *Query_Expecter) JoinLateral(query interface{}, as interface{}) *Query_JoinLateral_Call

JoinLateral is a helper method to define mock.On call

  • query interface{}
  • as string

func (*Query_Expecter) JoinSub

func (_e *Query_Expecter) JoinSub(query interface{}, as interface{}, first interface{}, args ...interface{}) *Query_JoinSub_Call

JoinSub is a helper method to define mock.On call

  • query interface{}
  • as string
  • first interface{}
  • args ...interface{}

func (*Query_Expecter) JoinWhere

func (_e *Query_Expecter) JoinWhere(table interface{}, column interface{}, operator interface{}, value interface{}) *Query_JoinWhere_Call

JoinWhere is a helper method to define mock.On call

  • table string
  • column string
  • operator string
  • value 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) Lazy

func (_e *Query_Expecter) Lazy(chunkSize ...interface{}) *Query_Lazy_Call

Lazy is a helper method to define mock.On call

  • chunkSize ...uint64

func (*Query_Expecter) LazyById

func (_e *Query_Expecter) LazyById(chunkSize interface{}, column ...interface{}) *Query_LazyById_Call

LazyById is a helper method to define mock.On call

  • chunkSize uint64
  • column ...string

func (*Query_Expecter) LazyByIdDesc

func (_e *Query_Expecter) LazyByIdDesc(chunkSize interface{}, column ...interface{}) *Query_LazyByIdDesc_Call

LazyByIdDesc is a helper method to define mock.On call

  • chunkSize uint64
  • column ...string

func (*Query_Expecter) LeftJoin

func (_e *Query_Expecter) LeftJoin(query interface{}, args ...interface{}) *Query_LeftJoin_Call

LeftJoin is a helper method to define mock.On call

  • query string
  • args ...interface{}

func (*Query_Expecter) LeftJoinLateral

func (_e *Query_Expecter) LeftJoinLateral(query interface{}, as interface{}) *Query_LeftJoinLateral_Call

LeftJoinLateral is a helper method to define mock.On call

  • query interface{}
  • as string

func (*Query_Expecter) LeftJoinSub

func (_e *Query_Expecter) LeftJoinSub(query interface{}, as interface{}, first interface{}, args ...interface{}) *Query_LeftJoinSub_Call

LeftJoinSub is a helper method to define mock.On call

  • query interface{}
  • as string
  • first interface{}
  • args ...interface{}

func (*Query_Expecter) LeftJoinWhere

func (_e *Query_Expecter) LeftJoinWhere(table interface{}, column interface{}, operator interface{}, value interface{}) *Query_LeftJoinWhere_Call

LeftJoinWhere is a helper method to define mock.On call

  • table string
  • column string
  • operator string
  • value interface{}

func (*Query_Expecter) Limit

func (_e *Query_Expecter) Limit(limit interface{}) *Query_Limit_Call

Limit is a helper method to define mock.On call

  • limit uint64

func (*Query_Expecter) Lock

func (_e *Query_Expecter) Lock(value interface{}) *Query_Lock_Call

Lock is a helper method to define mock.On call

  • value 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) NewQuery

func (_e *Query_Expecter) NewQuery() *Query_NewQuery_Call

NewQuery is a helper method to define mock.On call

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 uint64

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

func (_e *Query_Expecter) OrHaving(column interface{}, args ...interface{}) *Query_OrHaving_Call

OrHaving is a helper method to define mock.On call

  • column interface{}
  • args ...interface{}

func (*Query_Expecter) OrHavingNotNull

func (_e *Query_Expecter) OrHavingNotNull(columns ...interface{}) *Query_OrHavingNotNull_Call

OrHavingNotNull is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) OrHavingNull

func (_e *Query_Expecter) OrHavingNull(columns ...interface{}) *Query_OrHavingNull_Call

OrHavingNull is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) OrHavingRaw

func (_e *Query_Expecter) OrHavingRaw(sql interface{}, bindings ...interface{}) *Query_OrHavingRaw_Call

OrHavingRaw is a helper method to define mock.On call

  • sql string
  • bindings ...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) OrWhereAfterToday

func (_e *Query_Expecter) OrWhereAfterToday(columns ...interface{}) *Query_OrWhereAfterToday_Call

OrWhereAfterToday is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) OrWhereAll

func (_e *Query_Expecter) OrWhereAll(columns interface{}, args ...interface{}) *Query_OrWhereAll_Call

OrWhereAll is a helper method to define mock.On call

  • columns []string
  • args ...interface{}

func (*Query_Expecter) OrWhereAny

func (_e *Query_Expecter) OrWhereAny(columns interface{}, args ...interface{}) *Query_OrWhereAny_Call

OrWhereAny is a helper method to define mock.On call

  • columns []string
  • args ...interface{}

func (*Query_Expecter) OrWhereBeforeToday

func (_e *Query_Expecter) OrWhereBeforeToday(columns ...interface{}) *Query_OrWhereBeforeToday_Call

OrWhereBeforeToday is a helper method to define mock.On call

  • columns ...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) OrWhereBetweenColumns

func (_e *Query_Expecter) OrWhereBetweenColumns(column interface{}, lower interface{}, upper interface{}) *Query_OrWhereBetweenColumns_Call

OrWhereBetweenColumns is a helper method to define mock.On call

  • column string
  • lower string
  • upper string

func (*Query_Expecter) OrWhereColumn

func (_e *Query_Expecter) OrWhereColumn(column1 interface{}, column2 ...interface{}) *Query_OrWhereColumn_Call

OrWhereColumn is a helper method to define mock.On call

  • column1 string
  • column2 ...string

func (*Query_Expecter) OrWhereDate

func (_e *Query_Expecter) OrWhereDate(column interface{}, args ...interface{}) *Query_OrWhereDate_Call

OrWhereDate is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*Query_Expecter) OrWhereDay

func (_e *Query_Expecter) OrWhereDay(column interface{}, args ...interface{}) *Query_OrWhereDay_Call

OrWhereDay is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*Query_Expecter) OrWhereExists

func (_e *Query_Expecter) OrWhereExists(query interface{}) *Query_OrWhereExists_Call

OrWhereExists is a helper method to define mock.On call

  • query interface{}

func (*Query_Expecter) OrWhereFullText

func (_e *Query_Expecter) OrWhereFullText(columns interface{}, value interface{}, options ...interface{}) *Query_OrWhereFullText_Call

OrWhereFullText is a helper method to define mock.On call

  • columns []string
  • value string
  • options ...string

func (*Query_Expecter) OrWhereFuture

func (_e *Query_Expecter) OrWhereFuture(columns ...interface{}) *Query_OrWhereFuture_Call

OrWhereFuture is a helper method to define mock.On call

  • columns ...string

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

func (_e *Query_Expecter) OrWhereIntegerInRaw(column interface{}, values interface{}) *Query_OrWhereIntegerInRaw_Call

OrWhereIntegerInRaw is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*Query_Expecter) OrWhereIntegerNotInRaw

func (_e *Query_Expecter) OrWhereIntegerNotInRaw(column interface{}, values interface{}) *Query_OrWhereIntegerNotInRaw_Call

OrWhereIntegerNotInRaw 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) OrWhereJsonDoesntOverlap

func (_e *Query_Expecter) OrWhereJsonDoesntOverlap(column interface{}, value interface{}) *Query_OrWhereJsonDoesntOverlap_Call

OrWhereJsonDoesntOverlap is a helper method to define mock.On call

  • column string
  • value interface{}

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

func (_e *Query_Expecter) OrWhereJsonOverlaps(column interface{}, value interface{}) *Query_OrWhereJsonOverlaps_Call

OrWhereJsonOverlaps is a helper method to define mock.On call

  • column string
  • value interface{}

func (*Query_Expecter) OrWhereLike

func (_e *Query_Expecter) OrWhereLike(column interface{}, value interface{}, caseSensitive ...interface{}) *Query_OrWhereLike_Call

OrWhereLike is a helper method to define mock.On call

  • column string
  • value string
  • caseSensitive ...bool

func (*Query_Expecter) OrWhereMonth

func (_e *Query_Expecter) OrWhereMonth(column interface{}, args ...interface{}) *Query_OrWhereMonth_Call

OrWhereMonth is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*Query_Expecter) OrWhereNone

func (_e *Query_Expecter) OrWhereNone(columns interface{}, args ...interface{}) *Query_OrWhereNone_Call

OrWhereNone is a helper method to define mock.On call

  • columns []string
  • args ...interface{}

func (*Query_Expecter) OrWhereNot

func (_e *Query_Expecter) OrWhereNot(query interface{}, args ...interface{}) *Query_OrWhereNot_Call

OrWhereNot is a helper method to define mock.On call

  • query interface{}
  • 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) OrWhereNotBetweenColumns

func (_e *Query_Expecter) OrWhereNotBetweenColumns(column interface{}, lower interface{}, upper interface{}) *Query_OrWhereNotBetweenColumns_Call

OrWhereNotBetweenColumns is a helper method to define mock.On call

  • column string
  • lower string
  • upper string

func (*Query_Expecter) OrWhereNotExists

func (_e *Query_Expecter) OrWhereNotExists(query interface{}) *Query_OrWhereNotExists_Call

OrWhereNotExists is a helper method to define mock.On call

  • query 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) OrWhereNotLike

func (_e *Query_Expecter) OrWhereNotLike(column interface{}, value interface{}, caseSensitive ...interface{}) *Query_OrWhereNotLike_Call

OrWhereNotLike is a helper method to define mock.On call

  • column string
  • value string
  • caseSensitive ...bool

func (*Query_Expecter) OrWhereNotNull

func (_e *Query_Expecter) OrWhereNotNull(column interface{}) *Query_OrWhereNotNull_Call

OrWhereNotNull is a helper method to define mock.On call

  • column string

func (*Query_Expecter) OrWhereNowOrFuture

func (_e *Query_Expecter) OrWhereNowOrFuture(columns ...interface{}) *Query_OrWhereNowOrFuture_Call

OrWhereNowOrFuture is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) OrWhereNowOrPast

func (_e *Query_Expecter) OrWhereNowOrPast(columns ...interface{}) *Query_OrWhereNowOrPast_Call

OrWhereNowOrPast is a helper method to define mock.On call

  • columns ...string

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

func (_e *Query_Expecter) OrWherePast(columns ...interface{}) *Query_OrWherePast_Call

OrWherePast is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) OrWhereRaw

func (_e *Query_Expecter) OrWhereRaw(raw interface{}, args interface{}) *Query_OrWhereRaw_Call

OrWhereRaw is a helper method to define mock.On call

  • raw string
  • args []interface{}

func (*Query_Expecter) OrWhereRowValues

func (_e *Query_Expecter) OrWhereRowValues(columns interface{}, operator interface{}, values interface{}) *Query_OrWhereRowValues_Call

OrWhereRowValues is a helper method to define mock.On call

  • columns []string
  • operator string
  • values []interface{}

func (*Query_Expecter) OrWhereTime

func (_e *Query_Expecter) OrWhereTime(column interface{}, args ...interface{}) *Query_OrWhereTime_Call

OrWhereTime is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*Query_Expecter) OrWhereToday

func (_e *Query_Expecter) OrWhereToday(columns ...interface{}) *Query_OrWhereToday_Call

OrWhereToday is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) OrWhereTodayOrAfter

func (_e *Query_Expecter) OrWhereTodayOrAfter(columns ...interface{}) *Query_OrWhereTodayOrAfter_Call

OrWhereTodayOrAfter is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) OrWhereTodayOrBefore

func (_e *Query_Expecter) OrWhereTodayOrBefore(columns ...interface{}) *Query_OrWhereTodayOrBefore_Call

OrWhereTodayOrBefore is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) OrWhereValueBetween

func (_e *Query_Expecter) OrWhereValueBetween(value interface{}, lower interface{}, upper interface{}) *Query_OrWhereValueBetween_Call

OrWhereValueBetween is a helper method to define mock.On call

  • value interface{}
  • lower string
  • upper string

func (*Query_Expecter) OrWhereValueNotBetween

func (_e *Query_Expecter) OrWhereValueNotBetween(value interface{}, lower interface{}, upper interface{}) *Query_OrWhereValueNotBetween_Call

OrWhereValueNotBetween is a helper method to define mock.On call

  • value interface{}
  • lower string
  • upper string

func (*Query_Expecter) OrWhereYear

func (_e *Query_Expecter) OrWhereYear(column interface{}, args ...interface{}) *Query_OrWhereYear_Call

OrWhereYear is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*Query_Expecter) OrderBy

func (_e *Query_Expecter) OrderBy(column interface{}, directions ...interface{}) *Query_OrderBy_Call

OrderBy is a helper method to define mock.On call

  • column interface{}
  • directions ...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 interface{}

func (*Query_Expecter) OrderByRaw

func (_e *Query_Expecter) OrderByRaw(raw interface{}, bindings ...interface{}) *Query_OrderByRaw_Call

OrderByRaw is a helper method to define mock.On call

  • raw string
  • bindings ...interface{}

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

func (_e *Query_Expecter) Pipe(callback interface{}) *Query_Pipe_Call

Pipe is a helper method to define mock.On call

  • callback func(db.Query) interface{}

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

func (_e *Query_Expecter) RawValue(expression interface{}, dest interface{}) *Query_RawValue_Call

RawValue is a helper method to define mock.On call

  • expression string
  • dest interface{}

func (*Query_Expecter) Reorder

func (_e *Query_Expecter) Reorder(column ...interface{}) *Query_Reorder_Call

Reorder is a helper method to define mock.On call

  • column ...string

func (*Query_Expecter) ReorderDesc

func (_e *Query_Expecter) ReorderDesc(column interface{}) *Query_ReorderDesc_Call

ReorderDesc is a helper method to define mock.On call

  • column string

func (*Query_Expecter) RightJoin

func (_e *Query_Expecter) RightJoin(query interface{}, args ...interface{}) *Query_RightJoin_Call

RightJoin is a helper method to define mock.On call

  • query string
  • args ...interface{}

func (*Query_Expecter) RightJoinSub

func (_e *Query_Expecter) RightJoinSub(query interface{}, as interface{}, first interface{}, args ...interface{}) *Query_RightJoinSub_Call

RightJoinSub is a helper method to define mock.On call

  • query interface{}
  • as string
  • first interface{}
  • args ...interface{}

func (*Query_Expecter) RightJoinWhere

func (_e *Query_Expecter) RightJoinWhere(table interface{}, column interface{}, operator interface{}, value interface{}) *Query_RightJoinWhere_Call

RightJoinWhere is a helper method to define mock.On call

  • table string
  • column string
  • operator string
  • value interface{}

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(sql interface{}, bindings ...interface{}) *Query_SelectRaw_Call

SelectRaw is a helper method to define mock.On call

  • sql string
  • bindings ...interface{}

func (*Query_Expecter) SelectSub

func (_e *Query_Expecter) SelectSub(query interface{}, as interface{}) *Query_SelectSub_Call

SelectSub is a helper method to define mock.On call

  • query interface{}
  • as string

func (*Query_Expecter) SetBindings

func (_e *Query_Expecter) SetBindings(values interface{}, component interface{}) *Query_SetBindings_Call

SetBindings is a helper method to define mock.On call

  • values []interface{}
  • component string

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

func (_e *Query_Expecter) SimplePaginate(page interface{}, limit interface{}, dest interface{}) *Query_SimplePaginate_Call

SimplePaginate is a helper method to define mock.On call

  • page int
  • limit int
  • dest interface{}

func (*Query_Expecter) Skip

func (_e *Query_Expecter) Skip(offset interface{}) *Query_Skip_Call

Skip is a helper method to define mock.On call

  • offset int

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

func (_e *Query_Expecter) SoleValue(column interface{}, dest interface{}) *Query_SoleValue_Call

SoleValue is a helper method to define mock.On call

  • column string
  • 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) Take

func (_e *Query_Expecter) Take(limit interface{}) *Query_Take_Call

Take is a helper method to define mock.On call

  • limit int

func (*Query_Expecter) Tap

func (_e *Query_Expecter) Tap(callback interface{}) *Query_Tap_Call

Tap is a helper method to define mock.On call

  • callback func(db.Query)

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

func (_e *Query_Expecter) Truncate() *Query_Truncate_Call

Truncate is a helper method to define mock.On call

func (*Query_Expecter) Union

func (_e *Query_Expecter) Union(query interface{}) *Query_Union_Call

Union is a helper method to define mock.On call

  • query interface{}

func (*Query_Expecter) UnionAll

func (_e *Query_Expecter) UnionAll(query interface{}) *Query_UnionAll_Call

UnionAll is a helper method to define mock.On call

  • query interface{}

func (*Query_Expecter) Unless

func (_e *Query_Expecter) Unless(condition interface{}, callback interface{}, otherwise ...interface{}) *Query_Unless_Call

Unless is a helper method to define mock.On call

  • condition bool
  • callback func(db.Query) db.Query
  • otherwise ...func(db.Query) db.Query

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

func (_e *Query_Expecter) UpdateFrom(values interface{}) *Query_UpdateFrom_Call

UpdateFrom is a helper method to define mock.On call

  • values interface{}

func (*Query_Expecter) UpdateOrInsert

func (_e *Query_Expecter) UpdateOrInsert(attributes interface{}, values interface{}) *Query_UpdateOrInsert_Call

UpdateOrInsert is a helper method to define mock.On call

  • attributes interface{}
  • values interface{}

func (*Query_Expecter) Upsert

func (_e *Query_Expecter) Upsert(data interface{}, uniqueBy interface{}, update ...interface{}) *Query_Upsert_Call

Upsert is a helper method to define mock.On call

  • data interface{}
  • uniqueBy []string
  • update ...interface{}

func (*Query_Expecter) UseIndex

func (_e *Query_Expecter) UseIndex(index interface{}) *Query_UseIndex_Call

UseIndex is a helper method to define mock.On call

  • index string

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(db.Query) db.Query
  • falseCallback ...func(db.Query) db.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) WhereAfterToday

func (_e *Query_Expecter) WhereAfterToday(columns ...interface{}) *Query_WhereAfterToday_Call

WhereAfterToday is a helper method to define mock.On call

  • columns ...string

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

func (_e *Query_Expecter) WhereBeforeToday(columns ...interface{}) *Query_WhereBeforeToday_Call

WhereBeforeToday is a helper method to define mock.On call

  • columns ...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) WhereBetweenColumns

func (_e *Query_Expecter) WhereBetweenColumns(column interface{}, lower interface{}, upper interface{}) *Query_WhereBetweenColumns_Call

WhereBetweenColumns is a helper method to define mock.On call

  • column string
  • lower string
  • upper string

func (*Query_Expecter) WhereColumn

func (_e *Query_Expecter) WhereColumn(column1 interface{}, column2 ...interface{}) *Query_WhereColumn_Call

WhereColumn is a helper method to define mock.On call

  • column1 string
  • column2 ...string

func (*Query_Expecter) WhereDate

func (_e *Query_Expecter) WhereDate(column interface{}, args ...interface{}) *Query_WhereDate_Call

WhereDate is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*Query_Expecter) WhereDay

func (_e *Query_Expecter) WhereDay(column interface{}, args ...interface{}) *Query_WhereDay_Call

WhereDay is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*Query_Expecter) WhereExists

func (_e *Query_Expecter) WhereExists(query interface{}) *Query_WhereExists_Call

WhereExists is a helper method to define mock.On call

  • query interface{}

func (*Query_Expecter) WhereFullText

func (_e *Query_Expecter) WhereFullText(columns interface{}, value interface{}, options ...interface{}) *Query_WhereFullText_Call

WhereFullText is a helper method to define mock.On call

  • columns []string
  • value string
  • options ...string

func (*Query_Expecter) WhereFuture

func (_e *Query_Expecter) WhereFuture(columns ...interface{}) *Query_WhereFuture_Call

WhereFuture is a helper method to define mock.On call

  • columns ...string

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

func (_e *Query_Expecter) WhereIntegerInRaw(column interface{}, values interface{}) *Query_WhereIntegerInRaw_Call

WhereIntegerInRaw is a helper method to define mock.On call

  • column string
  • values []interface{}

func (*Query_Expecter) WhereIntegerNotInRaw

func (_e *Query_Expecter) WhereIntegerNotInRaw(column interface{}, values interface{}) *Query_WhereIntegerNotInRaw_Call

WhereIntegerNotInRaw 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) WhereJsonDoesntOverlap

func (_e *Query_Expecter) WhereJsonDoesntOverlap(column interface{}, value interface{}) *Query_WhereJsonDoesntOverlap_Call

WhereJsonDoesntOverlap is a helper method to define mock.On call

  • column string
  • value interface{}

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

func (_e *Query_Expecter) WhereJsonOverlaps(column interface{}, value interface{}) *Query_WhereJsonOverlaps_Call

WhereJsonOverlaps is a helper method to define mock.On call

  • column string
  • value interface{}

func (*Query_Expecter) WhereLike

func (_e *Query_Expecter) WhereLike(column interface{}, value interface{}, caseSensitive ...interface{}) *Query_WhereLike_Call

WhereLike is a helper method to define mock.On call

  • column string
  • value string
  • caseSensitive ...bool

func (*Query_Expecter) WhereMonth

func (_e *Query_Expecter) WhereMonth(column interface{}, args ...interface{}) *Query_WhereMonth_Call

WhereMonth is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*Query_Expecter) WhereNested

func (_e *Query_Expecter) WhereNested(callback interface{}) *Query_WhereNested_Call

WhereNested is a helper method to define mock.On call

  • callback func(db.Query) db.Query

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

func (_e *Query_Expecter) WhereNot(query interface{}, args ...interface{}) *Query_WhereNot_Call

WhereNot is a helper method to define mock.On call

  • query interface{}
  • 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) WhereNotBetweenColumns

func (_e *Query_Expecter) WhereNotBetweenColumns(column interface{}, lower interface{}, upper interface{}) *Query_WhereNotBetweenColumns_Call

WhereNotBetweenColumns is a helper method to define mock.On call

  • column string
  • lower string
  • upper string

func (*Query_Expecter) WhereNotExists

func (_e *Query_Expecter) WhereNotExists(query interface{}) *Query_WhereNotExists_Call

WhereNotExists is a helper method to define mock.On call

  • query 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) WhereNotLike

func (_e *Query_Expecter) WhereNotLike(column interface{}, value interface{}, caseSensitive ...interface{}) *Query_WhereNotLike_Call

WhereNotLike is a helper method to define mock.On call

  • column string
  • value string
  • caseSensitive ...bool

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

func (_e *Query_Expecter) WhereNowOrFuture(columns ...interface{}) *Query_WhereNowOrFuture_Call

WhereNowOrFuture is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) WhereNowOrPast

func (_e *Query_Expecter) WhereNowOrPast(columns ...interface{}) *Query_WhereNowOrPast_Call

WhereNowOrPast is a helper method to define mock.On call

  • columns ...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) WherePast

func (_e *Query_Expecter) WherePast(columns ...interface{}) *Query_WherePast_Call

WherePast is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) WhereRaw

func (_e *Query_Expecter) WhereRaw(raw interface{}, args interface{}) *Query_WhereRaw_Call

WhereRaw is a helper method to define mock.On call

  • raw string
  • args []interface{}

func (*Query_Expecter) WhereRowValues

func (_e *Query_Expecter) WhereRowValues(columns interface{}, operator interface{}, values interface{}) *Query_WhereRowValues_Call

WhereRowValues is a helper method to define mock.On call

  • columns []string
  • operator string
  • values []interface{}

func (*Query_Expecter) WhereTime

func (_e *Query_Expecter) WhereTime(column interface{}, args ...interface{}) *Query_WhereTime_Call

WhereTime is a helper method to define mock.On call

  • column string
  • args ...interface{}

func (*Query_Expecter) WhereToday

func (_e *Query_Expecter) WhereToday(columns ...interface{}) *Query_WhereToday_Call

WhereToday is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) WhereTodayOrAfter

func (_e *Query_Expecter) WhereTodayOrAfter(columns ...interface{}) *Query_WhereTodayOrAfter_Call

WhereTodayOrAfter is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) WhereTodayOrBefore

func (_e *Query_Expecter) WhereTodayOrBefore(columns ...interface{}) *Query_WhereTodayOrBefore_Call

WhereTodayOrBefore is a helper method to define mock.On call

  • columns ...string

func (*Query_Expecter) WhereValueBetween

func (_e *Query_Expecter) WhereValueBetween(value interface{}, lower interface{}, upper interface{}) *Query_WhereValueBetween_Call

WhereValueBetween is a helper method to define mock.On call

  • value interface{}
  • lower string
  • upper string

func (*Query_Expecter) WhereValueNotBetween

func (_e *Query_Expecter) WhereValueNotBetween(value interface{}, lower interface{}, upper interface{}) *Query_WhereValueNotBetween_Call

WhereValueNotBetween is a helper method to define mock.On call

  • value interface{}
  • lower string
  • upper string

func (*Query_Expecter) WhereYear

func (_e *Query_Expecter) WhereYear(column interface{}, args ...interface{}) *Query_WhereYear_Call

WhereYear is a helper method to define mock.On call

  • column string
  • args ...interface{}

type Query_Explain_Call

type Query_Explain_Call struct {
	*mock.Call
}

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

func (*Query_Explain_Call) Return

func (_c *Query_Explain_Call) Return(_a0 error) *Query_Explain_Call

func (*Query_Explain_Call) Run

func (_c *Query_Explain_Call) Run(run func(dest interface{})) *Query_Explain_Call

func (*Query_Explain_Call) RunAndReturn

func (_c *Query_Explain_Call) RunAndReturn(run func(interface{}) error) *Query_Explain_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_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_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_ForPageAfterId_Call

type Query_ForPageAfterId_Call struct {
	*mock.Call
}

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

func (*Query_ForPageAfterId_Call) Return

func (*Query_ForPageAfterId_Call) Run

func (_c *Query_ForPageAfterId_Call) Run(run func(perPage int, lastID interface{}, column ...string)) *Query_ForPageAfterId_Call

func (*Query_ForPageAfterId_Call) RunAndReturn

func (_c *Query_ForPageAfterId_Call) RunAndReturn(run func(int, interface{}, ...string) db.Query) *Query_ForPageAfterId_Call

type Query_ForPageBeforeId_Call

type Query_ForPageBeforeId_Call struct {
	*mock.Call
}

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

func (*Query_ForPageBeforeId_Call) Return

func (*Query_ForPageBeforeId_Call) Run

func (_c *Query_ForPageBeforeId_Call) Run(run func(perPage int, lastID interface{}, column ...string)) *Query_ForPageBeforeId_Call

func (*Query_ForPageBeforeId_Call) RunAndReturn

func (_c *Query_ForPageBeforeId_Call) RunAndReturn(run func(int, interface{}, ...string) db.Query) *Query_ForPageBeforeId_Call

type Query_ForPage_Call

type Query_ForPage_Call struct {
	*mock.Call
}

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

func (*Query_ForPage_Call) Return

func (_c *Query_ForPage_Call) Return(_a0 db.Query) *Query_ForPage_Call

func (*Query_ForPage_Call) Run

func (_c *Query_ForPage_Call) Run(run func(page int, perPage ...int)) *Query_ForPage_Call

func (*Query_ForPage_Call) RunAndReturn

func (_c *Query_ForPage_Call) RunAndReturn(run func(int, ...int) db.Query) *Query_ForPage_Call

type Query_ForceIndex_Call

type Query_ForceIndex_Call struct {
	*mock.Call
}

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

func (*Query_ForceIndex_Call) Return

func (*Query_ForceIndex_Call) Run

func (_c *Query_ForceIndex_Call) Run(run func(index string)) *Query_ForceIndex_Call

func (*Query_ForceIndex_Call) RunAndReturn

func (_c *Query_ForceIndex_Call) RunAndReturn(run func(string) db.Query) *Query_ForceIndex_Call

type Query_FromRaw_Call

type Query_FromRaw_Call struct {
	*mock.Call
}

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

func (*Query_FromRaw_Call) Return

func (_c *Query_FromRaw_Call) Return(_a0 db.Query) *Query_FromRaw_Call

func (*Query_FromRaw_Call) Run

func (_c *Query_FromRaw_Call) Run(run func(sql string, bindings ...interface{})) *Query_FromRaw_Call

func (*Query_FromRaw_Call) RunAndReturn

func (_c *Query_FromRaw_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_FromRaw_Call

type Query_FromSub_Call

type Query_FromSub_Call struct {
	*mock.Call
}

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

func (*Query_FromSub_Call) Return

func (_c *Query_FromSub_Call) Return(_a0 db.Query) *Query_FromSub_Call

func (*Query_FromSub_Call) Run

func (_c *Query_FromSub_Call) Run(run func(query interface{}, as string)) *Query_FromSub_Call

func (*Query_FromSub_Call) RunAndReturn

func (_c *Query_FromSub_Call) RunAndReturn(run func(interface{}, string) db.Query) *Query_FromSub_Call

type Query_From_Call

type Query_From_Call struct {
	*mock.Call
}

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

func (*Query_From_Call) Return

func (_c *Query_From_Call) Return(_a0 db.Query) *Query_From_Call

func (*Query_From_Call) Run

func (_c *Query_From_Call) Run(run func(table interface{}, alias ...string)) *Query_From_Call

func (*Query_From_Call) RunAndReturn

func (_c *Query_From_Call) RunAndReturn(run func(interface{}, ...string) db.Query) *Query_From_Call

type Query_GetBindings_Call

type Query_GetBindings_Call struct {
	*mock.Call
}

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

func (*Query_GetBindings_Call) Return

func (_c *Query_GetBindings_Call) Return(_a0 []interface{}) *Query_GetBindings_Call

func (*Query_GetBindings_Call) Run

func (_c *Query_GetBindings_Call) Run(run func()) *Query_GetBindings_Call

func (*Query_GetBindings_Call) RunAndReturn

func (_c *Query_GetBindings_Call) RunAndReturn(run func() []interface{}) *Query_GetBindings_Call

type Query_GetColumns_Call

type Query_GetColumns_Call struct {
	*mock.Call
}

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

func (*Query_GetColumns_Call) Return

func (*Query_GetColumns_Call) Run

func (_c *Query_GetColumns_Call) Run(run func()) *Query_GetColumns_Call

func (*Query_GetColumns_Call) RunAndReturn

func (_c *Query_GetColumns_Call) RunAndReturn(run func() []string) *Query_GetColumns_Call

type Query_GetCountForPagination_Call

type Query_GetCountForPagination_Call struct {
	*mock.Call
}

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

func (*Query_GetCountForPagination_Call) Return

func (*Query_GetCountForPagination_Call) Run

func (*Query_GetCountForPagination_Call) RunAndReturn

type Query_GetLimit_Call

type Query_GetLimit_Call struct {
	*mock.Call
}

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

func (*Query_GetLimit_Call) Return

func (_c *Query_GetLimit_Call) Return(_a0 *int) *Query_GetLimit_Call

func (*Query_GetLimit_Call) Run

func (_c *Query_GetLimit_Call) Run(run func()) *Query_GetLimit_Call

func (*Query_GetLimit_Call) RunAndReturn

func (_c *Query_GetLimit_Call) RunAndReturn(run func() *int) *Query_GetLimit_Call

type Query_GetOffset_Call

type Query_GetOffset_Call struct {
	*mock.Call
}

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

func (*Query_GetOffset_Call) Return

func (_c *Query_GetOffset_Call) Return(_a0 *int) *Query_GetOffset_Call

func (*Query_GetOffset_Call) Run

func (_c *Query_GetOffset_Call) Run(run func()) *Query_GetOffset_Call

func (*Query_GetOffset_Call) RunAndReturn

func (_c *Query_GetOffset_Call) RunAndReturn(run func() *int) *Query_GetOffset_Call

type Query_GetRawBindings_Call

type Query_GetRawBindings_Call struct {
	*mock.Call
}

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

func (*Query_GetRawBindings_Call) Return

func (_c *Query_GetRawBindings_Call) Return(_a0 map[string][]interface{}) *Query_GetRawBindings_Call

func (*Query_GetRawBindings_Call) Run

func (*Query_GetRawBindings_Call) RunAndReturn

func (_c *Query_GetRawBindings_Call) RunAndReturn(run func() map[string][]interface{}) *Query_GetRawBindings_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{})) *Query_Get_Call

func (*Query_Get_Call) RunAndReturn

func (_c *Query_Get_Call) RunAndReturn(run func(interface{}) error) *Query_Get_Call

type Query_GroupByRaw_Call

type Query_GroupByRaw_Call struct {
	*mock.Call
}

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

func (*Query_GroupByRaw_Call) Return

func (*Query_GroupByRaw_Call) Run

func (_c *Query_GroupByRaw_Call) Run(run func(sql string, bindings ...interface{})) *Query_GroupByRaw_Call

func (*Query_GroupByRaw_Call) RunAndReturn

func (_c *Query_GroupByRaw_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_GroupByRaw_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 (_c *Query_GroupBy_Call) Return(_a0 db.Query) *Query_GroupBy_Call

func (*Query_GroupBy_Call) Run

func (_c *Query_GroupBy_Call) Run(run func(column ...string)) *Query_GroupBy_Call

func (*Query_GroupBy_Call) RunAndReturn

func (_c *Query_GroupBy_Call) RunAndReturn(run func(...string) db.Query) *Query_GroupBy_Call

type Query_GroupLimit_Call

type Query_GroupLimit_Call struct {
	*mock.Call
}

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

func (*Query_GroupLimit_Call) Return

func (*Query_GroupLimit_Call) Run

func (_c *Query_GroupLimit_Call) Run(run func(limit int, column string)) *Query_GroupLimit_Call

func (*Query_GroupLimit_Call) RunAndReturn

func (_c *Query_GroupLimit_Call) RunAndReturn(run func(int, string) db.Query) *Query_GroupLimit_Call

type Query_HavingBetween_Call

type Query_HavingBetween_Call struct {
	*mock.Call
}

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

func (*Query_HavingBetween_Call) Return

func (*Query_HavingBetween_Call) Run

func (_c *Query_HavingBetween_Call) Run(run func(column string, lower interface{}, upper interface{})) *Query_HavingBetween_Call

func (*Query_HavingBetween_Call) RunAndReturn

func (_c *Query_HavingBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) db.Query) *Query_HavingBetween_Call

type Query_HavingNested_Call

type Query_HavingNested_Call struct {
	*mock.Call
}

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

func (*Query_HavingNested_Call) Return

func (*Query_HavingNested_Call) Run

func (_c *Query_HavingNested_Call) Run(run func(callback func(db.Query) db.Query)) *Query_HavingNested_Call

func (*Query_HavingNested_Call) RunAndReturn

func (_c *Query_HavingNested_Call) RunAndReturn(run func(func(db.Query) db.Query) db.Query) *Query_HavingNested_Call

type Query_HavingNotBetween_Call

type Query_HavingNotBetween_Call struct {
	*mock.Call
}

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

func (*Query_HavingNotBetween_Call) Return

func (*Query_HavingNotBetween_Call) Run

func (_c *Query_HavingNotBetween_Call) Run(run func(column string, lower interface{}, upper interface{})) *Query_HavingNotBetween_Call

func (*Query_HavingNotBetween_Call) RunAndReturn

func (_c *Query_HavingNotBetween_Call) RunAndReturn(run func(string, interface{}, interface{}) db.Query) *Query_HavingNotBetween_Call

type Query_HavingNotNull_Call

type Query_HavingNotNull_Call struct {
	*mock.Call
}

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

func (*Query_HavingNotNull_Call) Return

func (*Query_HavingNotNull_Call) Run

func (_c *Query_HavingNotNull_Call) Run(run func(columns ...string)) *Query_HavingNotNull_Call

func (*Query_HavingNotNull_Call) RunAndReturn

func (_c *Query_HavingNotNull_Call) RunAndReturn(run func(...string) db.Query) *Query_HavingNotNull_Call

type Query_HavingNull_Call

type Query_HavingNull_Call struct {
	*mock.Call
}

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

func (*Query_HavingNull_Call) Return

func (*Query_HavingNull_Call) Run

func (_c *Query_HavingNull_Call) Run(run func(columns ...string)) *Query_HavingNull_Call

func (*Query_HavingNull_Call) RunAndReturn

func (_c *Query_HavingNull_Call) RunAndReturn(run func(...string) db.Query) *Query_HavingNull_Call

type Query_HavingRaw_Call

type Query_HavingRaw_Call struct {
	*mock.Call
}

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

func (*Query_HavingRaw_Call) Return

func (*Query_HavingRaw_Call) Run

func (_c *Query_HavingRaw_Call) Run(run func(sql string, bindings ...interface{})) *Query_HavingRaw_Call

func (*Query_HavingRaw_Call) RunAndReturn

func (_c *Query_HavingRaw_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_HavingRaw_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 db.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{}) db.Query) *Query_Having_Call

type Query_IgnoreIndex_Call

type Query_IgnoreIndex_Call struct {
	*mock.Call
}

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

func (*Query_IgnoreIndex_Call) Return

func (*Query_IgnoreIndex_Call) Run

func (_c *Query_IgnoreIndex_Call) Run(run func(index string)) *Query_IgnoreIndex_Call

func (*Query_IgnoreIndex_Call) RunAndReturn

func (_c *Query_IgnoreIndex_Call) RunAndReturn(run func(string) db.Query) *Query_IgnoreIndex_Call

type Query_Implode_Call

type Query_Implode_Call struct {
	*mock.Call
}

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

func (*Query_Implode_Call) Return

func (_c *Query_Implode_Call) Return(_a0 error) *Query_Implode_Call

func (*Query_Implode_Call) Run

func (_c *Query_Implode_Call) Run(run func(column string, glue string, dest interface{})) *Query_Implode_Call

func (*Query_Implode_Call) RunAndReturn

func (_c *Query_Implode_Call) RunAndReturn(run func(string, string, interface{}) error) *Query_Implode_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 (_c *Query_InRandomOrder_Call) Run(run func(seed ...interface{})) *Query_InRandomOrder_Call

func (*Query_InRandomOrder_Call) RunAndReturn

func (_c *Query_InRandomOrder_Call) RunAndReturn(run func(...interface{}) db.Query) *Query_InRandomOrder_Call

type Query_IncrementEach_Call

type Query_IncrementEach_Call struct {
	*mock.Call
}

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

func (*Query_IncrementEach_Call) Return

func (*Query_IncrementEach_Call) Run

func (_c *Query_IncrementEach_Call) Run(run func(columns interface{}, extra ...map[string]interface{})) *Query_IncrementEach_Call

func (*Query_IncrementEach_Call) RunAndReturn

func (_c *Query_IncrementEach_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) (*db.Result, error)) *Query_IncrementEach_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 (*Query_Increment_Call) Run

func (_c *Query_Increment_Call) Run(run func(column string, value ...uint64)) *Query_Increment_Call

func (*Query_Increment_Call) RunAndReturn

func (_c *Query_Increment_Call) RunAndReturn(run func(string, ...uint64) error) *Query_Increment_Call

type Query_InsertGetID_Call

type Query_InsertGetID_Call struct {
	*mock.Call
}

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

func (*Query_InsertGetID_Call) Return

func (*Query_InsertGetID_Call) Run

func (_c *Query_InsertGetID_Call) Run(run func(data interface{}, sequence ...string)) *Query_InsertGetID_Call

func (*Query_InsertGetID_Call) RunAndReturn

func (_c *Query_InsertGetID_Call) RunAndReturn(run func(interface{}, ...string) (int64, error)) *Query_InsertGetID_Call

type Query_InsertOrIgnoreUsing_Call

type Query_InsertOrIgnoreUsing_Call struct {
	*mock.Call
}

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

func (*Query_InsertOrIgnoreUsing_Call) Return

func (*Query_InsertOrIgnoreUsing_Call) Run

func (_c *Query_InsertOrIgnoreUsing_Call) Run(run func(columns []string, query interface{})) *Query_InsertOrIgnoreUsing_Call

func (*Query_InsertOrIgnoreUsing_Call) RunAndReturn

func (_c *Query_InsertOrIgnoreUsing_Call) RunAndReturn(run func([]string, interface{}) (*db.Result, error)) *Query_InsertOrIgnoreUsing_Call

type Query_InsertOrIgnore_Call

type Query_InsertOrIgnore_Call struct {
	*mock.Call
}

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

func (*Query_InsertOrIgnore_Call) Return

func (*Query_InsertOrIgnore_Call) Run

func (_c *Query_InsertOrIgnore_Call) Run(run func(data interface{})) *Query_InsertOrIgnore_Call

func (*Query_InsertOrIgnore_Call) RunAndReturn

func (_c *Query_InsertOrIgnore_Call) RunAndReturn(run func(interface{}) (*db.Result, error)) *Query_InsertOrIgnore_Call

type Query_InsertUsing_Call

type Query_InsertUsing_Call struct {
	*mock.Call
}

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

func (*Query_InsertUsing_Call) Return

func (*Query_InsertUsing_Call) Run

func (_c *Query_InsertUsing_Call) Run(run func(columns []string, query interface{})) *Query_InsertUsing_Call

func (*Query_InsertUsing_Call) RunAndReturn

func (_c *Query_InsertUsing_Call) RunAndReturn(run func([]string, interface{}) (*db.Result, error)) *Query_InsertUsing_Call

type Query_Insert_Call

type Query_Insert_Call struct {
	*mock.Call
}

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

func (*Query_Insert_Call) Return

func (_c *Query_Insert_Call) Return(_a0 *db.Result, _a1 error) *Query_Insert_Call

func (*Query_Insert_Call) Run

func (_c *Query_Insert_Call) Run(run func(data interface{})) *Query_Insert_Call

func (*Query_Insert_Call) RunAndReturn

func (_c *Query_Insert_Call) RunAndReturn(run func(interface{}) (*db.Result, error)) *Query_Insert_Call

type Query_JoinLateral_Call

type Query_JoinLateral_Call struct {
	*mock.Call
}

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

func (*Query_JoinLateral_Call) Return

func (*Query_JoinLateral_Call) Run

func (_c *Query_JoinLateral_Call) Run(run func(query interface{}, as string)) *Query_JoinLateral_Call

func (*Query_JoinLateral_Call) RunAndReturn

func (_c *Query_JoinLateral_Call) RunAndReturn(run func(interface{}, string) db.Query) *Query_JoinLateral_Call

type Query_JoinSub_Call

type Query_JoinSub_Call struct {
	*mock.Call
}

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

func (*Query_JoinSub_Call) Return

func (_c *Query_JoinSub_Call) Return(_a0 db.Query) *Query_JoinSub_Call

func (*Query_JoinSub_Call) Run

func (_c *Query_JoinSub_Call) Run(run func(query interface{}, as string, first interface{}, args ...interface{})) *Query_JoinSub_Call

func (*Query_JoinSub_Call) RunAndReturn

func (_c *Query_JoinSub_Call) RunAndReturn(run func(interface{}, string, interface{}, ...interface{}) db.Query) *Query_JoinSub_Call

type Query_JoinWhere_Call

type Query_JoinWhere_Call struct {
	*mock.Call
}

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

func (*Query_JoinWhere_Call) Return

func (*Query_JoinWhere_Call) Run

func (_c *Query_JoinWhere_Call) Run(run func(table string, column string, operator string, value interface{})) *Query_JoinWhere_Call

func (*Query_JoinWhere_Call) RunAndReturn

func (_c *Query_JoinWhere_Call) RunAndReturn(run func(string, string, string, interface{}) db.Query) *Query_JoinWhere_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 db.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{}) db.Query) *Query_Join_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 db.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) db.Query) *Query_Latest_Call

type Query_LazyByIdDesc_Call

type Query_LazyByIdDesc_Call struct {
	*mock.Call
}

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

func (*Query_LazyByIdDesc_Call) Return

func (*Query_LazyByIdDesc_Call) Run

func (_c *Query_LazyByIdDesc_Call) Run(run func(chunkSize uint64, column ...string)) *Query_LazyByIdDesc_Call

func (*Query_LazyByIdDesc_Call) RunAndReturn

func (_c *Query_LazyByIdDesc_Call) RunAndReturn(run func(uint64, ...string) iter.Seq2[db.Row, error]) *Query_LazyByIdDesc_Call

type Query_LazyById_Call

type Query_LazyById_Call struct {
	*mock.Call
}

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

func (*Query_LazyById_Call) Return

func (*Query_LazyById_Call) Run

func (_c *Query_LazyById_Call) Run(run func(chunkSize uint64, column ...string)) *Query_LazyById_Call

func (*Query_LazyById_Call) RunAndReturn

func (_c *Query_LazyById_Call) RunAndReturn(run func(uint64, ...string) iter.Seq2[db.Row, error]) *Query_LazyById_Call

type Query_Lazy_Call

type Query_Lazy_Call struct {
	*mock.Call
}

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

func (*Query_Lazy_Call) Return

func (_c *Query_Lazy_Call) Return(_a0 iter.Seq2[db.Row, error]) *Query_Lazy_Call

func (*Query_Lazy_Call) Run

func (_c *Query_Lazy_Call) Run(run func(chunkSize ...uint64)) *Query_Lazy_Call

func (*Query_Lazy_Call) RunAndReturn

func (_c *Query_Lazy_Call) RunAndReturn(run func(...uint64) iter.Seq2[db.Row, error]) *Query_Lazy_Call

type Query_LeftJoinLateral_Call

type Query_LeftJoinLateral_Call struct {
	*mock.Call
}

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

func (*Query_LeftJoinLateral_Call) Return

func (*Query_LeftJoinLateral_Call) Run

func (_c *Query_LeftJoinLateral_Call) Run(run func(query interface{}, as string)) *Query_LeftJoinLateral_Call

func (*Query_LeftJoinLateral_Call) RunAndReturn

func (_c *Query_LeftJoinLateral_Call) RunAndReturn(run func(interface{}, string) db.Query) *Query_LeftJoinLateral_Call

type Query_LeftJoinSub_Call

type Query_LeftJoinSub_Call struct {
	*mock.Call
}

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

func (*Query_LeftJoinSub_Call) Return

func (*Query_LeftJoinSub_Call) Run

func (_c *Query_LeftJoinSub_Call) Run(run func(query interface{}, as string, first interface{}, args ...interface{})) *Query_LeftJoinSub_Call

func (*Query_LeftJoinSub_Call) RunAndReturn

func (_c *Query_LeftJoinSub_Call) RunAndReturn(run func(interface{}, string, interface{}, ...interface{}) db.Query) *Query_LeftJoinSub_Call

type Query_LeftJoinWhere_Call

type Query_LeftJoinWhere_Call struct {
	*mock.Call
}

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

func (*Query_LeftJoinWhere_Call) Return

func (*Query_LeftJoinWhere_Call) Run

func (_c *Query_LeftJoinWhere_Call) Run(run func(table string, column string, operator string, value interface{})) *Query_LeftJoinWhere_Call

func (*Query_LeftJoinWhere_Call) RunAndReturn

func (_c *Query_LeftJoinWhere_Call) RunAndReturn(run func(string, string, string, interface{}) db.Query) *Query_LeftJoinWhere_Call

type Query_LeftJoin_Call

type Query_LeftJoin_Call struct {
	*mock.Call
}

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

func (*Query_LeftJoin_Call) Return

func (*Query_LeftJoin_Call) Run

func (_c *Query_LeftJoin_Call) Run(run func(query string, args ...interface{})) *Query_LeftJoin_Call

func (*Query_LeftJoin_Call) RunAndReturn

func (_c *Query_LeftJoin_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_LeftJoin_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 db.Query) *Query_Limit_Call

func (*Query_Limit_Call) Run

func (_c *Query_Limit_Call) Run(run func(limit uint64)) *Query_Limit_Call

func (*Query_Limit_Call) RunAndReturn

func (_c *Query_Limit_Call) RunAndReturn(run func(uint64) db.Query) *Query_Limit_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() db.Query) *Query_LockForUpdate_Call

type Query_Lock_Call

type Query_Lock_Call struct {
	*mock.Call
}

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

func (*Query_Lock_Call) Return

func (_c *Query_Lock_Call) Return(_a0 db.Query) *Query_Lock_Call

func (*Query_Lock_Call) Run

func (_c *Query_Lock_Call) Run(run func(value interface{})) *Query_Lock_Call

func (*Query_Lock_Call) RunAndReturn

func (_c *Query_Lock_Call) RunAndReturn(run func(interface{}) db.Query) *Query_Lock_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_NewQuery_Call

type Query_NewQuery_Call struct {
	*mock.Call
}

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

func (*Query_NewQuery_Call) Return

func (*Query_NewQuery_Call) Run

func (_c *Query_NewQuery_Call) Run(run func()) *Query_NewQuery_Call

func (*Query_NewQuery_Call) RunAndReturn

func (_c *Query_NewQuery_Call) RunAndReturn(run func() db.Query) *Query_NewQuery_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 db.Query) *Query_Offset_Call

func (*Query_Offset_Call) Run

func (_c *Query_Offset_Call) Run(run func(offset uint64)) *Query_Offset_Call

func (*Query_Offset_Call) RunAndReturn

func (_c *Query_Offset_Call) RunAndReturn(run func(uint64) db.Query) *Query_Offset_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 db.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) db.Query) *Query_Oldest_Call

type Query_OrHavingNotNull_Call

type Query_OrHavingNotNull_Call struct {
	*mock.Call
}

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

func (*Query_OrHavingNotNull_Call) Return

func (*Query_OrHavingNotNull_Call) Run

func (_c *Query_OrHavingNotNull_Call) Run(run func(columns ...string)) *Query_OrHavingNotNull_Call

func (*Query_OrHavingNotNull_Call) RunAndReturn

func (_c *Query_OrHavingNotNull_Call) RunAndReturn(run func(...string) db.Query) *Query_OrHavingNotNull_Call

type Query_OrHavingNull_Call

type Query_OrHavingNull_Call struct {
	*mock.Call
}

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

func (*Query_OrHavingNull_Call) Return

func (*Query_OrHavingNull_Call) Run

func (_c *Query_OrHavingNull_Call) Run(run func(columns ...string)) *Query_OrHavingNull_Call

func (*Query_OrHavingNull_Call) RunAndReturn

func (_c *Query_OrHavingNull_Call) RunAndReturn(run func(...string) db.Query) *Query_OrHavingNull_Call

type Query_OrHavingRaw_Call

type Query_OrHavingRaw_Call struct {
	*mock.Call
}

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

func (*Query_OrHavingRaw_Call) Return

func (*Query_OrHavingRaw_Call) Run

func (_c *Query_OrHavingRaw_Call) Run(run func(sql string, bindings ...interface{})) *Query_OrHavingRaw_Call

func (*Query_OrHavingRaw_Call) RunAndReturn

func (_c *Query_OrHavingRaw_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_OrHavingRaw_Call

type Query_OrHaving_Call

type Query_OrHaving_Call struct {
	*mock.Call
}

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

func (*Query_OrHaving_Call) Return

func (*Query_OrHaving_Call) Run

func (_c *Query_OrHaving_Call) Run(run func(column interface{}, args ...interface{})) *Query_OrHaving_Call

func (*Query_OrHaving_Call) RunAndReturn

func (_c *Query_OrHaving_Call) RunAndReturn(run func(interface{}, ...interface{}) db.Query) *Query_OrHaving_Call

type Query_OrWhereAfterToday_Call

type Query_OrWhereAfterToday_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereAfterToday_Call) Return

func (*Query_OrWhereAfterToday_Call) Run

func (_c *Query_OrWhereAfterToday_Call) Run(run func(columns ...string)) *Query_OrWhereAfterToday_Call

func (*Query_OrWhereAfterToday_Call) RunAndReturn

type Query_OrWhereAll_Call

type Query_OrWhereAll_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereAll_Call) Return

func (*Query_OrWhereAll_Call) Run

func (_c *Query_OrWhereAll_Call) Run(run func(columns []string, args ...interface{})) *Query_OrWhereAll_Call

func (*Query_OrWhereAll_Call) RunAndReturn

func (_c *Query_OrWhereAll_Call) RunAndReturn(run func([]string, ...interface{}) db.Query) *Query_OrWhereAll_Call

type Query_OrWhereAny_Call

type Query_OrWhereAny_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereAny_Call) Return

func (*Query_OrWhereAny_Call) Run

func (_c *Query_OrWhereAny_Call) Run(run func(columns []string, args ...interface{})) *Query_OrWhereAny_Call

func (*Query_OrWhereAny_Call) RunAndReturn

func (_c *Query_OrWhereAny_Call) RunAndReturn(run func([]string, ...interface{}) db.Query) *Query_OrWhereAny_Call

type Query_OrWhereBeforeToday_Call

type Query_OrWhereBeforeToday_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereBeforeToday_Call) Return

func (*Query_OrWhereBeforeToday_Call) Run

func (*Query_OrWhereBeforeToday_Call) RunAndReturn

type Query_OrWhereBetweenColumns_Call

type Query_OrWhereBetweenColumns_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereBetweenColumns_Call) Return

func (*Query_OrWhereBetweenColumns_Call) Run

func (*Query_OrWhereBetweenColumns_Call) RunAndReturn

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{}) db.Query) *Query_OrWhereBetween_Call

type Query_OrWhereColumn_Call

type Query_OrWhereColumn_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereColumn_Call) Return

func (*Query_OrWhereColumn_Call) Run

func (_c *Query_OrWhereColumn_Call) Run(run func(column1 string, column2 ...string)) *Query_OrWhereColumn_Call

func (*Query_OrWhereColumn_Call) RunAndReturn

func (_c *Query_OrWhereColumn_Call) RunAndReturn(run func(string, ...string) db.Query) *Query_OrWhereColumn_Call

type Query_OrWhereDate_Call

type Query_OrWhereDate_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereDate_Call) Return

func (*Query_OrWhereDate_Call) Run

func (_c *Query_OrWhereDate_Call) Run(run func(column string, args ...interface{})) *Query_OrWhereDate_Call

func (*Query_OrWhereDate_Call) RunAndReturn

func (_c *Query_OrWhereDate_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_OrWhereDate_Call

type Query_OrWhereDay_Call

type Query_OrWhereDay_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereDay_Call) Return

func (*Query_OrWhereDay_Call) Run

func (_c *Query_OrWhereDay_Call) Run(run func(column string, args ...interface{})) *Query_OrWhereDay_Call

func (*Query_OrWhereDay_Call) RunAndReturn

func (_c *Query_OrWhereDay_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_OrWhereDay_Call

type Query_OrWhereExists_Call

type Query_OrWhereExists_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereExists_Call) Return

func (*Query_OrWhereExists_Call) Run

func (_c *Query_OrWhereExists_Call) Run(run func(query interface{})) *Query_OrWhereExists_Call

func (*Query_OrWhereExists_Call) RunAndReturn

func (_c *Query_OrWhereExists_Call) RunAndReturn(run func(interface{}) db.Query) *Query_OrWhereExists_Call

type Query_OrWhereFullText_Call

type Query_OrWhereFullText_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereFullText_Call) Return

func (*Query_OrWhereFullText_Call) Run

func (_c *Query_OrWhereFullText_Call) Run(run func(columns []string, value string, options ...string)) *Query_OrWhereFullText_Call

func (*Query_OrWhereFullText_Call) RunAndReturn

type Query_OrWhereFuture_Call

type Query_OrWhereFuture_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereFuture_Call) Return

func (*Query_OrWhereFuture_Call) Run

func (_c *Query_OrWhereFuture_Call) Run(run func(columns ...string)) *Query_OrWhereFuture_Call

func (*Query_OrWhereFuture_Call) RunAndReturn

func (_c *Query_OrWhereFuture_Call) RunAndReturn(run func(...string) db.Query) *Query_OrWhereFuture_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{}) db.Query) *Query_OrWhereIn_Call

type Query_OrWhereIntegerInRaw_Call

type Query_OrWhereIntegerInRaw_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereIntegerInRaw_Call) Return

func (*Query_OrWhereIntegerInRaw_Call) Run

func (_c *Query_OrWhereIntegerInRaw_Call) Run(run func(column string, values []interface{})) *Query_OrWhereIntegerInRaw_Call

func (*Query_OrWhereIntegerInRaw_Call) RunAndReturn

func (_c *Query_OrWhereIntegerInRaw_Call) RunAndReturn(run func(string, []interface{}) db.Query) *Query_OrWhereIntegerInRaw_Call

type Query_OrWhereIntegerNotInRaw_Call

type Query_OrWhereIntegerNotInRaw_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereIntegerNotInRaw_Call) Return

func (*Query_OrWhereIntegerNotInRaw_Call) Run

func (_c *Query_OrWhereIntegerNotInRaw_Call) Run(run func(column string, values []interface{})) *Query_OrWhereIntegerNotInRaw_Call

func (*Query_OrWhereIntegerNotInRaw_Call) RunAndReturn

func (_c *Query_OrWhereIntegerNotInRaw_Call) RunAndReturn(run func(string, []interface{}) db.Query) *Query_OrWhereIntegerNotInRaw_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{}) db.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_OrWhereJsonDoesntOverlap_Call

type Query_OrWhereJsonDoesntOverlap_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereJsonDoesntOverlap_Call) Return

func (*Query_OrWhereJsonDoesntOverlap_Call) Run

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

func (*Query_OrWhereJsonDoesntOverlap_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{}) db.Query) *Query_OrWhereJsonLength_Call

type Query_OrWhereJsonOverlaps_Call

type Query_OrWhereJsonOverlaps_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereJsonOverlaps_Call) Return

func (*Query_OrWhereJsonOverlaps_Call) Run

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

func (*Query_OrWhereJsonOverlaps_Call) RunAndReturn

func (_c *Query_OrWhereJsonOverlaps_Call) RunAndReturn(run func(string, interface{}) db.Query) *Query_OrWhereJsonOverlaps_Call

type Query_OrWhereLike_Call

type Query_OrWhereLike_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereLike_Call) Return

func (*Query_OrWhereLike_Call) Run

func (_c *Query_OrWhereLike_Call) Run(run func(column string, value string, caseSensitive ...bool)) *Query_OrWhereLike_Call

func (*Query_OrWhereLike_Call) RunAndReturn

func (_c *Query_OrWhereLike_Call) RunAndReturn(run func(string, string, ...bool) db.Query) *Query_OrWhereLike_Call

type Query_OrWhereMonth_Call

type Query_OrWhereMonth_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereMonth_Call) Return

func (*Query_OrWhereMonth_Call) Run

func (_c *Query_OrWhereMonth_Call) Run(run func(column string, args ...interface{})) *Query_OrWhereMonth_Call

func (*Query_OrWhereMonth_Call) RunAndReturn

func (_c *Query_OrWhereMonth_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_OrWhereMonth_Call

type Query_OrWhereNone_Call

type Query_OrWhereNone_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereNone_Call) Return

func (*Query_OrWhereNone_Call) Run

func (_c *Query_OrWhereNone_Call) Run(run func(columns []string, args ...interface{})) *Query_OrWhereNone_Call

func (*Query_OrWhereNone_Call) RunAndReturn

func (_c *Query_OrWhereNone_Call) RunAndReturn(run func([]string, ...interface{}) db.Query) *Query_OrWhereNone_Call

type Query_OrWhereNotBetweenColumns_Call

type Query_OrWhereNotBetweenColumns_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereNotBetweenColumns_Call) Return

func (*Query_OrWhereNotBetweenColumns_Call) Run

func (*Query_OrWhereNotBetweenColumns_Call) RunAndReturn

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{}) db.Query) *Query_OrWhereNotBetween_Call

type Query_OrWhereNotExists_Call

type Query_OrWhereNotExists_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereNotExists_Call) Return

func (*Query_OrWhereNotExists_Call) Run

func (_c *Query_OrWhereNotExists_Call) Run(run func(query interface{})) *Query_OrWhereNotExists_Call

func (*Query_OrWhereNotExists_Call) RunAndReturn

func (_c *Query_OrWhereNotExists_Call) RunAndReturn(run func(interface{}) db.Query) *Query_OrWhereNotExists_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{}) db.Query) *Query_OrWhereNotIn_Call

type Query_OrWhereNotLike_Call

type Query_OrWhereNotLike_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereNotLike_Call) Return

func (*Query_OrWhereNotLike_Call) Run

func (_c *Query_OrWhereNotLike_Call) Run(run func(column string, value string, caseSensitive ...bool)) *Query_OrWhereNotLike_Call

func (*Query_OrWhereNotLike_Call) RunAndReturn

func (_c *Query_OrWhereNotLike_Call) RunAndReturn(run func(string, string, ...bool) db.Query) *Query_OrWhereNotLike_Call

type Query_OrWhereNotNull_Call

type Query_OrWhereNotNull_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereNotNull_Call) Return

func (*Query_OrWhereNotNull_Call) Run

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

func (*Query_OrWhereNotNull_Call) RunAndReturn

func (_c *Query_OrWhereNotNull_Call) RunAndReturn(run func(string) db.Query) *Query_OrWhereNotNull_Call

type Query_OrWhereNot_Call

type Query_OrWhereNot_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereNot_Call) Return

func (*Query_OrWhereNot_Call) Run

func (_c *Query_OrWhereNot_Call) Run(run func(query interface{}, args ...interface{})) *Query_OrWhereNot_Call

func (*Query_OrWhereNot_Call) RunAndReturn

func (_c *Query_OrWhereNot_Call) RunAndReturn(run func(interface{}, ...interface{}) db.Query) *Query_OrWhereNot_Call

type Query_OrWhereNowOrFuture_Call

type Query_OrWhereNowOrFuture_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereNowOrFuture_Call) Return

func (*Query_OrWhereNowOrFuture_Call) Run

func (*Query_OrWhereNowOrFuture_Call) RunAndReturn

type Query_OrWhereNowOrPast_Call

type Query_OrWhereNowOrPast_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereNowOrPast_Call) Return

func (*Query_OrWhereNowOrPast_Call) Run

func (_c *Query_OrWhereNowOrPast_Call) Run(run func(columns ...string)) *Query_OrWhereNowOrPast_Call

func (*Query_OrWhereNowOrPast_Call) RunAndReturn

func (_c *Query_OrWhereNowOrPast_Call) RunAndReturn(run func(...string) db.Query) *Query_OrWhereNowOrPast_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) db.Query) *Query_OrWhereNull_Call

type Query_OrWherePast_Call

type Query_OrWherePast_Call struct {
	*mock.Call
}

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

func (*Query_OrWherePast_Call) Return

func (*Query_OrWherePast_Call) Run

func (_c *Query_OrWherePast_Call) Run(run func(columns ...string)) *Query_OrWherePast_Call

func (*Query_OrWherePast_Call) RunAndReturn

func (_c *Query_OrWherePast_Call) RunAndReturn(run func(...string) db.Query) *Query_OrWherePast_Call

type Query_OrWhereRaw_Call

type Query_OrWhereRaw_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereRaw_Call) Return

func (*Query_OrWhereRaw_Call) Run

func (_c *Query_OrWhereRaw_Call) Run(run func(raw string, args []interface{})) *Query_OrWhereRaw_Call

func (*Query_OrWhereRaw_Call) RunAndReturn

func (_c *Query_OrWhereRaw_Call) RunAndReturn(run func(string, []interface{}) db.Query) *Query_OrWhereRaw_Call

type Query_OrWhereRowValues_Call

type Query_OrWhereRowValues_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereRowValues_Call) Return

func (*Query_OrWhereRowValues_Call) Run

func (_c *Query_OrWhereRowValues_Call) Run(run func(columns []string, operator string, values []interface{})) *Query_OrWhereRowValues_Call

func (*Query_OrWhereRowValues_Call) RunAndReturn

func (_c *Query_OrWhereRowValues_Call) RunAndReturn(run func([]string, string, []interface{}) db.Query) *Query_OrWhereRowValues_Call

type Query_OrWhereTime_Call

type Query_OrWhereTime_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereTime_Call) Return

func (*Query_OrWhereTime_Call) Run

func (_c *Query_OrWhereTime_Call) Run(run func(column string, args ...interface{})) *Query_OrWhereTime_Call

func (*Query_OrWhereTime_Call) RunAndReturn

func (_c *Query_OrWhereTime_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_OrWhereTime_Call

type Query_OrWhereTodayOrAfter_Call

type Query_OrWhereTodayOrAfter_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereTodayOrAfter_Call) Return

func (*Query_OrWhereTodayOrAfter_Call) Run

func (*Query_OrWhereTodayOrAfter_Call) RunAndReturn

type Query_OrWhereTodayOrBefore_Call

type Query_OrWhereTodayOrBefore_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereTodayOrBefore_Call) Return

func (*Query_OrWhereTodayOrBefore_Call) Run

func (*Query_OrWhereTodayOrBefore_Call) RunAndReturn

type Query_OrWhereToday_Call

type Query_OrWhereToday_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereToday_Call) Return

func (*Query_OrWhereToday_Call) Run

func (_c *Query_OrWhereToday_Call) Run(run func(columns ...string)) *Query_OrWhereToday_Call

func (*Query_OrWhereToday_Call) RunAndReturn

func (_c *Query_OrWhereToday_Call) RunAndReturn(run func(...string) db.Query) *Query_OrWhereToday_Call

type Query_OrWhereValueBetween_Call

type Query_OrWhereValueBetween_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereValueBetween_Call) Return

func (*Query_OrWhereValueBetween_Call) Run

func (_c *Query_OrWhereValueBetween_Call) Run(run func(value interface{}, lower string, upper string)) *Query_OrWhereValueBetween_Call

func (*Query_OrWhereValueBetween_Call) RunAndReturn

func (_c *Query_OrWhereValueBetween_Call) RunAndReturn(run func(interface{}, string, string) db.Query) *Query_OrWhereValueBetween_Call

type Query_OrWhereValueNotBetween_Call

type Query_OrWhereValueNotBetween_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereValueNotBetween_Call) Return

func (*Query_OrWhereValueNotBetween_Call) Run

func (_c *Query_OrWhereValueNotBetween_Call) Run(run func(value interface{}, lower string, upper string)) *Query_OrWhereValueNotBetween_Call

func (*Query_OrWhereValueNotBetween_Call) RunAndReturn

func (_c *Query_OrWhereValueNotBetween_Call) RunAndReturn(run func(interface{}, string, string) db.Query) *Query_OrWhereValueNotBetween_Call

type Query_OrWhereYear_Call

type Query_OrWhereYear_Call struct {
	*mock.Call
}

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

func (*Query_OrWhereYear_Call) Return

func (*Query_OrWhereYear_Call) Run

func (_c *Query_OrWhereYear_Call) Run(run func(column string, args ...interface{})) *Query_OrWhereYear_Call

func (*Query_OrWhereYear_Call) RunAndReturn

func (_c *Query_OrWhereYear_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_OrWhereYear_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 (_c *Query_OrWhere_Call) Return(_a0 db.Query) *Query_OrWhere_Call

func (*Query_OrWhere_Call) Run

func (_c *Query_OrWhere_Call) Run(run func(query interface{}, args ...interface{})) *Query_OrWhere_Call

func (*Query_OrWhere_Call) RunAndReturn

func (_c *Query_OrWhere_Call) RunAndReturn(run func(interface{}, ...interface{}) db.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 interface{})) *Query_OrderByDesc_Call

func (*Query_OrderByDesc_Call) RunAndReturn

func (_c *Query_OrderByDesc_Call) RunAndReturn(run func(interface{}) db.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, bindings ...interface{})) *Query_OrderByRaw_Call

func (*Query_OrderByRaw_Call) RunAndReturn

func (_c *Query_OrderByRaw_Call) RunAndReturn(run func(string, ...interface{}) db.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 (_c *Query_OrderBy_Call) Return(_a0 db.Query) *Query_OrderBy_Call

func (*Query_OrderBy_Call) Run

func (_c *Query_OrderBy_Call) Run(run func(column interface{}, directions ...string)) *Query_OrderBy_Call

func (*Query_OrderBy_Call) RunAndReturn

func (_c *Query_OrderBy_Call) RunAndReturn(run func(interface{}, ...string) db.Query) *Query_OrderBy_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_Pipe_Call

type Query_Pipe_Call struct {
	*mock.Call
}

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

func (*Query_Pipe_Call) Return

func (_c *Query_Pipe_Call) Return(_a0 interface{}) *Query_Pipe_Call

func (*Query_Pipe_Call) Run

func (_c *Query_Pipe_Call) Run(run func(callback func(db.Query) interface{})) *Query_Pipe_Call

func (*Query_Pipe_Call) RunAndReturn

func (_c *Query_Pipe_Call) RunAndReturn(run func(func(db.Query) interface{}) interface{}) *Query_Pipe_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_RawValue_Call

type Query_RawValue_Call struct {
	*mock.Call
}

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

func (*Query_RawValue_Call) Return

func (*Query_RawValue_Call) Run

func (_c *Query_RawValue_Call) Run(run func(expression string, dest interface{})) *Query_RawValue_Call

func (*Query_RawValue_Call) RunAndReturn

func (_c *Query_RawValue_Call) RunAndReturn(run func(string, interface{}) error) *Query_RawValue_Call

type Query_ReorderDesc_Call

type Query_ReorderDesc_Call struct {
	*mock.Call
}

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

func (*Query_ReorderDesc_Call) Return

func (*Query_ReorderDesc_Call) Run

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

func (*Query_ReorderDesc_Call) RunAndReturn

func (_c *Query_ReorderDesc_Call) RunAndReturn(run func(string) db.Query) *Query_ReorderDesc_Call

type Query_Reorder_Call

type Query_Reorder_Call struct {
	*mock.Call
}

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

func (*Query_Reorder_Call) Return

func (_c *Query_Reorder_Call) Return(_a0 db.Query) *Query_Reorder_Call

func (*Query_Reorder_Call) Run

func (_c *Query_Reorder_Call) Run(run func(column ...string)) *Query_Reorder_Call

func (*Query_Reorder_Call) RunAndReturn

func (_c *Query_Reorder_Call) RunAndReturn(run func(...string) db.Query) *Query_Reorder_Call

type Query_RightJoinSub_Call

type Query_RightJoinSub_Call struct {
	*mock.Call
}

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

func (*Query_RightJoinSub_Call) Return

func (*Query_RightJoinSub_Call) Run

func (_c *Query_RightJoinSub_Call) Run(run func(query interface{}, as string, first interface{}, args ...interface{})) *Query_RightJoinSub_Call

func (*Query_RightJoinSub_Call) RunAndReturn

func (_c *Query_RightJoinSub_Call) RunAndReturn(run func(interface{}, string, interface{}, ...interface{}) db.Query) *Query_RightJoinSub_Call

type Query_RightJoinWhere_Call

type Query_RightJoinWhere_Call struct {
	*mock.Call
}

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

func (*Query_RightJoinWhere_Call) Return

func (*Query_RightJoinWhere_Call) Run

func (_c *Query_RightJoinWhere_Call) Run(run func(table string, column string, operator string, value interface{})) *Query_RightJoinWhere_Call

func (*Query_RightJoinWhere_Call) RunAndReturn

func (_c *Query_RightJoinWhere_Call) RunAndReturn(run func(string, string, string, interface{}) db.Query) *Query_RightJoinWhere_Call

type Query_RightJoin_Call

type Query_RightJoin_Call struct {
	*mock.Call
}

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

func (*Query_RightJoin_Call) Return

func (*Query_RightJoin_Call) Run

func (_c *Query_RightJoin_Call) Run(run func(query string, args ...interface{})) *Query_RightJoin_Call

func (*Query_RightJoin_Call) RunAndReturn

func (_c *Query_RightJoin_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_RightJoin_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(sql string, bindings ...interface{})) *Query_SelectRaw_Call

func (*Query_SelectRaw_Call) RunAndReturn

func (_c *Query_SelectRaw_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_SelectRaw_Call

type Query_SelectSub_Call

type Query_SelectSub_Call struct {
	*mock.Call
}

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

func (*Query_SelectSub_Call) Return

func (*Query_SelectSub_Call) Run

func (_c *Query_SelectSub_Call) Run(run func(query interface{}, as string)) *Query_SelectSub_Call

func (*Query_SelectSub_Call) RunAndReturn

func (_c *Query_SelectSub_Call) RunAndReturn(run func(interface{}, string) db.Query) *Query_SelectSub_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 db.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) db.Query) *Query_Select_Call

type Query_SetBindings_Call

type Query_SetBindings_Call struct {
	*mock.Call
}

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

func (*Query_SetBindings_Call) Return

func (*Query_SetBindings_Call) Run

func (_c *Query_SetBindings_Call) Run(run func(values []interface{}, component string)) *Query_SetBindings_Call

func (*Query_SetBindings_Call) RunAndReturn

func (_c *Query_SetBindings_Call) RunAndReturn(run func([]interface{}, string) db.Query) *Query_SetBindings_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() db.Query) *Query_SharedLock_Call

type Query_SimplePaginate_Call

type Query_SimplePaginate_Call struct {
	*mock.Call
}

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

func (*Query_SimplePaginate_Call) Return

func (*Query_SimplePaginate_Call) Run

func (_c *Query_SimplePaginate_Call) Run(run func(page int, limit int, dest interface{})) *Query_SimplePaginate_Call

func (*Query_SimplePaginate_Call) RunAndReturn

func (_c *Query_SimplePaginate_Call) RunAndReturn(run func(int, int, interface{}) (bool, error)) *Query_SimplePaginate_Call

type Query_Skip_Call

type Query_Skip_Call struct {
	*mock.Call
}

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

func (*Query_Skip_Call) Return

func (_c *Query_Skip_Call) Return(_a0 db.Query) *Query_Skip_Call

func (*Query_Skip_Call) Run

func (_c *Query_Skip_Call) Run(run func(offset int)) *Query_Skip_Call

func (*Query_Skip_Call) RunAndReturn

func (_c *Query_Skip_Call) RunAndReturn(run func(int) db.Query) *Query_Skip_Call

type Query_SoleValue_Call

type Query_SoleValue_Call struct {
	*mock.Call
}

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

func (*Query_SoleValue_Call) Return

func (*Query_SoleValue_Call) Run

func (_c *Query_SoleValue_Call) Run(run func(column string, dest interface{})) *Query_SoleValue_Call

func (*Query_SoleValue_Call) RunAndReturn

func (_c *Query_SoleValue_Call) RunAndReturn(run func(string, interface{}) error) *Query_SoleValue_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_Take_Call

type Query_Take_Call struct {
	*mock.Call
}

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

func (*Query_Take_Call) Return

func (_c *Query_Take_Call) Return(_a0 db.Query) *Query_Take_Call

func (*Query_Take_Call) Run

func (_c *Query_Take_Call) Run(run func(limit int)) *Query_Take_Call

func (*Query_Take_Call) RunAndReturn

func (_c *Query_Take_Call) RunAndReturn(run func(int) db.Query) *Query_Take_Call

type Query_Tap_Call

type Query_Tap_Call struct {
	*mock.Call
}

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

func (*Query_Tap_Call) Return

func (_c *Query_Tap_Call) Return(_a0 db.Query) *Query_Tap_Call

func (*Query_Tap_Call) Run

func (_c *Query_Tap_Call) Run(run func(callback func(db.Query))) *Query_Tap_Call

func (*Query_Tap_Call) RunAndReturn

func (_c *Query_Tap_Call) RunAndReturn(run func(func(db.Query)) db.Query) *Query_Tap_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() db.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 db.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() db.ToSql) *Query_ToSql_Call

type Query_Truncate_Call

type Query_Truncate_Call struct {
	*mock.Call
}

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

func (*Query_Truncate_Call) Return

func (*Query_Truncate_Call) Run

func (_c *Query_Truncate_Call) Run(run func()) *Query_Truncate_Call

func (*Query_Truncate_Call) RunAndReturn

func (_c *Query_Truncate_Call) RunAndReturn(run func() error) *Query_Truncate_Call

type Query_UnionAll_Call

type Query_UnionAll_Call struct {
	*mock.Call
}

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

func (*Query_UnionAll_Call) Return

func (*Query_UnionAll_Call) Run

func (_c *Query_UnionAll_Call) Run(run func(query interface{})) *Query_UnionAll_Call

func (*Query_UnionAll_Call) RunAndReturn

func (_c *Query_UnionAll_Call) RunAndReturn(run func(interface{}) db.Query) *Query_UnionAll_Call

type Query_Union_Call

type Query_Union_Call struct {
	*mock.Call
}

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

func (*Query_Union_Call) Return

func (_c *Query_Union_Call) Return(_a0 db.Query) *Query_Union_Call

func (*Query_Union_Call) Run

func (_c *Query_Union_Call) Run(run func(query interface{})) *Query_Union_Call

func (*Query_Union_Call) RunAndReturn

func (_c *Query_Union_Call) RunAndReturn(run func(interface{}) db.Query) *Query_Union_Call

type Query_Unless_Call

type Query_Unless_Call struct {
	*mock.Call
}

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

func (*Query_Unless_Call) Return

func (_c *Query_Unless_Call) Return(_a0 db.Query) *Query_Unless_Call

func (*Query_Unless_Call) Run

func (_c *Query_Unless_Call) Run(run func(condition bool, callback func(db.Query) db.Query, otherwise ...func(db.Query) db.Query)) *Query_Unless_Call

func (*Query_Unless_Call) RunAndReturn

func (_c *Query_Unless_Call) RunAndReturn(run func(bool, func(db.Query) db.Query, ...func(db.Query) db.Query) db.Query) *Query_Unless_Call

type Query_UpdateFrom_Call

type Query_UpdateFrom_Call struct {
	*mock.Call
}

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

func (*Query_UpdateFrom_Call) Return

func (*Query_UpdateFrom_Call) Run

func (_c *Query_UpdateFrom_Call) Run(run func(values interface{})) *Query_UpdateFrom_Call

func (*Query_UpdateFrom_Call) RunAndReturn

func (_c *Query_UpdateFrom_Call) RunAndReturn(run func(interface{}) (*db.Result, error)) *Query_UpdateFrom_Call

type Query_UpdateOrInsert_Call

type Query_UpdateOrInsert_Call struct {
	*mock.Call
}

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

func (*Query_UpdateOrInsert_Call) Return

func (*Query_UpdateOrInsert_Call) Run

func (_c *Query_UpdateOrInsert_Call) Run(run func(attributes interface{}, values interface{})) *Query_UpdateOrInsert_Call

func (*Query_UpdateOrInsert_Call) RunAndReturn

func (_c *Query_UpdateOrInsert_Call) RunAndReturn(run func(interface{}, interface{}) (*db.Result, error)) *Query_UpdateOrInsert_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(data 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_UseIndex_Call

type Query_UseIndex_Call struct {
	*mock.Call
}

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

func (*Query_UseIndex_Call) Return

func (*Query_UseIndex_Call) Run

func (_c *Query_UseIndex_Call) Run(run func(index string)) *Query_UseIndex_Call

func (*Query_UseIndex_Call) RunAndReturn

func (_c *Query_UseIndex_Call) RunAndReturn(run func(string) db.Query) *Query_UseIndex_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() db.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 db.Query) *Query_When_Call

func (*Query_When_Call) Run

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

func (*Query_When_Call) RunAndReturn

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

type Query_WhereAfterToday_Call

type Query_WhereAfterToday_Call struct {
	*mock.Call
}

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

func (*Query_WhereAfterToday_Call) Return

func (*Query_WhereAfterToday_Call) Run

func (_c *Query_WhereAfterToday_Call) Run(run func(columns ...string)) *Query_WhereAfterToday_Call

func (*Query_WhereAfterToday_Call) RunAndReturn

func (_c *Query_WhereAfterToday_Call) RunAndReturn(run func(...string) db.Query) *Query_WhereAfterToday_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{}) db.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{}) db.Query) *Query_WhereAny_Call

type Query_WhereBeforeToday_Call

type Query_WhereBeforeToday_Call struct {
	*mock.Call
}

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

func (*Query_WhereBeforeToday_Call) Return

func (*Query_WhereBeforeToday_Call) Run

func (_c *Query_WhereBeforeToday_Call) Run(run func(columns ...string)) *Query_WhereBeforeToday_Call

func (*Query_WhereBeforeToday_Call) RunAndReturn

func (_c *Query_WhereBeforeToday_Call) RunAndReturn(run func(...string) db.Query) *Query_WhereBeforeToday_Call

type Query_WhereBetweenColumns_Call

type Query_WhereBetweenColumns_Call struct {
	*mock.Call
}

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

func (*Query_WhereBetweenColumns_Call) Return

func (*Query_WhereBetweenColumns_Call) Run

func (_c *Query_WhereBetweenColumns_Call) Run(run func(column string, lower string, upper string)) *Query_WhereBetweenColumns_Call

func (*Query_WhereBetweenColumns_Call) RunAndReturn

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{}) db.Query) *Query_WhereBetween_Call

type Query_WhereColumn_Call

type Query_WhereColumn_Call struct {
	*mock.Call
}

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

func (*Query_WhereColumn_Call) Return

func (*Query_WhereColumn_Call) Run

func (_c *Query_WhereColumn_Call) Run(run func(column1 string, column2 ...string)) *Query_WhereColumn_Call

func (*Query_WhereColumn_Call) RunAndReturn

func (_c *Query_WhereColumn_Call) RunAndReturn(run func(string, ...string) db.Query) *Query_WhereColumn_Call

type Query_WhereDate_Call

type Query_WhereDate_Call struct {
	*mock.Call
}

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

func (*Query_WhereDate_Call) Return

func (*Query_WhereDate_Call) Run

func (_c *Query_WhereDate_Call) Run(run func(column string, args ...interface{})) *Query_WhereDate_Call

func (*Query_WhereDate_Call) RunAndReturn

func (_c *Query_WhereDate_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_WhereDate_Call

type Query_WhereDay_Call

type Query_WhereDay_Call struct {
	*mock.Call
}

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

func (*Query_WhereDay_Call) Return

func (*Query_WhereDay_Call) Run

func (_c *Query_WhereDay_Call) Run(run func(column string, args ...interface{})) *Query_WhereDay_Call

func (*Query_WhereDay_Call) RunAndReturn

func (_c *Query_WhereDay_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_WhereDay_Call

type Query_WhereExists_Call

type Query_WhereExists_Call struct {
	*mock.Call
}

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

func (*Query_WhereExists_Call) Return

func (*Query_WhereExists_Call) Run

func (_c *Query_WhereExists_Call) Run(run func(query interface{})) *Query_WhereExists_Call

func (*Query_WhereExists_Call) RunAndReturn

func (_c *Query_WhereExists_Call) RunAndReturn(run func(interface{}) db.Query) *Query_WhereExists_Call

type Query_WhereFullText_Call

type Query_WhereFullText_Call struct {
	*mock.Call
}

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

func (*Query_WhereFullText_Call) Return

func (*Query_WhereFullText_Call) Run

func (_c *Query_WhereFullText_Call) Run(run func(columns []string, value string, options ...string)) *Query_WhereFullText_Call

func (*Query_WhereFullText_Call) RunAndReturn

func (_c *Query_WhereFullText_Call) RunAndReturn(run func([]string, string, ...string) db.Query) *Query_WhereFullText_Call

type Query_WhereFuture_Call

type Query_WhereFuture_Call struct {
	*mock.Call
}

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

func (*Query_WhereFuture_Call) Return

func (*Query_WhereFuture_Call) Run

func (_c *Query_WhereFuture_Call) Run(run func(columns ...string)) *Query_WhereFuture_Call

func (*Query_WhereFuture_Call) RunAndReturn

func (_c *Query_WhereFuture_Call) RunAndReturn(run func(...string) db.Query) *Query_WhereFuture_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 (_c *Query_WhereIn_Call) Return(_a0 db.Query) *Query_WhereIn_Call

func (*Query_WhereIn_Call) Run

func (_c *Query_WhereIn_Call) Run(run func(column string, values interface{})) *Query_WhereIn_Call

func (*Query_WhereIn_Call) RunAndReturn

func (_c *Query_WhereIn_Call) RunAndReturn(run func(string, interface{}) db.Query) *Query_WhereIn_Call

type Query_WhereIntegerInRaw_Call

type Query_WhereIntegerInRaw_Call struct {
	*mock.Call
}

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

func (*Query_WhereIntegerInRaw_Call) Return

func (*Query_WhereIntegerInRaw_Call) Run

func (_c *Query_WhereIntegerInRaw_Call) Run(run func(column string, values []interface{})) *Query_WhereIntegerInRaw_Call

func (*Query_WhereIntegerInRaw_Call) RunAndReturn

func (_c *Query_WhereIntegerInRaw_Call) RunAndReturn(run func(string, []interface{}) db.Query) *Query_WhereIntegerInRaw_Call

type Query_WhereIntegerNotInRaw_Call

type Query_WhereIntegerNotInRaw_Call struct {
	*mock.Call
}

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

func (*Query_WhereIntegerNotInRaw_Call) Return

func (*Query_WhereIntegerNotInRaw_Call) Run

func (_c *Query_WhereIntegerNotInRaw_Call) Run(run func(column string, values []interface{})) *Query_WhereIntegerNotInRaw_Call

func (*Query_WhereIntegerNotInRaw_Call) RunAndReturn

func (_c *Query_WhereIntegerNotInRaw_Call) RunAndReturn(run func(string, []interface{}) db.Query) *Query_WhereIntegerNotInRaw_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{}) db.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{}) db.Query) *Query_WhereJsonDoesntContain_Call

type Query_WhereJsonDoesntOverlap_Call

type Query_WhereJsonDoesntOverlap_Call struct {
	*mock.Call
}

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

func (*Query_WhereJsonDoesntOverlap_Call) Return

func (*Query_WhereJsonDoesntOverlap_Call) Run

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

func (*Query_WhereJsonDoesntOverlap_Call) RunAndReturn

func (_c *Query_WhereJsonDoesntOverlap_Call) RunAndReturn(run func(string, interface{}) db.Query) *Query_WhereJsonDoesntOverlap_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{}) db.Query) *Query_WhereJsonLength_Call

type Query_WhereJsonOverlaps_Call

type Query_WhereJsonOverlaps_Call struct {
	*mock.Call
}

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

func (*Query_WhereJsonOverlaps_Call) Return

func (*Query_WhereJsonOverlaps_Call) Run

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

func (*Query_WhereJsonOverlaps_Call) RunAndReturn

func (_c *Query_WhereJsonOverlaps_Call) RunAndReturn(run func(string, interface{}) db.Query) *Query_WhereJsonOverlaps_Call

type Query_WhereLike_Call

type Query_WhereLike_Call struct {
	*mock.Call
}

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

func (*Query_WhereLike_Call) Return

func (*Query_WhereLike_Call) Run

func (_c *Query_WhereLike_Call) Run(run func(column string, value string, caseSensitive ...bool)) *Query_WhereLike_Call

func (*Query_WhereLike_Call) RunAndReturn

func (_c *Query_WhereLike_Call) RunAndReturn(run func(string, string, ...bool) db.Query) *Query_WhereLike_Call

type Query_WhereMonth_Call

type Query_WhereMonth_Call struct {
	*mock.Call
}

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

func (*Query_WhereMonth_Call) Return

func (*Query_WhereMonth_Call) Run

func (_c *Query_WhereMonth_Call) Run(run func(column string, args ...interface{})) *Query_WhereMonth_Call

func (*Query_WhereMonth_Call) RunAndReturn

func (_c *Query_WhereMonth_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_WhereMonth_Call

type Query_WhereNested_Call

type Query_WhereNested_Call struct {
	*mock.Call
}

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

func (*Query_WhereNested_Call) Return

func (*Query_WhereNested_Call) Run

func (_c *Query_WhereNested_Call) Run(run func(callback func(db.Query) db.Query)) *Query_WhereNested_Call

func (*Query_WhereNested_Call) RunAndReturn

func (_c *Query_WhereNested_Call) RunAndReturn(run func(func(db.Query) db.Query) db.Query) *Query_WhereNested_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{}) db.Query) *Query_WhereNone_Call

type Query_WhereNotBetweenColumns_Call

type Query_WhereNotBetweenColumns_Call struct {
	*mock.Call
}

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

func (*Query_WhereNotBetweenColumns_Call) Return

func (*Query_WhereNotBetweenColumns_Call) Run

func (*Query_WhereNotBetweenColumns_Call) RunAndReturn

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{}) db.Query) *Query_WhereNotBetween_Call

type Query_WhereNotExists_Call

type Query_WhereNotExists_Call struct {
	*mock.Call
}

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

func (*Query_WhereNotExists_Call) Return

func (*Query_WhereNotExists_Call) Run

func (_c *Query_WhereNotExists_Call) Run(run func(query interface{})) *Query_WhereNotExists_Call

func (*Query_WhereNotExists_Call) RunAndReturn

func (_c *Query_WhereNotExists_Call) RunAndReturn(run func(interface{}) db.Query) *Query_WhereNotExists_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{}) db.Query) *Query_WhereNotIn_Call

type Query_WhereNotLike_Call

type Query_WhereNotLike_Call struct {
	*mock.Call
}

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

func (*Query_WhereNotLike_Call) Return

func (*Query_WhereNotLike_Call) Run

func (_c *Query_WhereNotLike_Call) Run(run func(column string, value string, caseSensitive ...bool)) *Query_WhereNotLike_Call

func (*Query_WhereNotLike_Call) RunAndReturn

func (_c *Query_WhereNotLike_Call) RunAndReturn(run func(string, string, ...bool) db.Query) *Query_WhereNotLike_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) db.Query) *Query_WhereNotNull_Call

type Query_WhereNot_Call

type Query_WhereNot_Call struct {
	*mock.Call
}

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

func (*Query_WhereNot_Call) Return

func (*Query_WhereNot_Call) Run

func (_c *Query_WhereNot_Call) Run(run func(query interface{}, args ...interface{})) *Query_WhereNot_Call

func (*Query_WhereNot_Call) RunAndReturn

func (_c *Query_WhereNot_Call) RunAndReturn(run func(interface{}, ...interface{}) db.Query) *Query_WhereNot_Call

type Query_WhereNowOrFuture_Call

type Query_WhereNowOrFuture_Call struct {
	*mock.Call
}

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

func (*Query_WhereNowOrFuture_Call) Return

func (*Query_WhereNowOrFuture_Call) Run

func (_c *Query_WhereNowOrFuture_Call) Run(run func(columns ...string)) *Query_WhereNowOrFuture_Call

func (*Query_WhereNowOrFuture_Call) RunAndReturn

func (_c *Query_WhereNowOrFuture_Call) RunAndReturn(run func(...string) db.Query) *Query_WhereNowOrFuture_Call

type Query_WhereNowOrPast_Call

type Query_WhereNowOrPast_Call struct {
	*mock.Call
}

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

func (*Query_WhereNowOrPast_Call) Return

func (*Query_WhereNowOrPast_Call) Run

func (_c *Query_WhereNowOrPast_Call) Run(run func(columns ...string)) *Query_WhereNowOrPast_Call

func (*Query_WhereNowOrPast_Call) RunAndReturn

func (_c *Query_WhereNowOrPast_Call) RunAndReturn(run func(...string) db.Query) *Query_WhereNowOrPast_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) db.Query) *Query_WhereNull_Call

type Query_WherePast_Call

type Query_WherePast_Call struct {
	*mock.Call
}

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

func (*Query_WherePast_Call) Return

func (*Query_WherePast_Call) Run

func (_c *Query_WherePast_Call) Run(run func(columns ...string)) *Query_WherePast_Call

func (*Query_WherePast_Call) RunAndReturn

func (_c *Query_WherePast_Call) RunAndReturn(run func(...string) db.Query) *Query_WherePast_Call

type Query_WhereRaw_Call

type Query_WhereRaw_Call struct {
	*mock.Call
}

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

func (*Query_WhereRaw_Call) Return

func (*Query_WhereRaw_Call) Run

func (_c *Query_WhereRaw_Call) Run(run func(raw string, args []interface{})) *Query_WhereRaw_Call

func (*Query_WhereRaw_Call) RunAndReturn

func (_c *Query_WhereRaw_Call) RunAndReturn(run func(string, []interface{}) db.Query) *Query_WhereRaw_Call

type Query_WhereRowValues_Call

type Query_WhereRowValues_Call struct {
	*mock.Call
}

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

func (*Query_WhereRowValues_Call) Return

func (*Query_WhereRowValues_Call) Run

func (_c *Query_WhereRowValues_Call) Run(run func(columns []string, operator string, values []interface{})) *Query_WhereRowValues_Call

func (*Query_WhereRowValues_Call) RunAndReturn

func (_c *Query_WhereRowValues_Call) RunAndReturn(run func([]string, string, []interface{}) db.Query) *Query_WhereRowValues_Call

type Query_WhereTime_Call

type Query_WhereTime_Call struct {
	*mock.Call
}

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

func (*Query_WhereTime_Call) Return

func (*Query_WhereTime_Call) Run

func (_c *Query_WhereTime_Call) Run(run func(column string, args ...interface{})) *Query_WhereTime_Call

func (*Query_WhereTime_Call) RunAndReturn

func (_c *Query_WhereTime_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_WhereTime_Call

type Query_WhereTodayOrAfter_Call

type Query_WhereTodayOrAfter_Call struct {
	*mock.Call
}

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

func (*Query_WhereTodayOrAfter_Call) Return

func (*Query_WhereTodayOrAfter_Call) Run

func (_c *Query_WhereTodayOrAfter_Call) Run(run func(columns ...string)) *Query_WhereTodayOrAfter_Call

func (*Query_WhereTodayOrAfter_Call) RunAndReturn

type Query_WhereTodayOrBefore_Call

type Query_WhereTodayOrBefore_Call struct {
	*mock.Call
}

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

func (*Query_WhereTodayOrBefore_Call) Return

func (*Query_WhereTodayOrBefore_Call) Run

func (*Query_WhereTodayOrBefore_Call) RunAndReturn

type Query_WhereToday_Call

type Query_WhereToday_Call struct {
	*mock.Call
}

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

func (*Query_WhereToday_Call) Return

func (*Query_WhereToday_Call) Run

func (_c *Query_WhereToday_Call) Run(run func(columns ...string)) *Query_WhereToday_Call

func (*Query_WhereToday_Call) RunAndReturn

func (_c *Query_WhereToday_Call) RunAndReturn(run func(...string) db.Query) *Query_WhereToday_Call

type Query_WhereValueBetween_Call

type Query_WhereValueBetween_Call struct {
	*mock.Call
}

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

func (*Query_WhereValueBetween_Call) Return

func (*Query_WhereValueBetween_Call) Run

func (_c *Query_WhereValueBetween_Call) Run(run func(value interface{}, lower string, upper string)) *Query_WhereValueBetween_Call

func (*Query_WhereValueBetween_Call) RunAndReturn

func (_c *Query_WhereValueBetween_Call) RunAndReturn(run func(interface{}, string, string) db.Query) *Query_WhereValueBetween_Call

type Query_WhereValueNotBetween_Call

type Query_WhereValueNotBetween_Call struct {
	*mock.Call
}

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

func (*Query_WhereValueNotBetween_Call) Return

func (*Query_WhereValueNotBetween_Call) Run

func (_c *Query_WhereValueNotBetween_Call) Run(run func(value interface{}, lower string, upper string)) *Query_WhereValueNotBetween_Call

func (*Query_WhereValueNotBetween_Call) RunAndReturn

func (_c *Query_WhereValueNotBetween_Call) RunAndReturn(run func(interface{}, string, string) db.Query) *Query_WhereValueNotBetween_Call

type Query_WhereYear_Call

type Query_WhereYear_Call struct {
	*mock.Call
}

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

func (*Query_WhereYear_Call) Return

func (*Query_WhereYear_Call) Run

func (_c *Query_WhereYear_Call) Run(run func(column string, args ...interface{})) *Query_WhereYear_Call

func (*Query_WhereYear_Call) RunAndReturn

func (_c *Query_WhereYear_Call) RunAndReturn(run func(string, ...interface{}) db.Query) *Query_WhereYear_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 db.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{}) db.Query) *Query_Where_Call

type Row

type Row struct {
	mock.Mock
}

Row is an autogenerated mock type for the Row type

func NewRow

func NewRow(t interface {
	mock.TestingT
	Cleanup(func())
}) *Row

NewRow creates a new instance of Row. 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 (*Row) EXPECT

func (_m *Row) EXPECT() *Row_Expecter

func (*Row) Err

func (_m *Row) Err() error

Err provides a mock function with no fields

func (*Row) Scan

func (_m *Row) Scan(value interface{}) error

Scan provides a mock function with given fields: value

type RowIterator

type RowIterator[K interface{}, V interface{}] struct {
	mock.Mock
}

RowIterator is an autogenerated mock type for the RowIterator type

func NewRowIterator

func NewRowIterator[K interface{}, V interface{}](t interface {
	mock.TestingT
	Cleanup(func())
}) *RowIterator[K, V]

NewRowIterator creates a new instance of RowIterator. 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 (*RowIterator[K, V]) EXPECT

func (_m *RowIterator[K, V]) EXPECT() *RowIterator_Expecter[K, V]

func (*RowIterator[K, V]) Execute

func (_m *RowIterator[K, V]) Execute(yield func(db.Row, error) bool)

Execute provides a mock function with given fields: yield

type RowIterator_Execute_Call

type RowIterator_Execute_Call[K interface{}, V interface{}] struct {
	*mock.Call
}

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

func (*RowIterator_Execute_Call[K, V]) Return

func (_c *RowIterator_Execute_Call[K, V]) Return() *RowIterator_Execute_Call[K, V]

func (*RowIterator_Execute_Call[K, V]) Run

func (_c *RowIterator_Execute_Call[K, V]) Run(run func(yield func(db.Row, error) bool)) *RowIterator_Execute_Call[K, V]

func (*RowIterator_Execute_Call[K, V]) RunAndReturn

func (_c *RowIterator_Execute_Call[K, V]) RunAndReturn(run func(func(db.Row, error) bool)) *RowIterator_Execute_Call[K, V]

type RowIterator_Expecter

type RowIterator_Expecter[K interface{}, V interface{}] struct {
	// contains filtered or unexported fields
}

func (*RowIterator_Expecter[K, V]) Execute

func (_e *RowIterator_Expecter[K, V]) Execute(yield interface{}) *RowIterator_Execute_Call[K, V]

Execute is a helper method to define mock.On call

  • yield func(db.Row , error) bool

type Row_Err_Call

type Row_Err_Call struct {
	*mock.Call
}

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

func (*Row_Err_Call) Return

func (_c *Row_Err_Call) Return(_a0 error) *Row_Err_Call

func (*Row_Err_Call) Run

func (_c *Row_Err_Call) Run(run func()) *Row_Err_Call

func (*Row_Err_Call) RunAndReturn

func (_c *Row_Err_Call) RunAndReturn(run func() error) *Row_Err_Call

type Row_Expecter

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

func (*Row_Expecter) Err

func (_e *Row_Expecter) Err() *Row_Err_Call

Err is a helper method to define mock.On call

func (*Row_Expecter) Scan

func (_e *Row_Expecter) Scan(value interface{}) *Row_Scan_Call

Scan is a helper method to define mock.On call

  • value interface{}

type Row_Scan_Call

type Row_Scan_Call struct {
	*mock.Call
}

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

func (*Row_Scan_Call) Return

func (_c *Row_Scan_Call) Return(_a0 error) *Row_Scan_Call

func (*Row_Scan_Call) Run

func (_c *Row_Scan_Call) Run(run func(value interface{})) *Row_Scan_Call

func (*Row_Scan_Call) RunAndReturn

func (_c *Row_Scan_Call) RunAndReturn(run func(interface{}) error) *Row_Scan_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) DecrementEach

func (_m *ToSql) DecrementEach(columns interface{}, extra ...map[string]interface{}) string

DecrementEach provides a mock function with given fields: columns, extra

func (*ToSql) Delete

func (_m *ToSql) Delete() string

Delete provides a mock function with no fields

func (*ToSql) EXPECT

func (_m *ToSql) EXPECT() *ToSql_Expecter

func (*ToSql) First

func (_m *ToSql) First() string

First provides a mock function with no fields

func (*ToSql) Get

func (_m *ToSql) Get() string

Get provides a mock function with no fields

func (*ToSql) IncrementEach

func (_m *ToSql) IncrementEach(columns interface{}, extra ...map[string]interface{}) string

IncrementEach provides a mock function with given fields: columns, extra

func (*ToSql) Insert

func (_m *ToSql) Insert(data interface{}) string

Insert provides a mock function with given fields: data

func (*ToSql) InsertGetID

func (_m *ToSql) InsertGetID(data interface{}, sequence ...string) string

InsertGetID provides a mock function with given fields: data, sequence

func (*ToSql) InsertOrIgnore

func (_m *ToSql) InsertOrIgnore(data interface{}) string

InsertOrIgnore provides a mock function with given fields: data

func (*ToSql) InsertOrIgnoreUsing

func (_m *ToSql) InsertOrIgnoreUsing(columns []string, query interface{}) string

InsertOrIgnoreUsing provides a mock function with given fields: columns, query

func (*ToSql) InsertUsing

func (_m *ToSql) InsertUsing(columns []string, query interface{}) string

InsertUsing provides a mock function with given fields: columns, query

func (*ToSql) Pluck

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

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

func (*ToSql) Truncate

func (_m *ToSql) Truncate() []string

Truncate provides a mock function with no fields

func (*ToSql) Update

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

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

func (*ToSql) UpdateFrom

func (_m *ToSql) UpdateFrom(values interface{}) string

UpdateFrom provides a mock function with given fields: values

func (*ToSql) Upsert

func (_m *ToSql) Upsert(data interface{}, uniqueBy []string, update ...interface{}) string

Upsert provides a mock function with given fields: data, uniqueBy, update

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_DecrementEach_Call

type ToSql_DecrementEach_Call struct {
	*mock.Call
}

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

func (*ToSql_DecrementEach_Call) Return

func (*ToSql_DecrementEach_Call) Run

func (_c *ToSql_DecrementEach_Call) Run(run func(columns interface{}, extra ...map[string]interface{})) *ToSql_DecrementEach_Call

func (*ToSql_DecrementEach_Call) RunAndReturn

func (_c *ToSql_DecrementEach_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) string) *ToSql_DecrementEach_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()) *ToSql_Delete_Call

func (*ToSql_Delete_Call) RunAndReturn

func (_c *ToSql_Delete_Call) RunAndReturn(run func() 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) DecrementEach

func (_e *ToSql_Expecter) DecrementEach(columns interface{}, extra ...interface{}) *ToSql_DecrementEach_Call

DecrementEach is a helper method to define mock.On call

  • columns interface{}
  • extra ...map[string]interface{}

func (*ToSql_Expecter) Delete

func (_e *ToSql_Expecter) Delete() *ToSql_Delete_Call

Delete is a helper method to define mock.On call

func (*ToSql_Expecter) First

func (_e *ToSql_Expecter) First() *ToSql_First_Call

First is a helper method to define mock.On call

func (*ToSql_Expecter) Get

func (_e *ToSql_Expecter) Get() *ToSql_Get_Call

Get is a helper method to define mock.On call

func (*ToSql_Expecter) IncrementEach

func (_e *ToSql_Expecter) IncrementEach(columns interface{}, extra ...interface{}) *ToSql_IncrementEach_Call

IncrementEach is a helper method to define mock.On call

  • columns interface{}
  • extra ...map[string]interface{}

func (*ToSql_Expecter) Insert

func (_e *ToSql_Expecter) Insert(data interface{}) *ToSql_Insert_Call

Insert is a helper method to define mock.On call

  • data interface{}

func (*ToSql_Expecter) InsertGetID

func (_e *ToSql_Expecter) InsertGetID(data interface{}, sequence ...interface{}) *ToSql_InsertGetID_Call

InsertGetID is a helper method to define mock.On call

  • data interface{}
  • sequence ...string

func (*ToSql_Expecter) InsertOrIgnore

func (_e *ToSql_Expecter) InsertOrIgnore(data interface{}) *ToSql_InsertOrIgnore_Call

InsertOrIgnore is a helper method to define mock.On call

  • data interface{}

func (*ToSql_Expecter) InsertOrIgnoreUsing

func (_e *ToSql_Expecter) InsertOrIgnoreUsing(columns interface{}, query interface{}) *ToSql_InsertOrIgnoreUsing_Call

InsertOrIgnoreUsing is a helper method to define mock.On call

  • columns []string
  • query interface{}

func (*ToSql_Expecter) InsertUsing

func (_e *ToSql_Expecter) InsertUsing(columns interface{}, query interface{}) *ToSql_InsertUsing_Call

InsertUsing is a helper method to define mock.On call

  • columns []string
  • query 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) Truncate

func (_e *ToSql_Expecter) Truncate() *ToSql_Truncate_Call

Truncate is a helper method to define mock.On call

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{}

func (*ToSql_Expecter) UpdateFrom

func (_e *ToSql_Expecter) UpdateFrom(values interface{}) *ToSql_UpdateFrom_Call

UpdateFrom is a helper method to define mock.On call

  • values interface{}

func (*ToSql_Expecter) Upsert

func (_e *ToSql_Expecter) Upsert(data interface{}, uniqueBy interface{}, update ...interface{}) *ToSql_Upsert_Call

Upsert is a helper method to define mock.On call

  • data interface{}
  • uniqueBy []string
  • update ...interface{}

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

func (*ToSql_First_Call) RunAndReturn

func (_c *ToSql_First_Call) RunAndReturn(run func() string) *ToSql_First_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()) *ToSql_Get_Call

func (*ToSql_Get_Call) RunAndReturn

func (_c *ToSql_Get_Call) RunAndReturn(run func() string) *ToSql_Get_Call

type ToSql_IncrementEach_Call

type ToSql_IncrementEach_Call struct {
	*mock.Call
}

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

func (*ToSql_IncrementEach_Call) Return

func (*ToSql_IncrementEach_Call) Run

func (_c *ToSql_IncrementEach_Call) Run(run func(columns interface{}, extra ...map[string]interface{})) *ToSql_IncrementEach_Call

func (*ToSql_IncrementEach_Call) RunAndReturn

func (_c *ToSql_IncrementEach_Call) RunAndReturn(run func(interface{}, ...map[string]interface{}) string) *ToSql_IncrementEach_Call

type ToSql_InsertGetID_Call

type ToSql_InsertGetID_Call struct {
	*mock.Call
}

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

func (*ToSql_InsertGetID_Call) Return

func (*ToSql_InsertGetID_Call) Run

func (_c *ToSql_InsertGetID_Call) Run(run func(data interface{}, sequence ...string)) *ToSql_InsertGetID_Call

func (*ToSql_InsertGetID_Call) RunAndReturn

func (_c *ToSql_InsertGetID_Call) RunAndReturn(run func(interface{}, ...string) string) *ToSql_InsertGetID_Call

type ToSql_InsertOrIgnoreUsing_Call

type ToSql_InsertOrIgnoreUsing_Call struct {
	*mock.Call
}

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

func (*ToSql_InsertOrIgnoreUsing_Call) Return

func (*ToSql_InsertOrIgnoreUsing_Call) Run

func (_c *ToSql_InsertOrIgnoreUsing_Call) Run(run func(columns []string, query interface{})) *ToSql_InsertOrIgnoreUsing_Call

func (*ToSql_InsertOrIgnoreUsing_Call) RunAndReturn

func (_c *ToSql_InsertOrIgnoreUsing_Call) RunAndReturn(run func([]string, interface{}) string) *ToSql_InsertOrIgnoreUsing_Call

type ToSql_InsertOrIgnore_Call

type ToSql_InsertOrIgnore_Call struct {
	*mock.Call
}

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

func (*ToSql_InsertOrIgnore_Call) Return

func (*ToSql_InsertOrIgnore_Call) Run

func (_c *ToSql_InsertOrIgnore_Call) Run(run func(data interface{})) *ToSql_InsertOrIgnore_Call

func (*ToSql_InsertOrIgnore_Call) RunAndReturn

func (_c *ToSql_InsertOrIgnore_Call) RunAndReturn(run func(interface{}) string) *ToSql_InsertOrIgnore_Call

type ToSql_InsertUsing_Call

type ToSql_InsertUsing_Call struct {
	*mock.Call
}

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

func (*ToSql_InsertUsing_Call) Return

func (*ToSql_InsertUsing_Call) Run

func (_c *ToSql_InsertUsing_Call) Run(run func(columns []string, query interface{})) *ToSql_InsertUsing_Call

func (*ToSql_InsertUsing_Call) RunAndReturn

func (_c *ToSql_InsertUsing_Call) RunAndReturn(run func([]string, interface{}) string) *ToSql_InsertUsing_Call

type ToSql_Insert_Call

type ToSql_Insert_Call struct {
	*mock.Call
}

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

func (*ToSql_Insert_Call) Return

func (_c *ToSql_Insert_Call) Return(_a0 string) *ToSql_Insert_Call

func (*ToSql_Insert_Call) Run

func (_c *ToSql_Insert_Call) Run(run func(data interface{})) *ToSql_Insert_Call

func (*ToSql_Insert_Call) RunAndReturn

func (_c *ToSql_Insert_Call) RunAndReturn(run func(interface{}) string) *ToSql_Insert_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_Truncate_Call

type ToSql_Truncate_Call struct {
	*mock.Call
}

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

func (*ToSql_Truncate_Call) Return

func (_c *ToSql_Truncate_Call) Return(_a0 []string) *ToSql_Truncate_Call

func (*ToSql_Truncate_Call) Run

func (_c *ToSql_Truncate_Call) Run(run func()) *ToSql_Truncate_Call

func (*ToSql_Truncate_Call) RunAndReturn

func (_c *ToSql_Truncate_Call) RunAndReturn(run func() []string) *ToSql_Truncate_Call

type ToSql_UpdateFrom_Call

type ToSql_UpdateFrom_Call struct {
	*mock.Call
}

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

func (*ToSql_UpdateFrom_Call) Return

func (*ToSql_UpdateFrom_Call) Run

func (_c *ToSql_UpdateFrom_Call) Run(run func(values interface{})) *ToSql_UpdateFrom_Call

func (*ToSql_UpdateFrom_Call) RunAndReturn

func (_c *ToSql_UpdateFrom_Call) RunAndReturn(run func(interface{}) string) *ToSql_UpdateFrom_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

type ToSql_Upsert_Call

type ToSql_Upsert_Call struct {
	*mock.Call
}

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

func (*ToSql_Upsert_Call) Return

func (_c *ToSql_Upsert_Call) Return(_a0 string) *ToSql_Upsert_Call

func (*ToSql_Upsert_Call) Run

func (_c *ToSql_Upsert_Call) Run(run func(data interface{}, uniqueBy []string, update ...interface{})) *ToSql_Upsert_Call

func (*ToSql_Upsert_Call) RunAndReturn

func (_c *ToSql_Upsert_Call) RunAndReturn(run func(interface{}, []string, ...interface{}) string) *ToSql_Upsert_Call

type Tx

type Tx struct {
	mock.Mock
}

Tx is an autogenerated mock type for the Tx type

func NewTx

func NewTx(t interface {
	mock.TestingT
	Cleanup(func())
}) *Tx

NewTx creates a new instance of Tx. 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 (*Tx) AffectingStatement

func (_m *Tx) AffectingStatement(sql string, args ...interface{}) (*db.Result, error)

AffectingStatement provides a mock function with given fields: sql, args

func (*Tx) AfterCommit

func (_m *Tx) AfterCommit(callback func() error) error

AfterCommit provides a mock function with given fields: callback

func (*Tx) AfterRollBack

func (_m *Tx) AfterRollBack(callback func() error) error

AfterRollBack provides a mock function with given fields: callback

func (*Tx) AfterRollback

func (_m *Tx) AfterRollback(callback func() error) error

AfterRollback provides a mock function with given fields: callback

func (*Tx) BeforeStartingTransaction

func (_m *Tx) BeforeStartingTransaction(callback func(db.Tx) error)

BeforeStartingTransaction provides a mock function with given fields: callback

func (*Tx) BeginTransaction

func (_m *Tx) BeginTransaction() (db.Tx, error)

BeginTransaction provides a mock function with no fields

func (*Tx) Commit

func (_m *Tx) Commit() error

Commit provides a mock function with no fields

func (*Tx) Delete

func (_m *Tx) Delete(sql string, args ...interface{}) (*db.Result, error)

Delete provides a mock function with given fields: sql, args

func (*Tx) EXPECT

func (_m *Tx) EXPECT() *Tx_Expecter

func (*Tx) Insert

func (_m *Tx) Insert(sql string, args ...interface{}) (*db.Result, error)

Insert provides a mock function with given fields: sql, args

func (*Tx) Query

func (_m *Tx) Query() db.Query

Query provides a mock function with no fields

func (*Tx) Rollback

func (_m *Tx) Rollback() error

Rollback provides a mock function with no fields

func (*Tx) RollbackTo

func (_m *Tx) RollbackTo(level int) error

RollbackTo provides a mock function with given fields: level

func (*Tx) Scalar

func (_m *Tx) Scalar(sql string, args ...interface{}) (interface{}, error)

Scalar provides a mock function with given fields: sql, args

func (*Tx) Select

func (_m *Tx) Select(dest interface{}, sql string, args ...interface{}) error

Select provides a mock function with given fields: dest, sql, args

func (*Tx) SelectFromWriteConnection

func (_m *Tx) SelectFromWriteConnection(dest interface{}, sql string, args ...interface{}) error

SelectFromWriteConnection provides a mock function with given fields: dest, sql, args

func (*Tx) SelectOne

func (_m *Tx) SelectOne(dest interface{}, sql string, args ...interface{}) error

SelectOne provides a mock function with given fields: dest, sql, args

func (*Tx) SelectResultSets

func (_m *Tx) SelectResultSets(sql string, args ...interface{}) ([][]map[string]interface{}, error)

SelectResultSets provides a mock function with given fields: sql, args

func (*Tx) Statement

func (_m *Tx) Statement(sql string, args ...interface{}) error

Statement provides a mock function with given fields: sql, args

func (*Tx) StatementContext

func (_m *Tx) StatementContext(ctx context.Context, sql string, args ...interface{}) error

StatementContext provides a mock function with given fields: ctx, sql, args

func (*Tx) Table

func (_m *Tx) Table(name string) db.Query

Table provides a mock function with given fields: name

func (*Tx) Transaction

func (_m *Tx) Transaction(callback func(db.Tx) error, attempts ...int) error

Transaction provides a mock function with given fields: callback, attempts

func (*Tx) TransactionLevel

func (_m *Tx) TransactionLevel() int

TransactionLevel provides a mock function with no fields

func (*Tx) Unprepared

func (_m *Tx) Unprepared(sql string) error

Unprepared provides a mock function with given fields: sql

func (*Tx) Update

func (_m *Tx) Update(sql string, args ...interface{}) (*db.Result, error)

Update provides a mock function with given fields: sql, args

type TxBuilder

type TxBuilder struct {
	mock.Mock
}

TxBuilder is an autogenerated mock type for the TxBuilder type

func NewTxBuilder

func NewTxBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *TxBuilder

NewTxBuilder creates a new instance of TxBuilder. 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 (*TxBuilder) Commit

func (_m *TxBuilder) Commit() error

Commit provides a mock function with no fields

func (*TxBuilder) EXPECT

func (_m *TxBuilder) EXPECT() *TxBuilder_Expecter

func (*TxBuilder) ExecContext

func (_m *TxBuilder) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)

ExecContext provides a mock function with given fields: ctx, query, args

func (*TxBuilder) Explain

func (_m *TxBuilder) Explain(_a0 string, args ...interface{}) string

Explain provides a mock function with given fields: _a0, args

func (*TxBuilder) GetContext

func (_m *TxBuilder) GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error

GetContext provides a mock function with given fields: ctx, dest, query, args

func (*TxBuilder) QueryxContext

func (_m *TxBuilder) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)

QueryxContext provides a mock function with given fields: ctx, query, args

func (*TxBuilder) Rollback

func (_m *TxBuilder) Rollback() error

Rollback provides a mock function with no fields

func (*TxBuilder) SelectContext

func (_m *TxBuilder) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error

SelectContext provides a mock function with given fields: ctx, dest, query, args

type TxBuilder_Commit_Call

type TxBuilder_Commit_Call struct {
	*mock.Call
}

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

func (*TxBuilder_Commit_Call) Return

func (*TxBuilder_Commit_Call) Run

func (_c *TxBuilder_Commit_Call) Run(run func()) *TxBuilder_Commit_Call

func (*TxBuilder_Commit_Call) RunAndReturn

func (_c *TxBuilder_Commit_Call) RunAndReturn(run func() error) *TxBuilder_Commit_Call

type TxBuilder_ExecContext_Call

type TxBuilder_ExecContext_Call struct {
	*mock.Call
}

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

func (*TxBuilder_ExecContext_Call) Return

func (*TxBuilder_ExecContext_Call) Run

func (_c *TxBuilder_ExecContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *TxBuilder_ExecContext_Call

func (*TxBuilder_ExecContext_Call) RunAndReturn

func (_c *TxBuilder_ExecContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (sql.Result, error)) *TxBuilder_ExecContext_Call

type TxBuilder_Expecter

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

func (*TxBuilder_Expecter) Commit

Commit is a helper method to define mock.On call

func (*TxBuilder_Expecter) ExecContext

func (_e *TxBuilder_Expecter) ExecContext(ctx interface{}, query interface{}, args ...interface{}) *TxBuilder_ExecContext_Call

ExecContext is a helper method to define mock.On call

  • ctx context.Context
  • query string
  • args ...interface{}

func (*TxBuilder_Expecter) Explain

func (_e *TxBuilder_Expecter) Explain(_a0 interface{}, args ...interface{}) *TxBuilder_Explain_Call

Explain is a helper method to define mock.On call

  • _a0 string
  • args ...interface{}

func (*TxBuilder_Expecter) GetContext

func (_e *TxBuilder_Expecter) GetContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *TxBuilder_GetContext_Call

GetContext is a helper method to define mock.On call

  • ctx context.Context
  • dest interface{}
  • query string
  • args ...interface{}

func (*TxBuilder_Expecter) QueryxContext

func (_e *TxBuilder_Expecter) QueryxContext(ctx interface{}, query interface{}, args ...interface{}) *TxBuilder_QueryxContext_Call

QueryxContext is a helper method to define mock.On call

  • ctx context.Context
  • query string
  • args ...interface{}

func (*TxBuilder_Expecter) Rollback

Rollback is a helper method to define mock.On call

func (*TxBuilder_Expecter) SelectContext

func (_e *TxBuilder_Expecter) SelectContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *TxBuilder_SelectContext_Call

SelectContext is a helper method to define mock.On call

  • ctx context.Context
  • dest interface{}
  • query string
  • args ...interface{}

type TxBuilder_Explain_Call

type TxBuilder_Explain_Call struct {
	*mock.Call
}

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

func (*TxBuilder_Explain_Call) Return

func (*TxBuilder_Explain_Call) Run

func (_c *TxBuilder_Explain_Call) Run(run func(_a0 string, args ...interface{})) *TxBuilder_Explain_Call

func (*TxBuilder_Explain_Call) RunAndReturn

func (_c *TxBuilder_Explain_Call) RunAndReturn(run func(string, ...interface{}) string) *TxBuilder_Explain_Call

type TxBuilder_GetContext_Call

type TxBuilder_GetContext_Call struct {
	*mock.Call
}

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

func (*TxBuilder_GetContext_Call) Return

func (*TxBuilder_GetContext_Call) Run

func (_c *TxBuilder_GetContext_Call) Run(run func(ctx context.Context, dest interface{}, query string, args ...interface{})) *TxBuilder_GetContext_Call

func (*TxBuilder_GetContext_Call) RunAndReturn

func (_c *TxBuilder_GetContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *TxBuilder_GetContext_Call

type TxBuilder_QueryxContext_Call

type TxBuilder_QueryxContext_Call struct {
	*mock.Call
}

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

func (*TxBuilder_QueryxContext_Call) Return

func (*TxBuilder_QueryxContext_Call) Run

func (_c *TxBuilder_QueryxContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *TxBuilder_QueryxContext_Call

func (*TxBuilder_QueryxContext_Call) RunAndReturn

func (_c *TxBuilder_QueryxContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (*sqlx.Rows, error)) *TxBuilder_QueryxContext_Call

type TxBuilder_Rollback_Call

type TxBuilder_Rollback_Call struct {
	*mock.Call
}

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

func (*TxBuilder_Rollback_Call) Return

func (*TxBuilder_Rollback_Call) Run

func (_c *TxBuilder_Rollback_Call) Run(run func()) *TxBuilder_Rollback_Call

func (*TxBuilder_Rollback_Call) RunAndReturn

func (_c *TxBuilder_Rollback_Call) RunAndReturn(run func() error) *TxBuilder_Rollback_Call

type TxBuilder_SelectContext_Call

type TxBuilder_SelectContext_Call struct {
	*mock.Call
}

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

func (*TxBuilder_SelectContext_Call) Return

func (*TxBuilder_SelectContext_Call) Run

func (_c *TxBuilder_SelectContext_Call) Run(run func(ctx context.Context, dest interface{}, query string, args ...interface{})) *TxBuilder_SelectContext_Call

func (*TxBuilder_SelectContext_Call) RunAndReturn

func (_c *TxBuilder_SelectContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *TxBuilder_SelectContext_Call

type Tx_AffectingStatement_Call

type Tx_AffectingStatement_Call struct {
	*mock.Call
}

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

func (*Tx_AffectingStatement_Call) Return

func (*Tx_AffectingStatement_Call) Run

func (_c *Tx_AffectingStatement_Call) Run(run func(sql string, args ...interface{})) *Tx_AffectingStatement_Call

func (*Tx_AffectingStatement_Call) RunAndReturn

func (_c *Tx_AffectingStatement_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *Tx_AffectingStatement_Call

type Tx_AfterCommit_Call

type Tx_AfterCommit_Call struct {
	*mock.Call
}

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

func (*Tx_AfterCommit_Call) Return

func (*Tx_AfterCommit_Call) Run

func (_c *Tx_AfterCommit_Call) Run(run func(callback func() error)) *Tx_AfterCommit_Call

func (*Tx_AfterCommit_Call) RunAndReturn

func (_c *Tx_AfterCommit_Call) RunAndReturn(run func(func() error) error) *Tx_AfterCommit_Call

type Tx_AfterRollBack_Call

type Tx_AfterRollBack_Call struct {
	*mock.Call
}

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

func (*Tx_AfterRollBack_Call) Return

func (*Tx_AfterRollBack_Call) Run

func (_c *Tx_AfterRollBack_Call) Run(run func(callback func() error)) *Tx_AfterRollBack_Call

func (*Tx_AfterRollBack_Call) RunAndReturn

func (_c *Tx_AfterRollBack_Call) RunAndReturn(run func(func() error) error) *Tx_AfterRollBack_Call

type Tx_AfterRollback_Call

type Tx_AfterRollback_Call struct {
	*mock.Call
}

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

func (*Tx_AfterRollback_Call) Return

func (*Tx_AfterRollback_Call) Run

func (_c *Tx_AfterRollback_Call) Run(run func(callback func() error)) *Tx_AfterRollback_Call

func (*Tx_AfterRollback_Call) RunAndReturn

func (_c *Tx_AfterRollback_Call) RunAndReturn(run func(func() error) error) *Tx_AfterRollback_Call

type Tx_BeforeStartingTransaction_Call

type Tx_BeforeStartingTransaction_Call struct {
	*mock.Call
}

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

func (*Tx_BeforeStartingTransaction_Call) Return

func (*Tx_BeforeStartingTransaction_Call) Run

func (*Tx_BeforeStartingTransaction_Call) RunAndReturn

type Tx_BeginTransaction_Call

type Tx_BeginTransaction_Call struct {
	*mock.Call
}

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

func (*Tx_BeginTransaction_Call) Return

func (*Tx_BeginTransaction_Call) Run

func (*Tx_BeginTransaction_Call) RunAndReturn

func (_c *Tx_BeginTransaction_Call) RunAndReturn(run func() (db.Tx, error)) *Tx_BeginTransaction_Call

type Tx_Commit_Call

type Tx_Commit_Call struct {
	*mock.Call
}

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

func (*Tx_Commit_Call) Return

func (_c *Tx_Commit_Call) Return(_a0 error) *Tx_Commit_Call

func (*Tx_Commit_Call) Run

func (_c *Tx_Commit_Call) Run(run func()) *Tx_Commit_Call

func (*Tx_Commit_Call) RunAndReturn

func (_c *Tx_Commit_Call) RunAndReturn(run func() error) *Tx_Commit_Call

type Tx_Delete_Call

type Tx_Delete_Call struct {
	*mock.Call
}

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

func (*Tx_Delete_Call) Return

func (_c *Tx_Delete_Call) Return(_a0 *db.Result, _a1 error) *Tx_Delete_Call

func (*Tx_Delete_Call) Run

func (_c *Tx_Delete_Call) Run(run func(sql string, args ...interface{})) *Tx_Delete_Call

func (*Tx_Delete_Call) RunAndReturn

func (_c *Tx_Delete_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *Tx_Delete_Call

type Tx_Expecter

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

func (*Tx_Expecter) AffectingStatement

func (_e *Tx_Expecter) AffectingStatement(sql interface{}, args ...interface{}) *Tx_AffectingStatement_Call

AffectingStatement is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*Tx_Expecter) AfterCommit

func (_e *Tx_Expecter) AfterCommit(callback interface{}) *Tx_AfterCommit_Call

AfterCommit is a helper method to define mock.On call

  • callback func() error

func (*Tx_Expecter) AfterRollBack

func (_e *Tx_Expecter) AfterRollBack(callback interface{}) *Tx_AfterRollBack_Call

AfterRollBack is a helper method to define mock.On call

  • callback func() error

func (*Tx_Expecter) AfterRollback

func (_e *Tx_Expecter) AfterRollback(callback interface{}) *Tx_AfterRollback_Call

AfterRollback is a helper method to define mock.On call

  • callback func() error

func (*Tx_Expecter) BeforeStartingTransaction

func (_e *Tx_Expecter) BeforeStartingTransaction(callback interface{}) *Tx_BeforeStartingTransaction_Call

BeforeStartingTransaction is a helper method to define mock.On call

  • callback func(db.Tx) error

func (*Tx_Expecter) BeginTransaction

func (_e *Tx_Expecter) BeginTransaction() *Tx_BeginTransaction_Call

BeginTransaction is a helper method to define mock.On call

func (*Tx_Expecter) Commit

func (_e *Tx_Expecter) Commit() *Tx_Commit_Call

Commit is a helper method to define mock.On call

func (*Tx_Expecter) Delete

func (_e *Tx_Expecter) Delete(sql interface{}, args ...interface{}) *Tx_Delete_Call

Delete is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*Tx_Expecter) Insert

func (_e *Tx_Expecter) Insert(sql interface{}, args ...interface{}) *Tx_Insert_Call

Insert is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*Tx_Expecter) Query

func (_e *Tx_Expecter) Query() *Tx_Query_Call

Query is a helper method to define mock.On call

func (*Tx_Expecter) Rollback

func (_e *Tx_Expecter) Rollback() *Tx_Rollback_Call

Rollback is a helper method to define mock.On call

func (*Tx_Expecter) RollbackTo

func (_e *Tx_Expecter) RollbackTo(level interface{}) *Tx_RollbackTo_Call

RollbackTo is a helper method to define mock.On call

  • level int

func (*Tx_Expecter) Scalar

func (_e *Tx_Expecter) Scalar(sql interface{}, args ...interface{}) *Tx_Scalar_Call

Scalar is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*Tx_Expecter) Select

func (_e *Tx_Expecter) Select(dest interface{}, sql interface{}, args ...interface{}) *Tx_Select_Call

Select is a helper method to define mock.On call

  • dest interface{}
  • sql string
  • args ...interface{}

func (*Tx_Expecter) SelectFromWriteConnection

func (_e *Tx_Expecter) SelectFromWriteConnection(dest interface{}, sql interface{}, args ...interface{}) *Tx_SelectFromWriteConnection_Call

SelectFromWriteConnection is a helper method to define mock.On call

  • dest interface{}
  • sql string
  • args ...interface{}

func (*Tx_Expecter) SelectOne

func (_e *Tx_Expecter) SelectOne(dest interface{}, sql interface{}, args ...interface{}) *Tx_SelectOne_Call

SelectOne is a helper method to define mock.On call

  • dest interface{}
  • sql string
  • args ...interface{}

func (*Tx_Expecter) SelectResultSets

func (_e *Tx_Expecter) SelectResultSets(sql interface{}, args ...interface{}) *Tx_SelectResultSets_Call

SelectResultSets is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*Tx_Expecter) Statement

func (_e *Tx_Expecter) Statement(sql interface{}, args ...interface{}) *Tx_Statement_Call

Statement is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*Tx_Expecter) StatementContext

func (_e *Tx_Expecter) StatementContext(ctx interface{}, sql interface{}, args ...interface{}) *Tx_StatementContext_Call

StatementContext is a helper method to define mock.On call

  • ctx context.Context
  • sql string
  • args ...interface{}

func (*Tx_Expecter) Table

func (_e *Tx_Expecter) Table(name interface{}) *Tx_Table_Call

Table is a helper method to define mock.On call

  • name string

func (*Tx_Expecter) Transaction

func (_e *Tx_Expecter) Transaction(callback interface{}, attempts ...interface{}) *Tx_Transaction_Call

Transaction is a helper method to define mock.On call

  • callback func(db.Tx) error
  • attempts ...int

func (*Tx_Expecter) TransactionLevel

func (_e *Tx_Expecter) TransactionLevel() *Tx_TransactionLevel_Call

TransactionLevel is a helper method to define mock.On call

func (*Tx_Expecter) Unprepared

func (_e *Tx_Expecter) Unprepared(sql interface{}) *Tx_Unprepared_Call

Unprepared is a helper method to define mock.On call

  • sql string

func (*Tx_Expecter) Update

func (_e *Tx_Expecter) Update(sql interface{}, args ...interface{}) *Tx_Update_Call

Update is a helper method to define mock.On call

  • sql string
  • args ...interface{}

type Tx_Insert_Call

type Tx_Insert_Call struct {
	*mock.Call
}

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

func (*Tx_Insert_Call) Return

func (_c *Tx_Insert_Call) Return(_a0 *db.Result, _a1 error) *Tx_Insert_Call

func (*Tx_Insert_Call) Run

func (_c *Tx_Insert_Call) Run(run func(sql string, args ...interface{})) *Tx_Insert_Call

func (*Tx_Insert_Call) RunAndReturn

func (_c *Tx_Insert_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *Tx_Insert_Call

type Tx_Query_Call

type Tx_Query_Call struct {
	*mock.Call
}

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

func (*Tx_Query_Call) Return

func (_c *Tx_Query_Call) Return(_a0 db.Query) *Tx_Query_Call

func (*Tx_Query_Call) Run

func (_c *Tx_Query_Call) Run(run func()) *Tx_Query_Call

func (*Tx_Query_Call) RunAndReturn

func (_c *Tx_Query_Call) RunAndReturn(run func() db.Query) *Tx_Query_Call

type Tx_RollbackTo_Call

type Tx_RollbackTo_Call struct {
	*mock.Call
}

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

func (*Tx_RollbackTo_Call) Return

func (_c *Tx_RollbackTo_Call) Return(_a0 error) *Tx_RollbackTo_Call

func (*Tx_RollbackTo_Call) Run

func (_c *Tx_RollbackTo_Call) Run(run func(level int)) *Tx_RollbackTo_Call

func (*Tx_RollbackTo_Call) RunAndReturn

func (_c *Tx_RollbackTo_Call) RunAndReturn(run func(int) error) *Tx_RollbackTo_Call

type Tx_Rollback_Call

type Tx_Rollback_Call struct {
	*mock.Call
}

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

func (*Tx_Rollback_Call) Return

func (_c *Tx_Rollback_Call) Return(_a0 error) *Tx_Rollback_Call

func (*Tx_Rollback_Call) Run

func (_c *Tx_Rollback_Call) Run(run func()) *Tx_Rollback_Call

func (*Tx_Rollback_Call) RunAndReturn

func (_c *Tx_Rollback_Call) RunAndReturn(run func() error) *Tx_Rollback_Call

type Tx_Scalar_Call

type Tx_Scalar_Call struct {
	*mock.Call
}

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

func (*Tx_Scalar_Call) Return

func (_c *Tx_Scalar_Call) Return(_a0 interface{}, _a1 error) *Tx_Scalar_Call

func (*Tx_Scalar_Call) Run

func (_c *Tx_Scalar_Call) Run(run func(sql string, args ...interface{})) *Tx_Scalar_Call

func (*Tx_Scalar_Call) RunAndReturn

func (_c *Tx_Scalar_Call) RunAndReturn(run func(string, ...interface{}) (interface{}, error)) *Tx_Scalar_Call

type Tx_SelectFromWriteConnection_Call

type Tx_SelectFromWriteConnection_Call struct {
	*mock.Call
}

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

func (*Tx_SelectFromWriteConnection_Call) Return

func (*Tx_SelectFromWriteConnection_Call) Run

func (_c *Tx_SelectFromWriteConnection_Call) Run(run func(dest interface{}, sql string, args ...interface{})) *Tx_SelectFromWriteConnection_Call

func (*Tx_SelectFromWriteConnection_Call) RunAndReturn

func (_c *Tx_SelectFromWriteConnection_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Tx_SelectFromWriteConnection_Call

type Tx_SelectOne_Call

type Tx_SelectOne_Call struct {
	*mock.Call
}

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

func (*Tx_SelectOne_Call) Return

func (_c *Tx_SelectOne_Call) Return(_a0 error) *Tx_SelectOne_Call

func (*Tx_SelectOne_Call) Run

func (_c *Tx_SelectOne_Call) Run(run func(dest interface{}, sql string, args ...interface{})) *Tx_SelectOne_Call

func (*Tx_SelectOne_Call) RunAndReturn

func (_c *Tx_SelectOne_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Tx_SelectOne_Call

type Tx_SelectResultSets_Call

type Tx_SelectResultSets_Call struct {
	*mock.Call
}

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

func (*Tx_SelectResultSets_Call) Return

func (_c *Tx_SelectResultSets_Call) Return(_a0 [][]map[string]interface{}, _a1 error) *Tx_SelectResultSets_Call

func (*Tx_SelectResultSets_Call) Run

func (_c *Tx_SelectResultSets_Call) Run(run func(sql string, args ...interface{})) *Tx_SelectResultSets_Call

func (*Tx_SelectResultSets_Call) RunAndReturn

func (_c *Tx_SelectResultSets_Call) RunAndReturn(run func(string, ...interface{}) ([][]map[string]interface{}, error)) *Tx_SelectResultSets_Call

type Tx_Select_Call

type Tx_Select_Call struct {
	*mock.Call
}

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

func (*Tx_Select_Call) Return

func (_c *Tx_Select_Call) Return(_a0 error) *Tx_Select_Call

func (*Tx_Select_Call) Run

func (_c *Tx_Select_Call) Run(run func(dest interface{}, sql string, args ...interface{})) *Tx_Select_Call

func (*Tx_Select_Call) RunAndReturn

func (_c *Tx_Select_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *Tx_Select_Call

type Tx_StatementContext_Call

type Tx_StatementContext_Call struct {
	*mock.Call
}

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

func (*Tx_StatementContext_Call) Return

func (*Tx_StatementContext_Call) Run

func (_c *Tx_StatementContext_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *Tx_StatementContext_Call

func (*Tx_StatementContext_Call) RunAndReturn

func (_c *Tx_StatementContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) error) *Tx_StatementContext_Call

type Tx_Statement_Call

type Tx_Statement_Call struct {
	*mock.Call
}

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

func (*Tx_Statement_Call) Return

func (_c *Tx_Statement_Call) Return(_a0 error) *Tx_Statement_Call

func (*Tx_Statement_Call) Run

func (_c *Tx_Statement_Call) Run(run func(sql string, args ...interface{})) *Tx_Statement_Call

func (*Tx_Statement_Call) RunAndReturn

func (_c *Tx_Statement_Call) RunAndReturn(run func(string, ...interface{}) error) *Tx_Statement_Call

type Tx_Table_Call

type Tx_Table_Call struct {
	*mock.Call
}

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

func (*Tx_Table_Call) Return

func (_c *Tx_Table_Call) Return(_a0 db.Query) *Tx_Table_Call

func (*Tx_Table_Call) Run

func (_c *Tx_Table_Call) Run(run func(name string)) *Tx_Table_Call

func (*Tx_Table_Call) RunAndReturn

func (_c *Tx_Table_Call) RunAndReturn(run func(string) db.Query) *Tx_Table_Call

type Tx_TransactionLevel_Call

type Tx_TransactionLevel_Call struct {
	*mock.Call
}

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

func (*Tx_TransactionLevel_Call) Return

func (*Tx_TransactionLevel_Call) Run

func (*Tx_TransactionLevel_Call) RunAndReturn

func (_c *Tx_TransactionLevel_Call) RunAndReturn(run func() int) *Tx_TransactionLevel_Call

type Tx_Transaction_Call

type Tx_Transaction_Call struct {
	*mock.Call
}

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

func (*Tx_Transaction_Call) Return

func (*Tx_Transaction_Call) Run

func (_c *Tx_Transaction_Call) Run(run func(callback func(db.Tx) error, attempts ...int)) *Tx_Transaction_Call

func (*Tx_Transaction_Call) RunAndReturn

func (_c *Tx_Transaction_Call) RunAndReturn(run func(func(db.Tx) error, ...int) error) *Tx_Transaction_Call

type Tx_Unprepared_Call

type Tx_Unprepared_Call struct {
	*mock.Call
}

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

func (*Tx_Unprepared_Call) Return

func (_c *Tx_Unprepared_Call) Return(_a0 error) *Tx_Unprepared_Call

func (*Tx_Unprepared_Call) Run

func (_c *Tx_Unprepared_Call) Run(run func(sql string)) *Tx_Unprepared_Call

func (*Tx_Unprepared_Call) RunAndReturn

func (_c *Tx_Unprepared_Call) RunAndReturn(run func(string) error) *Tx_Unprepared_Call

type Tx_Update_Call

type Tx_Update_Call struct {
	*mock.Call
}

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

func (*Tx_Update_Call) Return

func (_c *Tx_Update_Call) Return(_a0 *db.Result, _a1 error) *Tx_Update_Call

func (*Tx_Update_Call) Run

func (_c *Tx_Update_Call) Run(run func(sql string, args ...interface{})) *Tx_Update_Call

func (*Tx_Update_Call) RunAndReturn

func (_c *Tx_Update_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *Tx_Update_Call

type WriteConnection

type WriteConnection struct {
	mock.Mock
}

WriteConnection is an autogenerated mock type for the WriteConnection type

func NewWriteConnection

func NewWriteConnection(t interface {
	mock.TestingT
	Cleanup(func())
}) *WriteConnection

NewWriteConnection creates a new instance of WriteConnection. 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 (*WriteConnection) AffectingStatement

func (_m *WriteConnection) AffectingStatement(sql string, args ...interface{}) (*db.Result, error)

AffectingStatement provides a mock function with given fields: sql, args

func (*WriteConnection) AfterCommit

func (_m *WriteConnection) AfterCommit(callback func() error) error

AfterCommit provides a mock function with given fields: callback

func (*WriteConnection) AfterRollBack

func (_m *WriteConnection) AfterRollBack(callback func() error) error

AfterRollBack provides a mock function with given fields: callback

func (*WriteConnection) AfterRollback

func (_m *WriteConnection) AfterRollback(callback func() error) error

AfterRollback provides a mock function with given fields: callback

func (*WriteConnection) BeforeStartingTransaction

func (_m *WriteConnection) BeforeStartingTransaction(callback func(db.Tx) error)

BeforeStartingTransaction provides a mock function with given fields: callback

func (*WriteConnection) BeginTransaction

func (_m *WriteConnection) BeginTransaction() (db.Tx, error)

BeginTransaction provides a mock function with no fields

func (*WriteConnection) Close

func (_m *WriteConnection) Close() error

Close provides a mock function with no fields

func (*WriteConnection) Commit

func (_m *WriteConnection) Commit() error

Commit provides a mock function with no fields

func (*WriteConnection) Delete

func (_m *WriteConnection) Delete(sql string, args ...interface{}) (*db.Result, error)

Delete provides a mock function with given fields: sql, args

func (*WriteConnection) EXPECT

func (*WriteConnection) Insert

func (_m *WriteConnection) Insert(sql string, args ...interface{}) (*db.Result, error)

Insert provides a mock function with given fields: sql, args

func (*WriteConnection) Query

func (_m *WriteConnection) Query() db.Query

Query provides a mock function with no fields

func (*WriteConnection) Rollback

func (_m *WriteConnection) Rollback() error

Rollback provides a mock function with no fields

func (*WriteConnection) RollbackTo

func (_m *WriteConnection) RollbackTo(level int) error

RollbackTo provides a mock function with given fields: level

func (*WriteConnection) Scalar

func (_m *WriteConnection) Scalar(sql string, args ...interface{}) (interface{}, error)

Scalar provides a mock function with given fields: sql, args

func (*WriteConnection) Select

func (_m *WriteConnection) Select(dest interface{}, sql string, args ...interface{}) error

Select provides a mock function with given fields: dest, sql, args

func (*WriteConnection) SelectFromWriteConnection

func (_m *WriteConnection) SelectFromWriteConnection(dest interface{}, sql string, args ...interface{}) error

SelectFromWriteConnection provides a mock function with given fields: dest, sql, args

func (*WriteConnection) SelectOne

func (_m *WriteConnection) SelectOne(dest interface{}, sql string, args ...interface{}) error

SelectOne provides a mock function with given fields: dest, sql, args

func (*WriteConnection) SelectResultSets

func (_m *WriteConnection) SelectResultSets(sql string, args ...interface{}) ([][]map[string]interface{}, error)

SelectResultSets provides a mock function with given fields: sql, args

func (*WriteConnection) Statement

func (_m *WriteConnection) Statement(sql string, args ...interface{}) error

Statement provides a mock function with given fields: sql, args

func (*WriteConnection) StatementContext

func (_m *WriteConnection) StatementContext(ctx context.Context, sql string, args ...interface{}) error

StatementContext provides a mock function with given fields: ctx, sql, args

func (*WriteConnection) Table

func (_m *WriteConnection) Table(name string) db.Query

Table provides a mock function with given fields: name

func (*WriteConnection) Transaction

func (_m *WriteConnection) Transaction(callback func(db.Tx) error, attempts ...int) error

Transaction provides a mock function with given fields: callback, attempts

func (*WriteConnection) TransactionLevel

func (_m *WriteConnection) TransactionLevel() int

TransactionLevel provides a mock function with no fields

func (*WriteConnection) Unprepared

func (_m *WriteConnection) Unprepared(sql string) error

Unprepared provides a mock function with given fields: sql

func (*WriteConnection) Update

func (_m *WriteConnection) Update(sql string, args ...interface{}) (*db.Result, error)

Update provides a mock function with given fields: sql, args

type WriteConnection_AffectingStatement_Call

type WriteConnection_AffectingStatement_Call struct {
	*mock.Call
}

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

func (*WriteConnection_AffectingStatement_Call) Return

func (*WriteConnection_AffectingStatement_Call) Run

func (_c *WriteConnection_AffectingStatement_Call) Run(run func(sql string, args ...interface{})) *WriteConnection_AffectingStatement_Call

func (*WriteConnection_AffectingStatement_Call) RunAndReturn

type WriteConnection_AfterCommit_Call

type WriteConnection_AfterCommit_Call struct {
	*mock.Call
}

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

func (*WriteConnection_AfterCommit_Call) Return

func (*WriteConnection_AfterCommit_Call) Run

func (_c *WriteConnection_AfterCommit_Call) Run(run func(callback func() error)) *WriteConnection_AfterCommit_Call

func (*WriteConnection_AfterCommit_Call) RunAndReturn

type WriteConnection_AfterRollBack_Call

type WriteConnection_AfterRollBack_Call struct {
	*mock.Call
}

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

func (*WriteConnection_AfterRollBack_Call) Return

func (*WriteConnection_AfterRollBack_Call) Run

func (*WriteConnection_AfterRollBack_Call) RunAndReturn

type WriteConnection_AfterRollback_Call

type WriteConnection_AfterRollback_Call struct {
	*mock.Call
}

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

func (*WriteConnection_AfterRollback_Call) Return

func (*WriteConnection_AfterRollback_Call) Run

func (*WriteConnection_AfterRollback_Call) RunAndReturn

type WriteConnection_BeforeStartingTransaction_Call

type WriteConnection_BeforeStartingTransaction_Call struct {
	*mock.Call
}

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

func (*WriteConnection_BeforeStartingTransaction_Call) Return

func (*WriteConnection_BeforeStartingTransaction_Call) Run

func (*WriteConnection_BeforeStartingTransaction_Call) RunAndReturn

type WriteConnection_BeginTransaction_Call

type WriteConnection_BeginTransaction_Call struct {
	*mock.Call
}

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

func (*WriteConnection_BeginTransaction_Call) Return

func (*WriteConnection_BeginTransaction_Call) Run

func (*WriteConnection_BeginTransaction_Call) RunAndReturn

type WriteConnection_Close_Call

type WriteConnection_Close_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Close_Call) Return

func (*WriteConnection_Close_Call) Run

func (*WriteConnection_Close_Call) RunAndReturn

func (_c *WriteConnection_Close_Call) RunAndReturn(run func() error) *WriteConnection_Close_Call

type WriteConnection_Commit_Call

type WriteConnection_Commit_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Commit_Call) Return

func (*WriteConnection_Commit_Call) Run

func (*WriteConnection_Commit_Call) RunAndReturn

func (_c *WriteConnection_Commit_Call) RunAndReturn(run func() error) *WriteConnection_Commit_Call

type WriteConnection_Delete_Call

type WriteConnection_Delete_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Delete_Call) Return

func (*WriteConnection_Delete_Call) Run

func (_c *WriteConnection_Delete_Call) Run(run func(sql string, args ...interface{})) *WriteConnection_Delete_Call

func (*WriteConnection_Delete_Call) RunAndReturn

func (_c *WriteConnection_Delete_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *WriteConnection_Delete_Call

type WriteConnection_Expecter

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

func (*WriteConnection_Expecter) AffectingStatement

func (_e *WriteConnection_Expecter) AffectingStatement(sql interface{}, args ...interface{}) *WriteConnection_AffectingStatement_Call

AffectingStatement is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) AfterCommit

func (_e *WriteConnection_Expecter) AfterCommit(callback interface{}) *WriteConnection_AfterCommit_Call

AfterCommit is a helper method to define mock.On call

  • callback func() error

func (*WriteConnection_Expecter) AfterRollBack

func (_e *WriteConnection_Expecter) AfterRollBack(callback interface{}) *WriteConnection_AfterRollBack_Call

AfterRollBack is a helper method to define mock.On call

  • callback func() error

func (*WriteConnection_Expecter) AfterRollback

func (_e *WriteConnection_Expecter) AfterRollback(callback interface{}) *WriteConnection_AfterRollback_Call

AfterRollback is a helper method to define mock.On call

  • callback func() error

func (*WriteConnection_Expecter) BeforeStartingTransaction

func (_e *WriteConnection_Expecter) BeforeStartingTransaction(callback interface{}) *WriteConnection_BeforeStartingTransaction_Call

BeforeStartingTransaction is a helper method to define mock.On call

  • callback func(db.Tx) error

func (*WriteConnection_Expecter) BeginTransaction

BeginTransaction is a helper method to define mock.On call

func (*WriteConnection_Expecter) Close

Close is a helper method to define mock.On call

func (*WriteConnection_Expecter) Commit

Commit is a helper method to define mock.On call

func (*WriteConnection_Expecter) Delete

func (_e *WriteConnection_Expecter) Delete(sql interface{}, args ...interface{}) *WriteConnection_Delete_Call

Delete is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) Insert

func (_e *WriteConnection_Expecter) Insert(sql interface{}, args ...interface{}) *WriteConnection_Insert_Call

Insert is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) Query

Query is a helper method to define mock.On call

func (*WriteConnection_Expecter) Rollback

Rollback is a helper method to define mock.On call

func (*WriteConnection_Expecter) RollbackTo

func (_e *WriteConnection_Expecter) RollbackTo(level interface{}) *WriteConnection_RollbackTo_Call

RollbackTo is a helper method to define mock.On call

  • level int

func (*WriteConnection_Expecter) Scalar

func (_e *WriteConnection_Expecter) Scalar(sql interface{}, args ...interface{}) *WriteConnection_Scalar_Call

Scalar is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) Select

func (_e *WriteConnection_Expecter) Select(dest interface{}, sql interface{}, args ...interface{}) *WriteConnection_Select_Call

Select is a helper method to define mock.On call

  • dest interface{}
  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) SelectFromWriteConnection

func (_e *WriteConnection_Expecter) SelectFromWriteConnection(dest interface{}, sql interface{}, args ...interface{}) *WriteConnection_SelectFromWriteConnection_Call

SelectFromWriteConnection is a helper method to define mock.On call

  • dest interface{}
  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) SelectOne

func (_e *WriteConnection_Expecter) SelectOne(dest interface{}, sql interface{}, args ...interface{}) *WriteConnection_SelectOne_Call

SelectOne is a helper method to define mock.On call

  • dest interface{}
  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) SelectResultSets

func (_e *WriteConnection_Expecter) SelectResultSets(sql interface{}, args ...interface{}) *WriteConnection_SelectResultSets_Call

SelectResultSets is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) Statement

func (_e *WriteConnection_Expecter) Statement(sql interface{}, args ...interface{}) *WriteConnection_Statement_Call

Statement is a helper method to define mock.On call

  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) StatementContext

func (_e *WriteConnection_Expecter) StatementContext(ctx interface{}, sql interface{}, args ...interface{}) *WriteConnection_StatementContext_Call

StatementContext is a helper method to define mock.On call

  • ctx context.Context
  • sql string
  • args ...interface{}

func (*WriteConnection_Expecter) Table

func (_e *WriteConnection_Expecter) Table(name interface{}) *WriteConnection_Table_Call

Table is a helper method to define mock.On call

  • name string

func (*WriteConnection_Expecter) Transaction

func (_e *WriteConnection_Expecter) Transaction(callback interface{}, attempts ...interface{}) *WriteConnection_Transaction_Call

Transaction is a helper method to define mock.On call

  • callback func(db.Tx) error
  • attempts ...int

func (*WriteConnection_Expecter) TransactionLevel

TransactionLevel is a helper method to define mock.On call

func (*WriteConnection_Expecter) Unprepared

func (_e *WriteConnection_Expecter) Unprepared(sql interface{}) *WriteConnection_Unprepared_Call

Unprepared is a helper method to define mock.On call

  • sql string

func (*WriteConnection_Expecter) Update

func (_e *WriteConnection_Expecter) Update(sql interface{}, args ...interface{}) *WriteConnection_Update_Call

Update is a helper method to define mock.On call

  • sql string
  • args ...interface{}

type WriteConnection_Insert_Call

type WriteConnection_Insert_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Insert_Call) Return

func (*WriteConnection_Insert_Call) Run

func (_c *WriteConnection_Insert_Call) Run(run func(sql string, args ...interface{})) *WriteConnection_Insert_Call

func (*WriteConnection_Insert_Call) RunAndReturn

func (_c *WriteConnection_Insert_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *WriteConnection_Insert_Call

type WriteConnection_Query_Call

type WriteConnection_Query_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Query_Call) Return

func (*WriteConnection_Query_Call) Run

func (*WriteConnection_Query_Call) RunAndReturn

func (_c *WriteConnection_Query_Call) RunAndReturn(run func() db.Query) *WriteConnection_Query_Call

type WriteConnection_RollbackTo_Call

type WriteConnection_RollbackTo_Call struct {
	*mock.Call
}

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

func (*WriteConnection_RollbackTo_Call) Return

func (*WriteConnection_RollbackTo_Call) Run

func (*WriteConnection_RollbackTo_Call) RunAndReturn

type WriteConnection_Rollback_Call

type WriteConnection_Rollback_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Rollback_Call) Return

func (*WriteConnection_Rollback_Call) Run

func (*WriteConnection_Rollback_Call) RunAndReturn

type WriteConnection_Scalar_Call

type WriteConnection_Scalar_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Scalar_Call) Return

func (_c *WriteConnection_Scalar_Call) Return(_a0 interface{}, _a1 error) *WriteConnection_Scalar_Call

func (*WriteConnection_Scalar_Call) Run

func (_c *WriteConnection_Scalar_Call) Run(run func(sql string, args ...interface{})) *WriteConnection_Scalar_Call

func (*WriteConnection_Scalar_Call) RunAndReturn

func (_c *WriteConnection_Scalar_Call) RunAndReturn(run func(string, ...interface{}) (interface{}, error)) *WriteConnection_Scalar_Call

type WriteConnection_SelectFromWriteConnection_Call

type WriteConnection_SelectFromWriteConnection_Call struct {
	*mock.Call
}

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

func (*WriteConnection_SelectFromWriteConnection_Call) Return

func (*WriteConnection_SelectFromWriteConnection_Call) Run

func (_c *WriteConnection_SelectFromWriteConnection_Call) Run(run func(dest interface{}, sql string, args ...interface{})) *WriteConnection_SelectFromWriteConnection_Call

func (*WriteConnection_SelectFromWriteConnection_Call) RunAndReturn

func (_c *WriteConnection_SelectFromWriteConnection_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *WriteConnection_SelectFromWriteConnection_Call

type WriteConnection_SelectOne_Call

type WriteConnection_SelectOne_Call struct {
	*mock.Call
}

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

func (*WriteConnection_SelectOne_Call) Return

func (*WriteConnection_SelectOne_Call) Run

func (_c *WriteConnection_SelectOne_Call) Run(run func(dest interface{}, sql string, args ...interface{})) *WriteConnection_SelectOne_Call

func (*WriteConnection_SelectOne_Call) RunAndReturn

func (_c *WriteConnection_SelectOne_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *WriteConnection_SelectOne_Call

type WriteConnection_SelectResultSets_Call

type WriteConnection_SelectResultSets_Call struct {
	*mock.Call
}

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

func (*WriteConnection_SelectResultSets_Call) Return

func (*WriteConnection_SelectResultSets_Call) Run

func (_c *WriteConnection_SelectResultSets_Call) Run(run func(sql string, args ...interface{})) *WriteConnection_SelectResultSets_Call

func (*WriteConnection_SelectResultSets_Call) RunAndReturn

func (_c *WriteConnection_SelectResultSets_Call) RunAndReturn(run func(string, ...interface{}) ([][]map[string]interface{}, error)) *WriteConnection_SelectResultSets_Call

type WriteConnection_Select_Call

type WriteConnection_Select_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Select_Call) Return

func (*WriteConnection_Select_Call) Run

func (_c *WriteConnection_Select_Call) Run(run func(dest interface{}, sql string, args ...interface{})) *WriteConnection_Select_Call

func (*WriteConnection_Select_Call) RunAndReturn

func (_c *WriteConnection_Select_Call) RunAndReturn(run func(interface{}, string, ...interface{}) error) *WriteConnection_Select_Call

type WriteConnection_StatementContext_Call

type WriteConnection_StatementContext_Call struct {
	*mock.Call
}

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

func (*WriteConnection_StatementContext_Call) Return

func (*WriteConnection_StatementContext_Call) Run

func (_c *WriteConnection_StatementContext_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *WriteConnection_StatementContext_Call

func (*WriteConnection_StatementContext_Call) RunAndReturn

type WriteConnection_Statement_Call

type WriteConnection_Statement_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Statement_Call) Return

func (*WriteConnection_Statement_Call) Run

func (_c *WriteConnection_Statement_Call) Run(run func(sql string, args ...interface{})) *WriteConnection_Statement_Call

func (*WriteConnection_Statement_Call) RunAndReturn

func (_c *WriteConnection_Statement_Call) RunAndReturn(run func(string, ...interface{}) error) *WriteConnection_Statement_Call

type WriteConnection_Table_Call

type WriteConnection_Table_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Table_Call) Return

func (*WriteConnection_Table_Call) Run

func (*WriteConnection_Table_Call) RunAndReturn

type WriteConnection_TransactionLevel_Call

type WriteConnection_TransactionLevel_Call struct {
	*mock.Call
}

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

func (*WriteConnection_TransactionLevel_Call) Return

func (*WriteConnection_TransactionLevel_Call) Run

func (*WriteConnection_TransactionLevel_Call) RunAndReturn

type WriteConnection_Transaction_Call

type WriteConnection_Transaction_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Transaction_Call) Return

func (*WriteConnection_Transaction_Call) Run

func (_c *WriteConnection_Transaction_Call) Run(run func(callback func(db.Tx) error, attempts ...int)) *WriteConnection_Transaction_Call

func (*WriteConnection_Transaction_Call) RunAndReturn

func (_c *WriteConnection_Transaction_Call) RunAndReturn(run func(func(db.Tx) error, ...int) error) *WriteConnection_Transaction_Call

type WriteConnection_Unprepared_Call

type WriteConnection_Unprepared_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Unprepared_Call) Return

func (*WriteConnection_Unprepared_Call) Run

func (*WriteConnection_Unprepared_Call) RunAndReturn

type WriteConnection_Update_Call

type WriteConnection_Update_Call struct {
	*mock.Call
}

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

func (*WriteConnection_Update_Call) Return

func (*WriteConnection_Update_Call) Run

func (_c *WriteConnection_Update_Call) Run(run func(sql string, args ...interface{})) *WriteConnection_Update_Call

func (*WriteConnection_Update_Call) RunAndReturn

func (_c *WriteConnection_Update_Call) RunAndReturn(run func(string, ...interface{}) (*db.Result, error)) *WriteConnection_Update_Call

Jump to

Keyboard shortcuts

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