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

driver

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 Blueprint

type Blueprint struct {
	mock.Mock
}

Blueprint is an autogenerated mock type for the Blueprint type

func NewBlueprint

func NewBlueprint(t interface {
	mock.TestingT
	Cleanup(func())
}) *Blueprint

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

func (_m *Blueprint) EXPECT() *Blueprint_Expecter

func (*Blueprint) GetAddedColumns

func (_m *Blueprint) GetAddedColumns() []driver.ColumnDefinition

GetAddedColumns provides a mock function with no fields

func (*Blueprint) GetCommands

func (_m *Blueprint) GetCommands() []*driver.Command

GetCommands provides a mock function with no fields

func (*Blueprint) GetTableName

func (_m *Blueprint) GetTableName() string

GetTableName provides a mock function with no fields

func (*Blueprint) HasCommand

func (_m *Blueprint) HasCommand(command string) bool

HasCommand provides a mock function with given fields: command

type BlueprintDescriber

type BlueprintDescriber struct {
	mock.Mock
}

BlueprintDescriber is an autogenerated mock type for the BlueprintDescriber type

func NewBlueprintDescriber

func NewBlueprintDescriber(t interface {
	mock.TestingT
	Cleanup(func())
}) *BlueprintDescriber

NewBlueprintDescriber creates a new instance of BlueprintDescriber. 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 (*BlueprintDescriber) DescribeBlueprint

func (_m *BlueprintDescriber) DescribeBlueprint() driver.BlueprintDescription

DescribeBlueprint provides a mock function with no fields

func (*BlueprintDescriber) EXPECT

type BlueprintDescriber_DescribeBlueprint_Call

type BlueprintDescriber_DescribeBlueprint_Call struct {
	*mock.Call
}

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

func (*BlueprintDescriber_DescribeBlueprint_Call) Return

func (*BlueprintDescriber_DescribeBlueprint_Call) Run

func (*BlueprintDescriber_DescribeBlueprint_Call) RunAndReturn

type BlueprintDescriber_Expecter

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

func (*BlueprintDescriber_Expecter) DescribeBlueprint

DescribeBlueprint is a helper method to define mock.On call

type Blueprint_Expecter

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

func (*Blueprint_Expecter) GetAddedColumns

func (_e *Blueprint_Expecter) GetAddedColumns() *Blueprint_GetAddedColumns_Call

GetAddedColumns is a helper method to define mock.On call

func (*Blueprint_Expecter) GetCommands

GetCommands is a helper method to define mock.On call

func (*Blueprint_Expecter) GetTableName

func (_e *Blueprint_Expecter) GetTableName() *Blueprint_GetTableName_Call

GetTableName is a helper method to define mock.On call

func (*Blueprint_Expecter) HasCommand

func (_e *Blueprint_Expecter) HasCommand(command interface{}) *Blueprint_HasCommand_Call

HasCommand is a helper method to define mock.On call

  • command string

type Blueprint_GetAddedColumns_Call

type Blueprint_GetAddedColumns_Call struct {
	*mock.Call
}

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

func (*Blueprint_GetAddedColumns_Call) Return

func (*Blueprint_GetAddedColumns_Call) Run

func (*Blueprint_GetAddedColumns_Call) RunAndReturn

type Blueprint_GetCommands_Call

type Blueprint_GetCommands_Call struct {
	*mock.Call
}

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

func (*Blueprint_GetCommands_Call) Return

func (*Blueprint_GetCommands_Call) Run

func (*Blueprint_GetCommands_Call) RunAndReturn

func (_c *Blueprint_GetCommands_Call) RunAndReturn(run func() []*driver.Command) *Blueprint_GetCommands_Call

type Blueprint_GetTableName_Call

type Blueprint_GetTableName_Call struct {
	*mock.Call
}

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

func (*Blueprint_GetTableName_Call) Return

func (*Blueprint_GetTableName_Call) Run

func (*Blueprint_GetTableName_Call) RunAndReturn

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

type Blueprint_HasCommand_Call

type Blueprint_HasCommand_Call struct {
	*mock.Call
}

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

func (*Blueprint_HasCommand_Call) Return

func (*Blueprint_HasCommand_Call) Run

func (_c *Blueprint_HasCommand_Call) Run(run func(command string)) *Blueprint_HasCommand_Call

func (*Blueprint_HasCommand_Call) RunAndReturn

func (_c *Blueprint_HasCommand_Call) RunAndReturn(run func(string) bool) *Blueprint_HasCommand_Call

type ColumnDefinition

type ColumnDefinition struct {
	mock.Mock
}

ColumnDefinition is an autogenerated mock type for the ColumnDefinition type

func NewColumnDefinition

func NewColumnDefinition(t interface {
	mock.TestingT
	Cleanup(func())
}) *ColumnDefinition

NewColumnDefinition creates a new instance of ColumnDefinition. 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 (*ColumnDefinition) After

func (_m *ColumnDefinition) After(column string) driver.ColumnDefinition

After provides a mock function with given fields: column

func (*ColumnDefinition) Always

Always provides a mock function with no fields

func (*ColumnDefinition) AutoIncrement

func (_m *ColumnDefinition) AutoIncrement() driver.ColumnDefinition

AutoIncrement provides a mock function with no fields

func (*ColumnDefinition) Change

Change provides a mock function with no fields

func (*ColumnDefinition) Charset

func (_m *ColumnDefinition) Charset(charset string) driver.ColumnDefinition

Charset provides a mock function with given fields: charset

func (*ColumnDefinition) Collation

func (_m *ColumnDefinition) Collation(collation string) driver.ColumnDefinition

Collation provides a mock function with given fields: collation

func (*ColumnDefinition) Comment

func (_m *ColumnDefinition) Comment(comment string) driver.ColumnDefinition

Comment provides a mock function with given fields: comment

func (*ColumnDefinition) Default

func (_m *ColumnDefinition) Default(def interface{}) driver.ColumnDefinition

Default provides a mock function with given fields: def

func (*ColumnDefinition) EXPECT

func (*ColumnDefinition) First

First provides a mock function with no fields

func (*ColumnDefinition) Fixed

Fixed provides a mock function with no fields

func (*ColumnDefinition) From

From provides a mock function with given fields: value

func (*ColumnDefinition) GeneratedAs

func (_m *ColumnDefinition) GeneratedAs(expression ...string) driver.ColumnDefinition

GeneratedAs provides a mock function with given fields: expression

func (*ColumnDefinition) GetAfter

func (_m *ColumnDefinition) GetAfter() string

GetAfter provides a mock function with no fields

func (*ColumnDefinition) GetAllowed

func (_m *ColumnDefinition) GetAllowed() []interface{}

GetAllowed provides a mock function with no fields

func (*ColumnDefinition) GetAutoIncrement

func (_m *ColumnDefinition) GetAutoIncrement() bool

GetAutoIncrement provides a mock function with no fields

func (*ColumnDefinition) GetComment

func (_m *ColumnDefinition) GetComment() string

GetComment provides a mock function with no fields

func (*ColumnDefinition) GetDefault

func (_m *ColumnDefinition) GetDefault() interface{}

GetDefault provides a mock function with no fields

func (*ColumnDefinition) GetGeneratedAs

func (_m *ColumnDefinition) GetGeneratedAs() string

GetGeneratedAs provides a mock function with no fields

func (*ColumnDefinition) GetLength

func (_m *ColumnDefinition) GetLength() int

GetLength provides a mock function with no fields

func (*ColumnDefinition) GetName

func (_m *ColumnDefinition) GetName() string

GetName provides a mock function with no fields

func (*ColumnDefinition) GetNullable

func (_m *ColumnDefinition) GetNullable() bool

GetNullable provides a mock function with no fields

func (*ColumnDefinition) GetOnUpdate

func (_m *ColumnDefinition) GetOnUpdate() interface{}

GetOnUpdate provides a mock function with no fields

func (*ColumnDefinition) GetPlaces

func (_m *ColumnDefinition) GetPlaces() int

GetPlaces provides a mock function with no fields

func (*ColumnDefinition) GetPrecision

func (_m *ColumnDefinition) GetPrecision() int

GetPrecision provides a mock function with no fields

func (*ColumnDefinition) GetTotal

func (_m *ColumnDefinition) GetTotal() int

GetTotal provides a mock function with no fields

func (*ColumnDefinition) GetType

func (_m *ColumnDefinition) GetType() string

GetType provides a mock function with no fields

func (*ColumnDefinition) GetUnsigned

func (_m *ColumnDefinition) GetUnsigned() bool

GetUnsigned provides a mock function with no fields

func (*ColumnDefinition) GetUseCurrent

func (_m *ColumnDefinition) GetUseCurrent() bool

GetUseCurrent provides a mock function with no fields

func (*ColumnDefinition) GetUseCurrentOnUpdate

func (_m *ColumnDefinition) GetUseCurrentOnUpdate() bool

GetUseCurrentOnUpdate provides a mock function with no fields

func (*ColumnDefinition) Instant

Instant provides a mock function with no fields

func (*ColumnDefinition) Invisible

func (_m *ColumnDefinition) Invisible() driver.ColumnDefinition

Invisible provides a mock function with no fields

func (*ColumnDefinition) IsAlways

func (_m *ColumnDefinition) IsAlways() bool

IsAlways provides a mock function with no fields

func (*ColumnDefinition) IsChange

func (_m *ColumnDefinition) IsChange() bool

IsChange provides a mock function with no fields

func (*ColumnDefinition) IsFirst

func (_m *ColumnDefinition) IsFirst() bool

IsFirst provides a mock function with no fields

func (*ColumnDefinition) IsSetComment

func (_m *ColumnDefinition) IsSetComment() bool

IsSetComment provides a mock function with no fields

func (*ColumnDefinition) IsSetGeneratedAs

func (_m *ColumnDefinition) IsSetGeneratedAs() bool

IsSetGeneratedAs provides a mock function with no fields

func (*ColumnDefinition) Nullable

func (_m *ColumnDefinition) Nullable(nullable ...bool) driver.ColumnDefinition

Nullable provides a mock function with given fields: nullable

func (*ColumnDefinition) OnUpdate

func (_m *ColumnDefinition) OnUpdate(value interface{}) driver.ColumnDefinition

OnUpdate provides a mock function with given fields: value

func (*ColumnDefinition) Persisted

func (_m *ColumnDefinition) Persisted() driver.ColumnDefinition

Persisted provides a mock function with no fields

func (*ColumnDefinition) Places

func (_m *ColumnDefinition) Places(places int) driver.ColumnDefinition

Places provides a mock function with given fields: places

func (*ColumnDefinition) Srid

func (_m *ColumnDefinition) Srid(value int) driver.ColumnDefinition

Srid provides a mock function with given fields: value

func (*ColumnDefinition) StartingValue

func (_m *ColumnDefinition) StartingValue(value uint64) driver.ColumnDefinition

StartingValue provides a mock function with given fields: value

func (*ColumnDefinition) StoredAs

func (_m *ColumnDefinition) StoredAs(expression interface{}) driver.ColumnDefinition

StoredAs provides a mock function with given fields: expression

func (*ColumnDefinition) Total

func (_m *ColumnDefinition) Total(total int) driver.ColumnDefinition

Total provides a mock function with given fields: total

func (*ColumnDefinition) Unsigned

func (_m *ColumnDefinition) Unsigned() driver.ColumnDefinition

Unsigned provides a mock function with no fields

func (*ColumnDefinition) UseCurrent

func (_m *ColumnDefinition) UseCurrent() driver.ColumnDefinition

UseCurrent provides a mock function with no fields

func (*ColumnDefinition) UseCurrentOnUpdate

func (_m *ColumnDefinition) UseCurrentOnUpdate() driver.ColumnDefinition

UseCurrentOnUpdate provides a mock function with no fields

func (*ColumnDefinition) VirtualAs

func (_m *ColumnDefinition) VirtualAs(expression interface{}) driver.ColumnDefinition

VirtualAs provides a mock function with given fields: expression

type ColumnDefinition_After_Call

type ColumnDefinition_After_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_After_Call) Return

func (*ColumnDefinition_After_Call) Run

func (*ColumnDefinition_After_Call) RunAndReturn

type ColumnDefinition_Always_Call

type ColumnDefinition_Always_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Always_Call) Return

func (*ColumnDefinition_Always_Call) Run

func (*ColumnDefinition_Always_Call) RunAndReturn

type ColumnDefinition_AutoIncrement_Call

type ColumnDefinition_AutoIncrement_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_AutoIncrement_Call) Return

func (*ColumnDefinition_AutoIncrement_Call) Run

func (*ColumnDefinition_AutoIncrement_Call) RunAndReturn

type ColumnDefinition_Change_Call

type ColumnDefinition_Change_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Change_Call) Return

func (*ColumnDefinition_Change_Call) Run

func (*ColumnDefinition_Change_Call) RunAndReturn

type ColumnDefinition_Charset_Call

type ColumnDefinition_Charset_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Charset_Call) Return

func (*ColumnDefinition_Charset_Call) Run

func (*ColumnDefinition_Charset_Call) RunAndReturn

type ColumnDefinition_Collation_Call

type ColumnDefinition_Collation_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Collation_Call) Return

func (*ColumnDefinition_Collation_Call) Run

func (*ColumnDefinition_Collation_Call) RunAndReturn

type ColumnDefinition_Comment_Call

type ColumnDefinition_Comment_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Comment_Call) Return

func (*ColumnDefinition_Comment_Call) Run

func (*ColumnDefinition_Comment_Call) RunAndReturn

type ColumnDefinition_Default_Call

type ColumnDefinition_Default_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Default_Call) Return

func (*ColumnDefinition_Default_Call) Run

func (_c *ColumnDefinition_Default_Call) Run(run func(def interface{})) *ColumnDefinition_Default_Call

func (*ColumnDefinition_Default_Call) RunAndReturn

type ColumnDefinition_Expecter

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

func (*ColumnDefinition_Expecter) After

func (_e *ColumnDefinition_Expecter) After(column interface{}) *ColumnDefinition_After_Call

After is a helper method to define mock.On call

  • column string

func (*ColumnDefinition_Expecter) Always

Always is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) AutoIncrement

AutoIncrement is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) Change

Change is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) Charset

func (_e *ColumnDefinition_Expecter) Charset(charset interface{}) *ColumnDefinition_Charset_Call

Charset is a helper method to define mock.On call

  • charset string

func (*ColumnDefinition_Expecter) Collation

func (_e *ColumnDefinition_Expecter) Collation(collation interface{}) *ColumnDefinition_Collation_Call

Collation is a helper method to define mock.On call

  • collation string

func (*ColumnDefinition_Expecter) Comment

func (_e *ColumnDefinition_Expecter) Comment(comment interface{}) *ColumnDefinition_Comment_Call

Comment is a helper method to define mock.On call

  • comment string

func (*ColumnDefinition_Expecter) Default

func (_e *ColumnDefinition_Expecter) Default(def interface{}) *ColumnDefinition_Default_Call

Default is a helper method to define mock.On call

  • def interface{}

func (*ColumnDefinition_Expecter) First

First is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) Fixed

Fixed is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) From

func (_e *ColumnDefinition_Expecter) From(value interface{}) *ColumnDefinition_From_Call

From is a helper method to define mock.On call

  • value uint64

func (*ColumnDefinition_Expecter) GeneratedAs

func (_e *ColumnDefinition_Expecter) GeneratedAs(expression ...interface{}) *ColumnDefinition_GeneratedAs_Call

GeneratedAs is a helper method to define mock.On call

  • expression ...string

func (*ColumnDefinition_Expecter) GetAfter

GetAfter is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetAllowed

GetAllowed is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetAutoIncrement

GetAutoIncrement is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetComment

GetComment is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetDefault

GetDefault is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetGeneratedAs

GetGeneratedAs is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetLength

GetLength is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetName

GetName is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetNullable

GetNullable is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetOnUpdate

GetOnUpdate is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetPlaces

GetPlaces is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetPrecision

GetPrecision is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetTotal

GetTotal is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetType

GetType is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetUnsigned

GetUnsigned is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetUseCurrent

GetUseCurrent is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) GetUseCurrentOnUpdate

GetUseCurrentOnUpdate is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) Instant

Instant is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) Invisible

Invisible is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) IsAlways

IsAlways is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) IsChange

IsChange is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) IsFirst

IsFirst is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) IsSetComment

IsSetComment is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) IsSetGeneratedAs

IsSetGeneratedAs is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) Nullable

func (_e *ColumnDefinition_Expecter) Nullable(nullable ...interface{}) *ColumnDefinition_Nullable_Call

Nullable is a helper method to define mock.On call

  • nullable ...bool

func (*ColumnDefinition_Expecter) OnUpdate

func (_e *ColumnDefinition_Expecter) OnUpdate(value interface{}) *ColumnDefinition_OnUpdate_Call

OnUpdate is a helper method to define mock.On call

  • value interface{}

func (*ColumnDefinition_Expecter) Persisted

Persisted is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) Places

func (_e *ColumnDefinition_Expecter) Places(places interface{}) *ColumnDefinition_Places_Call

Places is a helper method to define mock.On call

  • places int

func (*ColumnDefinition_Expecter) Srid

func (_e *ColumnDefinition_Expecter) Srid(value interface{}) *ColumnDefinition_Srid_Call

Srid is a helper method to define mock.On call

  • value int

func (*ColumnDefinition_Expecter) StartingValue

func (_e *ColumnDefinition_Expecter) StartingValue(value interface{}) *ColumnDefinition_StartingValue_Call

StartingValue is a helper method to define mock.On call

  • value uint64

func (*ColumnDefinition_Expecter) StoredAs

func (_e *ColumnDefinition_Expecter) StoredAs(expression interface{}) *ColumnDefinition_StoredAs_Call

StoredAs is a helper method to define mock.On call

  • expression interface{}

func (*ColumnDefinition_Expecter) Total

func (_e *ColumnDefinition_Expecter) Total(total interface{}) *ColumnDefinition_Total_Call

Total is a helper method to define mock.On call

  • total int

func (*ColumnDefinition_Expecter) Unsigned

Unsigned is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) UseCurrent

UseCurrent is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) UseCurrentOnUpdate

UseCurrentOnUpdate is a helper method to define mock.On call

func (*ColumnDefinition_Expecter) VirtualAs

func (_e *ColumnDefinition_Expecter) VirtualAs(expression interface{}) *ColumnDefinition_VirtualAs_Call

VirtualAs is a helper method to define mock.On call

  • expression interface{}

type ColumnDefinition_First_Call

type ColumnDefinition_First_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_First_Call) Return

func (*ColumnDefinition_First_Call) Run

func (*ColumnDefinition_First_Call) RunAndReturn

type ColumnDefinition_Fixed_Call

type ColumnDefinition_Fixed_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Fixed_Call) Return

func (*ColumnDefinition_Fixed_Call) Run

func (*ColumnDefinition_Fixed_Call) RunAndReturn

type ColumnDefinition_From_Call

type ColumnDefinition_From_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_From_Call) Return

func (*ColumnDefinition_From_Call) Run

func (*ColumnDefinition_From_Call) RunAndReturn

type ColumnDefinition_GeneratedAs_Call

type ColumnDefinition_GeneratedAs_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GeneratedAs_Call) Return

func (*ColumnDefinition_GeneratedAs_Call) Run

func (*ColumnDefinition_GeneratedAs_Call) RunAndReturn

type ColumnDefinition_GetAfter_Call

type ColumnDefinition_GetAfter_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetAfter_Call) Return

func (*ColumnDefinition_GetAfter_Call) Run

func (*ColumnDefinition_GetAfter_Call) RunAndReturn

type ColumnDefinition_GetAllowed_Call

type ColumnDefinition_GetAllowed_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetAllowed_Call) Return

func (*ColumnDefinition_GetAllowed_Call) Run

func (*ColumnDefinition_GetAllowed_Call) RunAndReturn

func (_c *ColumnDefinition_GetAllowed_Call) RunAndReturn(run func() []interface{}) *ColumnDefinition_GetAllowed_Call

type ColumnDefinition_GetAutoIncrement_Call

type ColumnDefinition_GetAutoIncrement_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetAutoIncrement_Call) Return

func (*ColumnDefinition_GetAutoIncrement_Call) Run

func (*ColumnDefinition_GetAutoIncrement_Call) RunAndReturn

type ColumnDefinition_GetComment_Call

type ColumnDefinition_GetComment_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetComment_Call) Return

func (*ColumnDefinition_GetComment_Call) Run

func (*ColumnDefinition_GetComment_Call) RunAndReturn

type ColumnDefinition_GetDefault_Call

type ColumnDefinition_GetDefault_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetDefault_Call) Return

func (*ColumnDefinition_GetDefault_Call) Run

func (*ColumnDefinition_GetDefault_Call) RunAndReturn

func (_c *ColumnDefinition_GetDefault_Call) RunAndReturn(run func() interface{}) *ColumnDefinition_GetDefault_Call

type ColumnDefinition_GetGeneratedAs_Call

type ColumnDefinition_GetGeneratedAs_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetGeneratedAs_Call) Return

func (*ColumnDefinition_GetGeneratedAs_Call) Run

func (*ColumnDefinition_GetGeneratedAs_Call) RunAndReturn

type ColumnDefinition_GetLength_Call

type ColumnDefinition_GetLength_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetLength_Call) Return

func (*ColumnDefinition_GetLength_Call) Run

func (*ColumnDefinition_GetLength_Call) RunAndReturn

type ColumnDefinition_GetName_Call

type ColumnDefinition_GetName_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetName_Call) Return

func (*ColumnDefinition_GetName_Call) Run

func (*ColumnDefinition_GetName_Call) RunAndReturn

type ColumnDefinition_GetNullable_Call

type ColumnDefinition_GetNullable_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetNullable_Call) Return

func (*ColumnDefinition_GetNullable_Call) Run

func (*ColumnDefinition_GetNullable_Call) RunAndReturn

type ColumnDefinition_GetOnUpdate_Call

type ColumnDefinition_GetOnUpdate_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetOnUpdate_Call) Return

func (*ColumnDefinition_GetOnUpdate_Call) Run

func (*ColumnDefinition_GetOnUpdate_Call) RunAndReturn

func (_c *ColumnDefinition_GetOnUpdate_Call) RunAndReturn(run func() interface{}) *ColumnDefinition_GetOnUpdate_Call

type ColumnDefinition_GetPlaces_Call

type ColumnDefinition_GetPlaces_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetPlaces_Call) Return

func (*ColumnDefinition_GetPlaces_Call) Run

func (*ColumnDefinition_GetPlaces_Call) RunAndReturn

type ColumnDefinition_GetPrecision_Call

type ColumnDefinition_GetPrecision_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetPrecision_Call) Return

func (*ColumnDefinition_GetPrecision_Call) Run

func (*ColumnDefinition_GetPrecision_Call) RunAndReturn

type ColumnDefinition_GetTotal_Call

type ColumnDefinition_GetTotal_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetTotal_Call) Return

func (*ColumnDefinition_GetTotal_Call) Run

func (*ColumnDefinition_GetTotal_Call) RunAndReturn

type ColumnDefinition_GetType_Call

type ColumnDefinition_GetType_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetType_Call) Return

func (*ColumnDefinition_GetType_Call) Run

func (*ColumnDefinition_GetType_Call) RunAndReturn

type ColumnDefinition_GetUnsigned_Call

type ColumnDefinition_GetUnsigned_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetUnsigned_Call) Return

func (*ColumnDefinition_GetUnsigned_Call) Run

func (*ColumnDefinition_GetUnsigned_Call) RunAndReturn

type ColumnDefinition_GetUseCurrentOnUpdate_Call

type ColumnDefinition_GetUseCurrentOnUpdate_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetUseCurrentOnUpdate_Call) Return

func (*ColumnDefinition_GetUseCurrentOnUpdate_Call) Run

func (*ColumnDefinition_GetUseCurrentOnUpdate_Call) RunAndReturn

type ColumnDefinition_GetUseCurrent_Call

type ColumnDefinition_GetUseCurrent_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_GetUseCurrent_Call) Return

func (*ColumnDefinition_GetUseCurrent_Call) Run

func (*ColumnDefinition_GetUseCurrent_Call) RunAndReturn

type ColumnDefinition_Instant_Call

type ColumnDefinition_Instant_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Instant_Call) Return

func (*ColumnDefinition_Instant_Call) Run

func (*ColumnDefinition_Instant_Call) RunAndReturn

type ColumnDefinition_Invisible_Call

type ColumnDefinition_Invisible_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Invisible_Call) Return

func (*ColumnDefinition_Invisible_Call) Run

func (*ColumnDefinition_Invisible_Call) RunAndReturn

type ColumnDefinition_IsAlways_Call

type ColumnDefinition_IsAlways_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_IsAlways_Call) Return

func (*ColumnDefinition_IsAlways_Call) Run

func (*ColumnDefinition_IsAlways_Call) RunAndReturn

type ColumnDefinition_IsChange_Call

type ColumnDefinition_IsChange_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_IsChange_Call) Return

func (*ColumnDefinition_IsChange_Call) Run

func (*ColumnDefinition_IsChange_Call) RunAndReturn

type ColumnDefinition_IsFirst_Call

type ColumnDefinition_IsFirst_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_IsFirst_Call) Return

func (*ColumnDefinition_IsFirst_Call) Run

func (*ColumnDefinition_IsFirst_Call) RunAndReturn

type ColumnDefinition_IsSetComment_Call

type ColumnDefinition_IsSetComment_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_IsSetComment_Call) Return

func (*ColumnDefinition_IsSetComment_Call) Run

func (*ColumnDefinition_IsSetComment_Call) RunAndReturn

type ColumnDefinition_IsSetGeneratedAs_Call

type ColumnDefinition_IsSetGeneratedAs_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_IsSetGeneratedAs_Call) Return

func (*ColumnDefinition_IsSetGeneratedAs_Call) Run

func (*ColumnDefinition_IsSetGeneratedAs_Call) RunAndReturn

type ColumnDefinition_Nullable_Call

type ColumnDefinition_Nullable_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Nullable_Call) Return

func (*ColumnDefinition_Nullable_Call) Run

func (_c *ColumnDefinition_Nullable_Call) Run(run func(nullable ...bool)) *ColumnDefinition_Nullable_Call

func (*ColumnDefinition_Nullable_Call) RunAndReturn

type ColumnDefinition_OnUpdate_Call

type ColumnDefinition_OnUpdate_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_OnUpdate_Call) Return

func (*ColumnDefinition_OnUpdate_Call) Run

func (_c *ColumnDefinition_OnUpdate_Call) Run(run func(value interface{})) *ColumnDefinition_OnUpdate_Call

func (*ColumnDefinition_OnUpdate_Call) RunAndReturn

type ColumnDefinition_Persisted_Call

type ColumnDefinition_Persisted_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Persisted_Call) Return

func (*ColumnDefinition_Persisted_Call) Run

func (*ColumnDefinition_Persisted_Call) RunAndReturn

type ColumnDefinition_Places_Call

type ColumnDefinition_Places_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Places_Call) Return

func (*ColumnDefinition_Places_Call) Run

func (*ColumnDefinition_Places_Call) RunAndReturn

type ColumnDefinition_Srid_Call

type ColumnDefinition_Srid_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Srid_Call) Return

func (*ColumnDefinition_Srid_Call) Run

func (_c *ColumnDefinition_Srid_Call) Run(run func(value int)) *ColumnDefinition_Srid_Call

func (*ColumnDefinition_Srid_Call) RunAndReturn

type ColumnDefinition_StartingValue_Call

type ColumnDefinition_StartingValue_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_StartingValue_Call) Return

func (*ColumnDefinition_StartingValue_Call) Run

func (*ColumnDefinition_StartingValue_Call) RunAndReturn

type ColumnDefinition_StoredAs_Call

type ColumnDefinition_StoredAs_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_StoredAs_Call) Return

func (*ColumnDefinition_StoredAs_Call) Run

func (_c *ColumnDefinition_StoredAs_Call) Run(run func(expression interface{})) *ColumnDefinition_StoredAs_Call

func (*ColumnDefinition_StoredAs_Call) RunAndReturn

type ColumnDefinition_Total_Call

type ColumnDefinition_Total_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Total_Call) Return

func (*ColumnDefinition_Total_Call) Run

func (*ColumnDefinition_Total_Call) RunAndReturn

type ColumnDefinition_Unsigned_Call

type ColumnDefinition_Unsigned_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_Unsigned_Call) Return

func (*ColumnDefinition_Unsigned_Call) Run

func (*ColumnDefinition_Unsigned_Call) RunAndReturn

type ColumnDefinition_UseCurrentOnUpdate_Call

type ColumnDefinition_UseCurrentOnUpdate_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_UseCurrentOnUpdate_Call) Return

func (*ColumnDefinition_UseCurrentOnUpdate_Call) Run

func (*ColumnDefinition_UseCurrentOnUpdate_Call) RunAndReturn

type ColumnDefinition_UseCurrent_Call

type ColumnDefinition_UseCurrent_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_UseCurrent_Call) Return

func (*ColumnDefinition_UseCurrent_Call) Run

func (*ColumnDefinition_UseCurrent_Call) RunAndReturn

type ColumnDefinition_VirtualAs_Call

type ColumnDefinition_VirtualAs_Call struct {
	*mock.Call
}

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

func (*ColumnDefinition_VirtualAs_Call) Return

func (*ColumnDefinition_VirtualAs_Call) Run

func (_c *ColumnDefinition_VirtualAs_Call) Run(run func(expression interface{})) *ColumnDefinition_VirtualAs_Call

func (*ColumnDefinition_VirtualAs_Call) RunAndReturn

type ColumnDescriber

type ColumnDescriber struct {
	mock.Mock
}

ColumnDescriber is an autogenerated mock type for the ColumnDescriber type

func NewColumnDescriber

func NewColumnDescriber(t interface {
	mock.TestingT
	Cleanup(func())
}) *ColumnDescriber

NewColumnDescriber creates a new instance of ColumnDescriber. 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 (*ColumnDescriber) DescribeColumn

func (_m *ColumnDescriber) DescribeColumn() driver.ColumnDescription

DescribeColumn provides a mock function with no fields

func (*ColumnDescriber) EXPECT

type ColumnDescriber_DescribeColumn_Call

type ColumnDescriber_DescribeColumn_Call struct {
	*mock.Call
}

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

func (*ColumnDescriber_DescribeColumn_Call) Return

func (*ColumnDescriber_DescribeColumn_Call) Run

func (*ColumnDescriber_DescribeColumn_Call) RunAndReturn

type ColumnDescriber_Expecter

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

func (*ColumnDescriber_Expecter) DescribeColumn

DescribeColumn is a helper method to define mock.On call

type CommonGrammar

type CommonGrammar struct {
	mock.Mock
}

CommonGrammar is an autogenerated mock type for the CommonGrammar type

func NewCommonGrammar

func NewCommonGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *CommonGrammar

NewCommonGrammar creates a new instance of CommonGrammar. 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 (*CommonGrammar) CompileVersion

func (_m *CommonGrammar) CompileVersion() string

CompileVersion provides a mock function with no fields

func (*CommonGrammar) EXPECT

func (_m *CommonGrammar) EXPECT() *CommonGrammar_Expecter

type CommonGrammar_CompileVersion_Call

type CommonGrammar_CompileVersion_Call struct {
	*mock.Call
}

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

func (*CommonGrammar_CompileVersion_Call) Return

func (*CommonGrammar_CompileVersion_Call) Run

func (*CommonGrammar_CompileVersion_Call) RunAndReturn

type CommonGrammar_Expecter

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

func (*CommonGrammar_Expecter) CompileVersion

CompileVersion is a helper method to define mock.On call

type CompileLimitGrammar

type CompileLimitGrammar struct {
	mock.Mock
}

CompileLimitGrammar is an autogenerated mock type for the CompileLimitGrammar type

func NewCompileLimitGrammar

func NewCompileLimitGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *CompileLimitGrammar

NewCompileLimitGrammar creates a new instance of CompileLimitGrammar. 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 (*CompileLimitGrammar) CompileLimit

func (_m *CompileLimitGrammar) CompileLimit(builder squirrel.SelectBuilder, conditions *driver.Conditions) squirrel.SelectBuilder

CompileLimit provides a mock function with given fields: builder, conditions

func (*CompileLimitGrammar) EXPECT

type CompileLimitGrammar_CompileLimit_Call

type CompileLimitGrammar_CompileLimit_Call struct {
	*mock.Call
}

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

func (*CompileLimitGrammar_CompileLimit_Call) Return

func (*CompileLimitGrammar_CompileLimit_Call) Run

type CompileLimitGrammar_Expecter

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

func (*CompileLimitGrammar_Expecter) CompileLimit

func (_e *CompileLimitGrammar_Expecter) CompileLimit(builder interface{}, conditions interface{}) *CompileLimitGrammar_CompileLimit_Call

CompileLimit is a helper method to define mock.On call

  • builder squirrel.SelectBuilder
  • conditions *driver.Conditions

type CompileOffsetGrammar

type CompileOffsetGrammar struct {
	mock.Mock
}

CompileOffsetGrammar is an autogenerated mock type for the CompileOffsetGrammar type

func NewCompileOffsetGrammar

func NewCompileOffsetGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *CompileOffsetGrammar

NewCompileOffsetGrammar creates a new instance of CompileOffsetGrammar. 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 (*CompileOffsetGrammar) CompileOffset

func (_m *CompileOffsetGrammar) CompileOffset(builder squirrel.SelectBuilder, conditions *driver.Conditions) squirrel.SelectBuilder

CompileOffset provides a mock function with given fields: builder, conditions

func (*CompileOffsetGrammar) EXPECT

type CompileOffsetGrammar_CompileOffset_Call

type CompileOffsetGrammar_CompileOffset_Call struct {
	*mock.Call
}

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

func (*CompileOffsetGrammar_CompileOffset_Call) Return

func (*CompileOffsetGrammar_CompileOffset_Call) Run

type CompileOffsetGrammar_Expecter

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

func (*CompileOffsetGrammar_Expecter) CompileOffset

func (_e *CompileOffsetGrammar_Expecter) CompileOffset(builder interface{}, conditions interface{}) *CompileOffsetGrammar_CompileOffset_Call

CompileOffset is a helper method to define mock.On call

  • builder squirrel.SelectBuilder
  • conditions *driver.Conditions

type CompileOrderByGrammar

type CompileOrderByGrammar struct {
	mock.Mock
}

CompileOrderByGrammar is an autogenerated mock type for the CompileOrderByGrammar type

func NewCompileOrderByGrammar

func NewCompileOrderByGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *CompileOrderByGrammar

NewCompileOrderByGrammar creates a new instance of CompileOrderByGrammar. 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 (*CompileOrderByGrammar) CompileOrderBy

func (_m *CompileOrderByGrammar) CompileOrderBy(builder squirrel.SelectBuilder, conditions *driver.Conditions) squirrel.SelectBuilder

CompileOrderBy provides a mock function with given fields: builder, conditions

func (*CompileOrderByGrammar) EXPECT

type CompileOrderByGrammar_CompileOrderBy_Call

type CompileOrderByGrammar_CompileOrderBy_Call struct {
	*mock.Call
}

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

func (*CompileOrderByGrammar_CompileOrderBy_Call) Return

func (*CompileOrderByGrammar_CompileOrderBy_Call) Run

type CompileOrderByGrammar_Expecter

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

func (*CompileOrderByGrammar_Expecter) CompileOrderBy

func (_e *CompileOrderByGrammar_Expecter) CompileOrderBy(builder interface{}, conditions interface{}) *CompileOrderByGrammar_CompileOrderBy_Call

CompileOrderBy is a helper method to define mock.On call

  • builder squirrel.SelectBuilder
  • conditions *driver.Conditions

type DBGrammar

type DBGrammar struct {
	mock.Mock
}

DBGrammar is an autogenerated mock type for the DBGrammar type

func NewDBGrammar

func NewDBGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *DBGrammar

NewDBGrammar creates a new instance of DBGrammar. 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 (*DBGrammar) CompileInRandomOrder

func (_m *DBGrammar) CompileInRandomOrder(builder squirrel.SelectBuilder, conditions *driver.Conditions) squirrel.SelectBuilder

CompileInRandomOrder provides a mock function with given fields: builder, conditions

func (*DBGrammar) CompileLockForUpdate

func (_m *DBGrammar) CompileLockForUpdate(builder squirrel.SelectBuilder, conditions *driver.Conditions) squirrel.SelectBuilder

CompileLockForUpdate provides a mock function with given fields: builder, conditions

func (*DBGrammar) CompilePlaceholderFormat

func (_m *DBGrammar) CompilePlaceholderFormat() driver.PlaceholderFormat

CompilePlaceholderFormat provides a mock function with no fields

func (*DBGrammar) CompileSharedLock

func (_m *DBGrammar) CompileSharedLock(builder squirrel.SelectBuilder, conditions *driver.Conditions) squirrel.SelectBuilder

CompileSharedLock provides a mock function with given fields: builder, conditions

func (*DBGrammar) CompileVersion

func (_m *DBGrammar) CompileVersion() string

CompileVersion provides a mock function with no fields

func (*DBGrammar) EXPECT

func (_m *DBGrammar) EXPECT() *DBGrammar_Expecter

type DBGrammar_CompileInRandomOrder_Call

type DBGrammar_CompileInRandomOrder_Call struct {
	*mock.Call
}

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

func (*DBGrammar_CompileInRandomOrder_Call) Return

func (*DBGrammar_CompileInRandomOrder_Call) Run

type DBGrammar_CompileLockForUpdate_Call

type DBGrammar_CompileLockForUpdate_Call struct {
	*mock.Call
}

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

func (*DBGrammar_CompileLockForUpdate_Call) Return

func (*DBGrammar_CompileLockForUpdate_Call) Run

type DBGrammar_CompilePlaceholderFormat_Call

type DBGrammar_CompilePlaceholderFormat_Call struct {
	*mock.Call
}

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

func (*DBGrammar_CompilePlaceholderFormat_Call) Return

func (*DBGrammar_CompilePlaceholderFormat_Call) Run

func (*DBGrammar_CompilePlaceholderFormat_Call) RunAndReturn

type DBGrammar_CompileSharedLock_Call

type DBGrammar_CompileSharedLock_Call struct {
	*mock.Call
}

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

func (*DBGrammar_CompileSharedLock_Call) Return

func (*DBGrammar_CompileSharedLock_Call) Run

type DBGrammar_CompileVersion_Call

type DBGrammar_CompileVersion_Call struct {
	*mock.Call
}

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

func (*DBGrammar_CompileVersion_Call) Return

func (*DBGrammar_CompileVersion_Call) Run

func (*DBGrammar_CompileVersion_Call) RunAndReturn

type DBGrammar_Expecter

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

func (*DBGrammar_Expecter) CompileInRandomOrder

func (_e *DBGrammar_Expecter) CompileInRandomOrder(builder interface{}, conditions interface{}) *DBGrammar_CompileInRandomOrder_Call

CompileInRandomOrder is a helper method to define mock.On call

  • builder squirrel.SelectBuilder
  • conditions *driver.Conditions

func (*DBGrammar_Expecter) CompileLockForUpdate

func (_e *DBGrammar_Expecter) CompileLockForUpdate(builder interface{}, conditions interface{}) *DBGrammar_CompileLockForUpdate_Call

CompileLockForUpdate is a helper method to define mock.On call

  • builder squirrel.SelectBuilder
  • conditions *driver.Conditions

func (*DBGrammar_Expecter) CompilePlaceholderFormat

func (_e *DBGrammar_Expecter) CompilePlaceholderFormat() *DBGrammar_CompilePlaceholderFormat_Call

CompilePlaceholderFormat is a helper method to define mock.On call

func (*DBGrammar_Expecter) CompileSharedLock

func (_e *DBGrammar_Expecter) CompileSharedLock(builder interface{}, conditions interface{}) *DBGrammar_CompileSharedLock_Call

CompileSharedLock is a helper method to define mock.On call

  • builder squirrel.SelectBuilder
  • conditions *driver.Conditions

func (*DBGrammar_Expecter) CompileVersion

func (_e *DBGrammar_Expecter) CompileVersion() *DBGrammar_CompileVersion_Call

CompileVersion is a helper method to define mock.On call

type Dialect

type Dialect struct {
	mock.Mock
}

Dialect is an autogenerated mock type for the Dialect type

func NewDialect

func NewDialect(t interface {
	mock.TestingT
	Cleanup(func())
}) *Dialect

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

func (_m *Dialect) EXPECT() *Dialect_Expecter

func (*Dialect) Name

func (_m *Dialect) Name() string

Name provides a mock function with no fields

func (*Dialect) NewConnector

func (_m *Dialect) NewConnector(_a0 database.Config) (sqldriver.Connector, error)

NewConnector provides a mock function with given fields: _a0

func (*Dialect) NewProcessor

func (_m *Dialect) NewProcessor() query.Processor

NewProcessor provides a mock function with no fields

func (*Dialect) NewQueryGrammar

func (_m *Dialect) NewQueryGrammar(_a0 driver.GrammarOptions) query.Grammar

NewQueryGrammar provides a mock function with given fields: _a0

type DialectWithEscaper

type DialectWithEscaper struct {
	mock.Mock
}

DialectWithEscaper is an autogenerated mock type for the DialectWithEscaper type

func NewDialectWithEscaper

func NewDialectWithEscaper(t interface {
	mock.TestingT
	Cleanup(func())
}) *DialectWithEscaper

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

func (*DialectWithEscaper) Escape

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

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

type DialectWithEscaper_Escape_Call

type DialectWithEscaper_Escape_Call struct {
	*mock.Call
}

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

func (*DialectWithEscaper_Escape_Call) Return

func (*DialectWithEscaper_Escape_Call) Run

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

func (*DialectWithEscaper_Escape_Call) RunAndReturn

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

type DialectWithEscaper_Expecter

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

func (*DialectWithEscaper_Expecter) Escape

func (_e *DialectWithEscaper_Expecter) Escape(value interface{}, binary interface{}) *DialectWithEscaper_Escape_Call

Escape is a helper method to define mock.On call

  • value interface{}
  • binary bool

type DialectWithServerVersion

type DialectWithServerVersion struct {
	mock.Mock
}

DialectWithServerVersion is an autogenerated mock type for the DialectWithServerVersion type

func NewDialectWithServerVersion

func NewDialectWithServerVersion(t interface {
	mock.TestingT
	Cleanup(func())
}) *DialectWithServerVersion

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

func (*DialectWithServerVersion) ServerVersionSQL

func (_m *DialectWithServerVersion) ServerVersionSQL() string

ServerVersionSQL provides a mock function with no fields

type DialectWithServerVersion_Expecter

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

func (*DialectWithServerVersion_Expecter) ServerVersionSQL

ServerVersionSQL is a helper method to define mock.On call

type DialectWithServerVersion_ServerVersionSQL_Call

type DialectWithServerVersion_ServerVersionSQL_Call struct {
	*mock.Call
}

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

func (*DialectWithServerVersion_ServerVersionSQL_Call) Return

func (*DialectWithServerVersion_ServerVersionSQL_Call) Run

func (*DialectWithServerVersion_ServerVersionSQL_Call) RunAndReturn

type Dialect_Expecter

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

func (*Dialect_Expecter) Name

func (_e *Dialect_Expecter) Name() *Dialect_Name_Call

Name is a helper method to define mock.On call

func (*Dialect_Expecter) NewConnector

func (_e *Dialect_Expecter) NewConnector(_a0 interface{}) *Dialect_NewConnector_Call

NewConnector is a helper method to define mock.On call

  • _a0 database.Config

func (*Dialect_Expecter) NewProcessor

func (_e *Dialect_Expecter) NewProcessor() *Dialect_NewProcessor_Call

NewProcessor is a helper method to define mock.On call

func (*Dialect_Expecter) NewQueryGrammar

func (_e *Dialect_Expecter) NewQueryGrammar(_a0 interface{}) *Dialect_NewQueryGrammar_Call

NewQueryGrammar is a helper method to define mock.On call

  • _a0 driver.GrammarOptions

type Dialect_Name_Call

type Dialect_Name_Call struct {
	*mock.Call
}

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

func (*Dialect_Name_Call) Return

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

func (*Dialect_Name_Call) Run

func (_c *Dialect_Name_Call) Run(run func()) *Dialect_Name_Call

func (*Dialect_Name_Call) RunAndReturn

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

type Dialect_NewConnector_Call

type Dialect_NewConnector_Call struct {
	*mock.Call
}

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

func (*Dialect_NewConnector_Call) Return

func (*Dialect_NewConnector_Call) Run

func (*Dialect_NewConnector_Call) RunAndReturn

type Dialect_NewProcessor_Call

type Dialect_NewProcessor_Call struct {
	*mock.Call
}

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

func (*Dialect_NewProcessor_Call) Return

func (*Dialect_NewProcessor_Call) Run

func (*Dialect_NewProcessor_Call) RunAndReturn

type Dialect_NewQueryGrammar_Call

type Dialect_NewQueryGrammar_Call struct {
	*mock.Call
}

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

func (*Dialect_NewQueryGrammar_Call) Return

func (*Dialect_NewQueryGrammar_Call) Run

func (*Dialect_NewQueryGrammar_Call) RunAndReturn

type Driver

type Driver struct {
	mock.Mock
}

Driver is an autogenerated mock type for the Driver type

func NewDriver

func NewDriver(t interface {
	mock.TestingT
	Cleanup(func())
}) *Driver

NewDriver creates a new instance of Driver. 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 (*Driver) Docker

func (_m *Driver) Docker() (docker.DatabaseDriver, error)

Docker provides a mock function with no fields

func (*Driver) EXPECT

func (_m *Driver) EXPECT() *Driver_Expecter

func (*Driver) Grammar

func (_m *Driver) Grammar() driver.Grammar

Grammar provides a mock function with no fields

func (*Driver) Pool

func (_m *Driver) Pool() database.Pool

Pool provides a mock function with no fields

func (*Driver) Processor

func (_m *Driver) Processor() driver.Processor

Processor provides a mock function with no fields

type DriverWithDialect

type DriverWithDialect struct {
	mock.Mock
}

DriverWithDialect is an autogenerated mock type for the DriverWithDialect type

func NewDriverWithDialect

func NewDriverWithDialect(t interface {
	mock.TestingT
	Cleanup(func())
}) *DriverWithDialect

NewDriverWithDialect creates a new instance of DriverWithDialect. 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 (*DriverWithDialect) Dialect

func (_m *DriverWithDialect) Dialect() driver.Dialect

Dialect provides a mock function with no fields

func (*DriverWithDialect) EXPECT

type DriverWithDialect_Dialect_Call

type DriverWithDialect_Dialect_Call struct {
	*mock.Call
}

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

func (*DriverWithDialect_Dialect_Call) Return

func (*DriverWithDialect_Dialect_Call) Run

func (*DriverWithDialect_Dialect_Call) RunAndReturn

type DriverWithDialect_Expecter

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

func (*DriverWithDialect_Expecter) Dialect

Dialect is a helper method to define mock.On call

type DriverWithServerVersion

type DriverWithServerVersion struct {
	mock.Mock
}

DriverWithServerVersion is an autogenerated mock type for the DriverWithServerVersion type

func NewDriverWithServerVersion

func NewDriverWithServerVersion(t interface {
	mock.TestingT
	Cleanup(func())
}) *DriverWithServerVersion

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

func (*DriverWithServerVersion) SetServerVersion

func (_m *DriverWithServerVersion) SetServerVersion(_a0 func() (string, error))

SetServerVersion provides a mock function with given fields: _a0

type DriverWithServerVersion_Expecter

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

func (*DriverWithServerVersion_Expecter) SetServerVersion

SetServerVersion is a helper method to define mock.On call

  • _a0 func()(string , error)

type DriverWithServerVersion_SetServerVersion_Call

type DriverWithServerVersion_SetServerVersion_Call struct {
	*mock.Call
}

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

func (*DriverWithServerVersion_SetServerVersion_Call) Return

func (*DriverWithServerVersion_SetServerVersion_Call) Run

func (*DriverWithServerVersion_SetServerVersion_Call) RunAndReturn

type Driver_Docker_Call

type Driver_Docker_Call struct {
	*mock.Call
}

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

func (*Driver_Docker_Call) Return

func (*Driver_Docker_Call) Run

func (_c *Driver_Docker_Call) Run(run func()) *Driver_Docker_Call

func (*Driver_Docker_Call) RunAndReturn

func (_c *Driver_Docker_Call) RunAndReturn(run func() (docker.DatabaseDriver, error)) *Driver_Docker_Call

type Driver_Expecter

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

func (*Driver_Expecter) Docker

func (_e *Driver_Expecter) Docker() *Driver_Docker_Call

Docker is a helper method to define mock.On call

func (*Driver_Expecter) Grammar

func (_e *Driver_Expecter) Grammar() *Driver_Grammar_Call

Grammar is a helper method to define mock.On call

func (*Driver_Expecter) Pool

func (_e *Driver_Expecter) Pool() *Driver_Pool_Call

Pool is a helper method to define mock.On call

func (*Driver_Expecter) Processor

func (_e *Driver_Expecter) Processor() *Driver_Processor_Call

Processor is a helper method to define mock.On call

type Driver_Grammar_Call

type Driver_Grammar_Call struct {
	*mock.Call
}

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

func (*Driver_Grammar_Call) Return

func (*Driver_Grammar_Call) Run

func (_c *Driver_Grammar_Call) Run(run func()) *Driver_Grammar_Call

func (*Driver_Grammar_Call) RunAndReturn

func (_c *Driver_Grammar_Call) RunAndReturn(run func() driver.Grammar) *Driver_Grammar_Call

type Driver_Pool_Call

type Driver_Pool_Call struct {
	*mock.Call
}

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

func (*Driver_Pool_Call) Return

func (*Driver_Pool_Call) Run

func (_c *Driver_Pool_Call) Run(run func()) *Driver_Pool_Call

func (*Driver_Pool_Call) RunAndReturn

func (_c *Driver_Pool_Call) RunAndReturn(run func() database.Pool) *Driver_Pool_Call

type Driver_Processor_Call

type Driver_Processor_Call struct {
	*mock.Call
}

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

func (*Driver_Processor_Call) Return

func (*Driver_Processor_Call) Run

func (_c *Driver_Processor_Call) Run(run func()) *Driver_Processor_Call

func (*Driver_Processor_Call) RunAndReturn

func (_c *Driver_Processor_Call) RunAndReturn(run func() driver.Processor) *Driver_Processor_Call

type Grammar

type Grammar struct {
	mock.Mock
}

Grammar is an autogenerated mock type for the Grammar type

func NewGrammar

func NewGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *Grammar

NewGrammar creates a new instance of Grammar. 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 (*Grammar) CompileAdd

func (_m *Grammar) CompileAdd(blueprint driver.Blueprint, command *driver.Command) string

CompileAdd provides a mock function with given fields: blueprint, command

func (*Grammar) CompileChange

func (_m *Grammar) CompileChange(blueprint driver.Blueprint, command *driver.Command) []string

CompileChange provides a mock function with given fields: blueprint, command

func (*Grammar) CompileColumns

func (_m *Grammar) CompileColumns(schema string, table string) (string, error)

CompileColumns provides a mock function with given fields: schema, table

func (*Grammar) CompileComment

func (_m *Grammar) CompileComment(blueprint driver.Blueprint, command *driver.Command) string

CompileComment provides a mock function with given fields: blueprint, command

func (*Grammar) CompileCreate

func (_m *Grammar) CompileCreate(blueprint driver.Blueprint) string

CompileCreate provides a mock function with given fields: blueprint

func (*Grammar) CompileDefault

func (_m *Grammar) CompileDefault(blueprint driver.Blueprint, command *driver.Command) string

CompileDefault provides a mock function with given fields: blueprint, command

func (*Grammar) CompileDrop

func (_m *Grammar) CompileDrop(blueprint driver.Blueprint) string

CompileDrop provides a mock function with given fields: blueprint

func (*Grammar) CompileDropAllTables

func (_m *Grammar) CompileDropAllTables(schema string, tables []driver.Table) []string

CompileDropAllTables provides a mock function with given fields: schema, tables

func (*Grammar) CompileDropAllTypes

func (_m *Grammar) CompileDropAllTypes(schema string, types []driver.Type) []string

CompileDropAllTypes provides a mock function with given fields: schema, types

func (*Grammar) CompileDropAllViews

func (_m *Grammar) CompileDropAllViews(schema string, views []driver.View) []string

CompileDropAllViews provides a mock function with given fields: schema, views

func (*Grammar) CompileDropColumn

func (_m *Grammar) CompileDropColumn(blueprint driver.Blueprint, command *driver.Command) []string

CompileDropColumn provides a mock function with given fields: blueprint, command

func (*Grammar) CompileDropForeign

func (_m *Grammar) CompileDropForeign(blueprint driver.Blueprint, command *driver.Command) string

CompileDropForeign provides a mock function with given fields: blueprint, command

func (*Grammar) CompileDropFullText

func (_m *Grammar) CompileDropFullText(blueprint driver.Blueprint, command *driver.Command) string

CompileDropFullText provides a mock function with given fields: blueprint, command

func (*Grammar) CompileDropIfExists

func (_m *Grammar) CompileDropIfExists(blueprint driver.Blueprint) string

CompileDropIfExists provides a mock function with given fields: blueprint

func (*Grammar) CompileDropIndex

func (_m *Grammar) CompileDropIndex(blueprint driver.Blueprint, command *driver.Command) string

CompileDropIndex provides a mock function with given fields: blueprint, command

func (*Grammar) CompileDropPrimary

func (_m *Grammar) CompileDropPrimary(blueprint driver.Blueprint, command *driver.Command) string

CompileDropPrimary provides a mock function with given fields: blueprint, command

func (*Grammar) CompileDropUnique

func (_m *Grammar) CompileDropUnique(blueprint driver.Blueprint, command *driver.Command) string

CompileDropUnique provides a mock function with given fields: blueprint, command

func (*Grammar) CompileForeign

func (_m *Grammar) CompileForeign(blueprint driver.Blueprint, command *driver.Command) string

CompileForeign provides a mock function with given fields: blueprint, command

func (*Grammar) CompileForeignKeys

func (_m *Grammar) CompileForeignKeys(schema string, table string) string

CompileForeignKeys provides a mock function with given fields: schema, table

func (*Grammar) CompileFullText

func (_m *Grammar) CompileFullText(blueprint driver.Blueprint, command *driver.Command) string

CompileFullText provides a mock function with given fields: blueprint, command

func (*Grammar) CompileInRandomOrder

func (_m *Grammar) CompileInRandomOrder(builder squirrel.SelectBuilder, conditions *driver.Conditions) squirrel.SelectBuilder

CompileInRandomOrder provides a mock function with given fields: builder, conditions

func (*Grammar) CompileIndex

func (_m *Grammar) CompileIndex(blueprint driver.Blueprint, command *driver.Command) string

CompileIndex provides a mock function with given fields: blueprint, command

func (*Grammar) CompileIndexes

func (_m *Grammar) CompileIndexes(schema string, table string) (string, error)

CompileIndexes provides a mock function with given fields: schema, table

func (*Grammar) CompileJsonColumnsUpdate

func (_m *Grammar) CompileJsonColumnsUpdate(values map[string]interface{}) (map[string]interface{}, error)

CompileJsonColumnsUpdate provides a mock function with given fields: values

func (*Grammar) CompileJsonContains

func (_m *Grammar) CompileJsonContains(column string, value interface{}, isNot bool) (string, []interface{}, error)

CompileJsonContains provides a mock function with given fields: column, value, isNot

func (*Grammar) CompileJsonContainsKey

func (_m *Grammar) CompileJsonContainsKey(column string, isNot bool) string

CompileJsonContainsKey provides a mock function with given fields: column, isNot

func (*Grammar) CompileJsonLength

func (_m *Grammar) CompileJsonLength(column string) string

CompileJsonLength provides a mock function with given fields: column

func (*Grammar) CompileJsonSelector

func (_m *Grammar) CompileJsonSelector(column string) string

CompileJsonSelector provides a mock function with given fields: column

func (*Grammar) CompileJsonValues

func (_m *Grammar) CompileJsonValues(args ...interface{}) []interface{}

CompileJsonValues provides a mock function with given fields: args

func (*Grammar) CompileLockForUpdate

func (_m *Grammar) CompileLockForUpdate(builder squirrel.SelectBuilder, conditions *driver.Conditions) squirrel.SelectBuilder

CompileLockForUpdate provides a mock function with given fields: builder, conditions

func (*Grammar) CompilePlaceholderFormat

func (_m *Grammar) CompilePlaceholderFormat() driver.PlaceholderFormat

CompilePlaceholderFormat provides a mock function with no fields

func (*Grammar) CompilePrimary

func (_m *Grammar) CompilePrimary(blueprint driver.Blueprint, command *driver.Command) string

CompilePrimary provides a mock function with given fields: blueprint, command

func (*Grammar) CompilePrune

func (_m *Grammar) CompilePrune(database string) string

CompilePrune provides a mock function with given fields: database

func (*Grammar) CompileRename

func (_m *Grammar) CompileRename(blueprint driver.Blueprint, command *driver.Command) string

CompileRename provides a mock function with given fields: blueprint, command

func (*Grammar) CompileRenameColumn

func (_m *Grammar) CompileRenameColumn(blueprint driver.Blueprint, command *driver.Command, columns []driver.Column) (string, error)

CompileRenameColumn provides a mock function with given fields: blueprint, command, columns

func (*Grammar) CompileRenameIndex

func (_m *Grammar) CompileRenameIndex(blueprint driver.Blueprint, command *driver.Command, indexes []driver.Index) []string

CompileRenameIndex provides a mock function with given fields: blueprint, command, indexes

func (*Grammar) CompileSharedLock

func (_m *Grammar) CompileSharedLock(builder squirrel.SelectBuilder, conditions *driver.Conditions) squirrel.SelectBuilder

CompileSharedLock provides a mock function with given fields: builder, conditions

func (*Grammar) CompileTableComment

func (_m *Grammar) CompileTableComment(blueprint driver.Blueprint, command *driver.Command) string

CompileTableComment provides a mock function with given fields: blueprint, command

func (*Grammar) CompileTables

func (_m *Grammar) CompileTables(database string) string

CompileTables provides a mock function with given fields: database

func (*Grammar) CompileTypes

func (_m *Grammar) CompileTypes() string

CompileTypes provides a mock function with no fields

func (*Grammar) CompileUnique

func (_m *Grammar) CompileUnique(blueprint driver.Blueprint, command *driver.Command) string

CompileUnique provides a mock function with given fields: blueprint, command

func (*Grammar) CompileVersion

func (_m *Grammar) CompileVersion() string

CompileVersion provides a mock function with no fields

func (*Grammar) CompileViews

func (_m *Grammar) CompileViews(database string) string

CompileViews provides a mock function with given fields: database

func (*Grammar) EXPECT

func (_m *Grammar) EXPECT() *Grammar_Expecter

func (*Grammar) GetAttributeCommands

func (_m *Grammar) GetAttributeCommands() []string

GetAttributeCommands provides a mock function with no fields

func (*Grammar) TypeBigInteger

func (_m *Grammar) TypeBigInteger(column driver.ColumnDefinition) string

TypeBigInteger provides a mock function with given fields: column

func (*Grammar) TypeBoolean

func (_m *Grammar) TypeBoolean(column driver.ColumnDefinition) string

TypeBoolean provides a mock function with given fields: column

func (*Grammar) TypeChar

func (_m *Grammar) TypeChar(column driver.ColumnDefinition) string

TypeChar provides a mock function with given fields: column

func (*Grammar) TypeDate

func (_m *Grammar) TypeDate(column driver.ColumnDefinition) string

TypeDate provides a mock function with given fields: column

func (*Grammar) TypeDateTime

func (_m *Grammar) TypeDateTime(column driver.ColumnDefinition) string

TypeDateTime provides a mock function with given fields: column

func (*Grammar) TypeDateTimeTz

func (_m *Grammar) TypeDateTimeTz(column driver.ColumnDefinition) string

TypeDateTimeTz provides a mock function with given fields: column

func (*Grammar) TypeDecimal

func (_m *Grammar) TypeDecimal(column driver.ColumnDefinition) string

TypeDecimal provides a mock function with given fields: column

func (*Grammar) TypeDouble

func (_m *Grammar) TypeDouble(column driver.ColumnDefinition) string

TypeDouble provides a mock function with given fields: column

func (*Grammar) TypeEnum

func (_m *Grammar) TypeEnum(column driver.ColumnDefinition) string

TypeEnum provides a mock function with given fields: column

func (*Grammar) TypeFloat

func (_m *Grammar) TypeFloat(column driver.ColumnDefinition) string

TypeFloat provides a mock function with given fields: column

func (*Grammar) TypeInteger

func (_m *Grammar) TypeInteger(column driver.ColumnDefinition) string

TypeInteger provides a mock function with given fields: column

func (*Grammar) TypeJson

func (_m *Grammar) TypeJson(column driver.ColumnDefinition) string

TypeJson provides a mock function with given fields: column

func (*Grammar) TypeJsonb

func (_m *Grammar) TypeJsonb(column driver.ColumnDefinition) string

TypeJsonb provides a mock function with given fields: column

func (*Grammar) TypeLongText

func (_m *Grammar) TypeLongText(column driver.ColumnDefinition) string

TypeLongText provides a mock function with given fields: column

func (*Grammar) TypeMediumInteger

func (_m *Grammar) TypeMediumInteger(column driver.ColumnDefinition) string

TypeMediumInteger provides a mock function with given fields: column

func (*Grammar) TypeMediumText

func (_m *Grammar) TypeMediumText(column driver.ColumnDefinition) string

TypeMediumText provides a mock function with given fields: column

func (*Grammar) TypeSmallInteger

func (_m *Grammar) TypeSmallInteger(column driver.ColumnDefinition) string

TypeSmallInteger provides a mock function with given fields: column

func (*Grammar) TypeString

func (_m *Grammar) TypeString(column driver.ColumnDefinition) string

TypeString provides a mock function with given fields: column

func (*Grammar) TypeText

func (_m *Grammar) TypeText(column driver.ColumnDefinition) string

TypeText provides a mock function with given fields: column

func (*Grammar) TypeTime

func (_m *Grammar) TypeTime(column driver.ColumnDefinition) string

TypeTime provides a mock function with given fields: column

func (*Grammar) TypeTimeTz

func (_m *Grammar) TypeTimeTz(column driver.ColumnDefinition) string

TypeTimeTz provides a mock function with given fields: column

func (*Grammar) TypeTimestamp

func (_m *Grammar) TypeTimestamp(column driver.ColumnDefinition) string

TypeTimestamp provides a mock function with given fields: column

func (*Grammar) TypeTimestampTz

func (_m *Grammar) TypeTimestampTz(column driver.ColumnDefinition) string

TypeTimestampTz provides a mock function with given fields: column

func (*Grammar) TypeTinyInteger

func (_m *Grammar) TypeTinyInteger(column driver.ColumnDefinition) string

TypeTinyInteger provides a mock function with given fields: column

func (*Grammar) TypeTinyText

func (_m *Grammar) TypeTinyText(column driver.ColumnDefinition) string

TypeTinyText provides a mock function with given fields: column

func (*Grammar) TypeUuid

func (_m *Grammar) TypeUuid(column driver.ColumnDefinition) string

TypeUuid provides a mock function with given fields: column

type Grammar_CompileAdd_Call

type Grammar_CompileAdd_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileAdd_Call) Return

func (*Grammar_CompileAdd_Call) Run

func (_c *Grammar_CompileAdd_Call) Run(run func(blueprint driver.Blueprint, command *driver.Command)) *Grammar_CompileAdd_Call

func (*Grammar_CompileAdd_Call) RunAndReturn

type Grammar_CompileChange_Call

type Grammar_CompileChange_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileChange_Call) Return

func (*Grammar_CompileChange_Call) Run

func (_c *Grammar_CompileChange_Call) Run(run func(blueprint driver.Blueprint, command *driver.Command)) *Grammar_CompileChange_Call

func (*Grammar_CompileChange_Call) RunAndReturn

type Grammar_CompileColumns_Call

type Grammar_CompileColumns_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileColumns_Call) Return

func (*Grammar_CompileColumns_Call) Run

func (_c *Grammar_CompileColumns_Call) Run(run func(schema string, table string)) *Grammar_CompileColumns_Call

func (*Grammar_CompileColumns_Call) RunAndReturn

type Grammar_CompileComment_Call

type Grammar_CompileComment_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileComment_Call) Return

func (*Grammar_CompileComment_Call) Run

func (*Grammar_CompileComment_Call) RunAndReturn

type Grammar_CompileCreate_Call

type Grammar_CompileCreate_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileCreate_Call) Return

func (*Grammar_CompileCreate_Call) Run

func (*Grammar_CompileCreate_Call) RunAndReturn

type Grammar_CompileDefault_Call

type Grammar_CompileDefault_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDefault_Call) Return

func (*Grammar_CompileDefault_Call) Run

func (*Grammar_CompileDefault_Call) RunAndReturn

type Grammar_CompileDropAllTables_Call

type Grammar_CompileDropAllTables_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropAllTables_Call) Return

func (*Grammar_CompileDropAllTables_Call) Run

func (*Grammar_CompileDropAllTables_Call) RunAndReturn

type Grammar_CompileDropAllTypes_Call

type Grammar_CompileDropAllTypes_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropAllTypes_Call) Return

func (*Grammar_CompileDropAllTypes_Call) Run

func (*Grammar_CompileDropAllTypes_Call) RunAndReturn

type Grammar_CompileDropAllViews_Call

type Grammar_CompileDropAllViews_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropAllViews_Call) Return

func (*Grammar_CompileDropAllViews_Call) Run

func (*Grammar_CompileDropAllViews_Call) RunAndReturn

type Grammar_CompileDropColumn_Call

type Grammar_CompileDropColumn_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropColumn_Call) Return

func (*Grammar_CompileDropColumn_Call) Run

func (*Grammar_CompileDropColumn_Call) RunAndReturn

type Grammar_CompileDropForeign_Call

type Grammar_CompileDropForeign_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropForeign_Call) Return

func (*Grammar_CompileDropForeign_Call) Run

func (*Grammar_CompileDropForeign_Call) RunAndReturn

type Grammar_CompileDropFullText_Call

type Grammar_CompileDropFullText_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropFullText_Call) Return

func (*Grammar_CompileDropFullText_Call) Run

func (*Grammar_CompileDropFullText_Call) RunAndReturn

type Grammar_CompileDropIfExists_Call

type Grammar_CompileDropIfExists_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropIfExists_Call) Return

func (*Grammar_CompileDropIfExists_Call) Run

func (*Grammar_CompileDropIfExists_Call) RunAndReturn

type Grammar_CompileDropIndex_Call

type Grammar_CompileDropIndex_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropIndex_Call) Return

func (*Grammar_CompileDropIndex_Call) Run

func (*Grammar_CompileDropIndex_Call) RunAndReturn

type Grammar_CompileDropPrimary_Call

type Grammar_CompileDropPrimary_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropPrimary_Call) Return

func (*Grammar_CompileDropPrimary_Call) Run

func (*Grammar_CompileDropPrimary_Call) RunAndReturn

type Grammar_CompileDropUnique_Call

type Grammar_CompileDropUnique_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDropUnique_Call) Return

func (*Grammar_CompileDropUnique_Call) Run

func (*Grammar_CompileDropUnique_Call) RunAndReturn

type Grammar_CompileDrop_Call

type Grammar_CompileDrop_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileDrop_Call) Return

func (*Grammar_CompileDrop_Call) Run

func (_c *Grammar_CompileDrop_Call) Run(run func(blueprint driver.Blueprint)) *Grammar_CompileDrop_Call

func (*Grammar_CompileDrop_Call) RunAndReturn

type Grammar_CompileForeignKeys_Call

type Grammar_CompileForeignKeys_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileForeignKeys_Call) Return

func (*Grammar_CompileForeignKeys_Call) Run

func (*Grammar_CompileForeignKeys_Call) RunAndReturn

type Grammar_CompileForeign_Call

type Grammar_CompileForeign_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileForeign_Call) Return

func (*Grammar_CompileForeign_Call) Run

func (*Grammar_CompileForeign_Call) RunAndReturn

type Grammar_CompileFullText_Call

type Grammar_CompileFullText_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileFullText_Call) Return

func (*Grammar_CompileFullText_Call) Run

func (*Grammar_CompileFullText_Call) RunAndReturn

type Grammar_CompileInRandomOrder_Call

type Grammar_CompileInRandomOrder_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileInRandomOrder_Call) Return

func (*Grammar_CompileInRandomOrder_Call) Run

type Grammar_CompileIndex_Call

type Grammar_CompileIndex_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileIndex_Call) Return

func (*Grammar_CompileIndex_Call) Run

func (_c *Grammar_CompileIndex_Call) Run(run func(blueprint driver.Blueprint, command *driver.Command)) *Grammar_CompileIndex_Call

func (*Grammar_CompileIndex_Call) RunAndReturn

type Grammar_CompileIndexes_Call

type Grammar_CompileIndexes_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileIndexes_Call) Return

func (*Grammar_CompileIndexes_Call) Run

func (_c *Grammar_CompileIndexes_Call) Run(run func(schema string, table string)) *Grammar_CompileIndexes_Call

func (*Grammar_CompileIndexes_Call) RunAndReturn

type Grammar_CompileJsonColumnsUpdate_Call

type Grammar_CompileJsonColumnsUpdate_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileJsonColumnsUpdate_Call) Return

func (*Grammar_CompileJsonColumnsUpdate_Call) Run

func (_c *Grammar_CompileJsonColumnsUpdate_Call) Run(run func(values map[string]interface{})) *Grammar_CompileJsonColumnsUpdate_Call

func (*Grammar_CompileJsonColumnsUpdate_Call) RunAndReturn

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

type Grammar_CompileJsonContainsKey_Call

type Grammar_CompileJsonContainsKey_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileJsonContainsKey_Call) Return

func (*Grammar_CompileJsonContainsKey_Call) Run

func (*Grammar_CompileJsonContainsKey_Call) RunAndReturn

type Grammar_CompileJsonContains_Call

type Grammar_CompileJsonContains_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileJsonContains_Call) Return

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

func (*Grammar_CompileJsonContains_Call) Run

func (_c *Grammar_CompileJsonContains_Call) Run(run func(column string, value interface{}, isNot bool)) *Grammar_CompileJsonContains_Call

func (*Grammar_CompileJsonContains_Call) RunAndReturn

func (_c *Grammar_CompileJsonContains_Call) RunAndReturn(run func(string, interface{}, bool) (string, []interface{}, error)) *Grammar_CompileJsonContains_Call

type Grammar_CompileJsonLength_Call

type Grammar_CompileJsonLength_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileJsonLength_Call) Return

func (*Grammar_CompileJsonLength_Call) Run

func (*Grammar_CompileJsonLength_Call) RunAndReturn

type Grammar_CompileJsonSelector_Call

type Grammar_CompileJsonSelector_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileJsonSelector_Call) Return

func (*Grammar_CompileJsonSelector_Call) Run

func (*Grammar_CompileJsonSelector_Call) RunAndReturn

type Grammar_CompileJsonValues_Call

type Grammar_CompileJsonValues_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileJsonValues_Call) Return

func (_c *Grammar_CompileJsonValues_Call) Return(_a0 []interface{}) *Grammar_CompileJsonValues_Call

func (*Grammar_CompileJsonValues_Call) Run

func (_c *Grammar_CompileJsonValues_Call) Run(run func(args ...interface{})) *Grammar_CompileJsonValues_Call

func (*Grammar_CompileJsonValues_Call) RunAndReturn

func (_c *Grammar_CompileJsonValues_Call) RunAndReturn(run func(...interface{}) []interface{}) *Grammar_CompileJsonValues_Call

type Grammar_CompileLockForUpdate_Call

type Grammar_CompileLockForUpdate_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileLockForUpdate_Call) Return

func (*Grammar_CompileLockForUpdate_Call) Run

type Grammar_CompilePlaceholderFormat_Call

type Grammar_CompilePlaceholderFormat_Call struct {
	*mock.Call
}

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

func (*Grammar_CompilePlaceholderFormat_Call) Return

func (*Grammar_CompilePlaceholderFormat_Call) Run

func (*Grammar_CompilePlaceholderFormat_Call) RunAndReturn

type Grammar_CompilePrimary_Call

type Grammar_CompilePrimary_Call struct {
	*mock.Call
}

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

func (*Grammar_CompilePrimary_Call) Return

func (*Grammar_CompilePrimary_Call) Run

func (*Grammar_CompilePrimary_Call) RunAndReturn

type Grammar_CompilePrune_Call

type Grammar_CompilePrune_Call struct {
	*mock.Call
}

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

func (*Grammar_CompilePrune_Call) Return

func (*Grammar_CompilePrune_Call) Run

func (_c *Grammar_CompilePrune_Call) Run(run func(database string)) *Grammar_CompilePrune_Call

func (*Grammar_CompilePrune_Call) RunAndReturn

type Grammar_CompileRenameColumn_Call

type Grammar_CompileRenameColumn_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileRenameColumn_Call) Return

func (*Grammar_CompileRenameColumn_Call) Run

func (*Grammar_CompileRenameColumn_Call) RunAndReturn

type Grammar_CompileRenameIndex_Call

type Grammar_CompileRenameIndex_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileRenameIndex_Call) Return

func (*Grammar_CompileRenameIndex_Call) Run

func (*Grammar_CompileRenameIndex_Call) RunAndReturn

type Grammar_CompileRename_Call

type Grammar_CompileRename_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileRename_Call) Return

func (*Grammar_CompileRename_Call) Run

func (_c *Grammar_CompileRename_Call) Run(run func(blueprint driver.Blueprint, command *driver.Command)) *Grammar_CompileRename_Call

func (*Grammar_CompileRename_Call) RunAndReturn

type Grammar_CompileSharedLock_Call

type Grammar_CompileSharedLock_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileSharedLock_Call) Return

func (*Grammar_CompileSharedLock_Call) Run

func (*Grammar_CompileSharedLock_Call) RunAndReturn

type Grammar_CompileTableComment_Call

type Grammar_CompileTableComment_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileTableComment_Call) Return

func (*Grammar_CompileTableComment_Call) Run

func (*Grammar_CompileTableComment_Call) RunAndReturn

type Grammar_CompileTables_Call

type Grammar_CompileTables_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileTables_Call) Return

func (*Grammar_CompileTables_Call) Run

func (_c *Grammar_CompileTables_Call) Run(run func(database string)) *Grammar_CompileTables_Call

func (*Grammar_CompileTables_Call) RunAndReturn

type Grammar_CompileTypes_Call

type Grammar_CompileTypes_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileTypes_Call) Return

func (*Grammar_CompileTypes_Call) Run

func (*Grammar_CompileTypes_Call) RunAndReturn

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

type Grammar_CompileUnique_Call

type Grammar_CompileUnique_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileUnique_Call) Return

func (*Grammar_CompileUnique_Call) Run

func (_c *Grammar_CompileUnique_Call) Run(run func(blueprint driver.Blueprint, command *driver.Command)) *Grammar_CompileUnique_Call

func (*Grammar_CompileUnique_Call) RunAndReturn

type Grammar_CompileVersion_Call

type Grammar_CompileVersion_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileVersion_Call) Return

func (*Grammar_CompileVersion_Call) Run

func (*Grammar_CompileVersion_Call) RunAndReturn

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

type Grammar_CompileViews_Call

type Grammar_CompileViews_Call struct {
	*mock.Call
}

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

func (*Grammar_CompileViews_Call) Return

func (*Grammar_CompileViews_Call) Run

func (_c *Grammar_CompileViews_Call) Run(run func(database string)) *Grammar_CompileViews_Call

func (*Grammar_CompileViews_Call) RunAndReturn

type Grammar_Expecter

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

func (*Grammar_Expecter) CompileAdd

func (_e *Grammar_Expecter) CompileAdd(blueprint interface{}, command interface{}) *Grammar_CompileAdd_Call

CompileAdd is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileChange

func (_e *Grammar_Expecter) CompileChange(blueprint interface{}, command interface{}) *Grammar_CompileChange_Call

CompileChange is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileColumns

func (_e *Grammar_Expecter) CompileColumns(schema interface{}, table interface{}) *Grammar_CompileColumns_Call

CompileColumns is a helper method to define mock.On call

  • schema string
  • table string

func (*Grammar_Expecter) CompileComment

func (_e *Grammar_Expecter) CompileComment(blueprint interface{}, command interface{}) *Grammar_CompileComment_Call

CompileComment is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileCreate

func (_e *Grammar_Expecter) CompileCreate(blueprint interface{}) *Grammar_CompileCreate_Call

CompileCreate is a helper method to define mock.On call

  • blueprint driver.Blueprint

func (*Grammar_Expecter) CompileDefault

func (_e *Grammar_Expecter) CompileDefault(blueprint interface{}, command interface{}) *Grammar_CompileDefault_Call

CompileDefault is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileDrop

func (_e *Grammar_Expecter) CompileDrop(blueprint interface{}) *Grammar_CompileDrop_Call

CompileDrop is a helper method to define mock.On call

  • blueprint driver.Blueprint

func (*Grammar_Expecter) CompileDropAllTables

func (_e *Grammar_Expecter) CompileDropAllTables(schema interface{}, tables interface{}) *Grammar_CompileDropAllTables_Call

CompileDropAllTables is a helper method to define mock.On call

  • schema string
  • tables []driver.Table

func (*Grammar_Expecter) CompileDropAllTypes

func (_e *Grammar_Expecter) CompileDropAllTypes(schema interface{}, types interface{}) *Grammar_CompileDropAllTypes_Call

CompileDropAllTypes is a helper method to define mock.On call

  • schema string
  • types []driver.Type

func (*Grammar_Expecter) CompileDropAllViews

func (_e *Grammar_Expecter) CompileDropAllViews(schema interface{}, views interface{}) *Grammar_CompileDropAllViews_Call

CompileDropAllViews is a helper method to define mock.On call

  • schema string
  • views []driver.View

func (*Grammar_Expecter) CompileDropColumn

func (_e *Grammar_Expecter) CompileDropColumn(blueprint interface{}, command interface{}) *Grammar_CompileDropColumn_Call

CompileDropColumn is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileDropForeign

func (_e *Grammar_Expecter) CompileDropForeign(blueprint interface{}, command interface{}) *Grammar_CompileDropForeign_Call

CompileDropForeign is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileDropFullText

func (_e *Grammar_Expecter) CompileDropFullText(blueprint interface{}, command interface{}) *Grammar_CompileDropFullText_Call

CompileDropFullText is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileDropIfExists

func (_e *Grammar_Expecter) CompileDropIfExists(blueprint interface{}) *Grammar_CompileDropIfExists_Call

CompileDropIfExists is a helper method to define mock.On call

  • blueprint driver.Blueprint

func (*Grammar_Expecter) CompileDropIndex

func (_e *Grammar_Expecter) CompileDropIndex(blueprint interface{}, command interface{}) *Grammar_CompileDropIndex_Call

CompileDropIndex is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileDropPrimary

func (_e *Grammar_Expecter) CompileDropPrimary(blueprint interface{}, command interface{}) *Grammar_CompileDropPrimary_Call

CompileDropPrimary is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileDropUnique

func (_e *Grammar_Expecter) CompileDropUnique(blueprint interface{}, command interface{}) *Grammar_CompileDropUnique_Call

CompileDropUnique is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileForeign

func (_e *Grammar_Expecter) CompileForeign(blueprint interface{}, command interface{}) *Grammar_CompileForeign_Call

CompileForeign is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileForeignKeys

func (_e *Grammar_Expecter) CompileForeignKeys(schema interface{}, table interface{}) *Grammar_CompileForeignKeys_Call

CompileForeignKeys is a helper method to define mock.On call

  • schema string
  • table string

func (*Grammar_Expecter) CompileFullText

func (_e *Grammar_Expecter) CompileFullText(blueprint interface{}, command interface{}) *Grammar_CompileFullText_Call

CompileFullText is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileInRandomOrder

func (_e *Grammar_Expecter) CompileInRandomOrder(builder interface{}, conditions interface{}) *Grammar_CompileInRandomOrder_Call

CompileInRandomOrder is a helper method to define mock.On call

  • builder squirrel.SelectBuilder
  • conditions *driver.Conditions

func (*Grammar_Expecter) CompileIndex

func (_e *Grammar_Expecter) CompileIndex(blueprint interface{}, command interface{}) *Grammar_CompileIndex_Call

CompileIndex is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileIndexes

func (_e *Grammar_Expecter) CompileIndexes(schema interface{}, table interface{}) *Grammar_CompileIndexes_Call

CompileIndexes is a helper method to define mock.On call

  • schema string
  • table string

func (*Grammar_Expecter) CompileJsonColumnsUpdate

func (_e *Grammar_Expecter) CompileJsonColumnsUpdate(values interface{}) *Grammar_CompileJsonColumnsUpdate_Call

CompileJsonColumnsUpdate is a helper method to define mock.On call

  • values map[string]interface{}

func (*Grammar_Expecter) CompileJsonContains

func (_e *Grammar_Expecter) CompileJsonContains(column interface{}, value interface{}, isNot interface{}) *Grammar_CompileJsonContains_Call

CompileJsonContains is a helper method to define mock.On call

  • column string
  • value interface{}
  • isNot bool

func (*Grammar_Expecter) CompileJsonContainsKey

func (_e *Grammar_Expecter) CompileJsonContainsKey(column interface{}, isNot interface{}) *Grammar_CompileJsonContainsKey_Call

CompileJsonContainsKey is a helper method to define mock.On call

  • column string
  • isNot bool

func (*Grammar_Expecter) CompileJsonLength

func (_e *Grammar_Expecter) CompileJsonLength(column interface{}) *Grammar_CompileJsonLength_Call

CompileJsonLength is a helper method to define mock.On call

  • column string

func (*Grammar_Expecter) CompileJsonSelector

func (_e *Grammar_Expecter) CompileJsonSelector(column interface{}) *Grammar_CompileJsonSelector_Call

CompileJsonSelector is a helper method to define mock.On call

  • column string

func (*Grammar_Expecter) CompileJsonValues

func (_e *Grammar_Expecter) CompileJsonValues(args ...interface{}) *Grammar_CompileJsonValues_Call

CompileJsonValues is a helper method to define mock.On call

  • args ...interface{}

func (*Grammar_Expecter) CompileLockForUpdate

func (_e *Grammar_Expecter) CompileLockForUpdate(builder interface{}, conditions interface{}) *Grammar_CompileLockForUpdate_Call

CompileLockForUpdate is a helper method to define mock.On call

  • builder squirrel.SelectBuilder
  • conditions *driver.Conditions

func (*Grammar_Expecter) CompilePlaceholderFormat

func (_e *Grammar_Expecter) CompilePlaceholderFormat() *Grammar_CompilePlaceholderFormat_Call

CompilePlaceholderFormat is a helper method to define mock.On call

func (*Grammar_Expecter) CompilePrimary

func (_e *Grammar_Expecter) CompilePrimary(blueprint interface{}, command interface{}) *Grammar_CompilePrimary_Call

CompilePrimary is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompilePrune

func (_e *Grammar_Expecter) CompilePrune(database interface{}) *Grammar_CompilePrune_Call

CompilePrune is a helper method to define mock.On call

  • database string

func (*Grammar_Expecter) CompileRename

func (_e *Grammar_Expecter) CompileRename(blueprint interface{}, command interface{}) *Grammar_CompileRename_Call

CompileRename is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileRenameColumn

func (_e *Grammar_Expecter) CompileRenameColumn(blueprint interface{}, command interface{}, columns interface{}) *Grammar_CompileRenameColumn_Call

CompileRenameColumn is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command
  • columns []driver.Column

func (*Grammar_Expecter) CompileRenameIndex

func (_e *Grammar_Expecter) CompileRenameIndex(blueprint interface{}, command interface{}, indexes interface{}) *Grammar_CompileRenameIndex_Call

CompileRenameIndex is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command
  • indexes []driver.Index

func (*Grammar_Expecter) CompileSharedLock

func (_e *Grammar_Expecter) CompileSharedLock(builder interface{}, conditions interface{}) *Grammar_CompileSharedLock_Call

CompileSharedLock is a helper method to define mock.On call

  • builder squirrel.SelectBuilder
  • conditions *driver.Conditions

func (*Grammar_Expecter) CompileTableComment

func (_e *Grammar_Expecter) CompileTableComment(blueprint interface{}, command interface{}) *Grammar_CompileTableComment_Call

CompileTableComment is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileTables

func (_e *Grammar_Expecter) CompileTables(database interface{}) *Grammar_CompileTables_Call

CompileTables is a helper method to define mock.On call

  • database string

func (*Grammar_Expecter) CompileTypes

func (_e *Grammar_Expecter) CompileTypes() *Grammar_CompileTypes_Call

CompileTypes is a helper method to define mock.On call

func (*Grammar_Expecter) CompileUnique

func (_e *Grammar_Expecter) CompileUnique(blueprint interface{}, command interface{}) *Grammar_CompileUnique_Call

CompileUnique is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*Grammar_Expecter) CompileVersion

func (_e *Grammar_Expecter) CompileVersion() *Grammar_CompileVersion_Call

CompileVersion is a helper method to define mock.On call

func (*Grammar_Expecter) CompileViews

func (_e *Grammar_Expecter) CompileViews(database interface{}) *Grammar_CompileViews_Call

CompileViews is a helper method to define mock.On call

  • database string

func (*Grammar_Expecter) GetAttributeCommands

func (_e *Grammar_Expecter) GetAttributeCommands() *Grammar_GetAttributeCommands_Call

GetAttributeCommands is a helper method to define mock.On call

func (*Grammar_Expecter) TypeBigInteger

func (_e *Grammar_Expecter) TypeBigInteger(column interface{}) *Grammar_TypeBigInteger_Call

TypeBigInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeBoolean

func (_e *Grammar_Expecter) TypeBoolean(column interface{}) *Grammar_TypeBoolean_Call

TypeBoolean is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeChar

func (_e *Grammar_Expecter) TypeChar(column interface{}) *Grammar_TypeChar_Call

TypeChar is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeDate

func (_e *Grammar_Expecter) TypeDate(column interface{}) *Grammar_TypeDate_Call

TypeDate is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeDateTime

func (_e *Grammar_Expecter) TypeDateTime(column interface{}) *Grammar_TypeDateTime_Call

TypeDateTime is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeDateTimeTz

func (_e *Grammar_Expecter) TypeDateTimeTz(column interface{}) *Grammar_TypeDateTimeTz_Call

TypeDateTimeTz is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeDecimal

func (_e *Grammar_Expecter) TypeDecimal(column interface{}) *Grammar_TypeDecimal_Call

TypeDecimal is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeDouble

func (_e *Grammar_Expecter) TypeDouble(column interface{}) *Grammar_TypeDouble_Call

TypeDouble is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeEnum

func (_e *Grammar_Expecter) TypeEnum(column interface{}) *Grammar_TypeEnum_Call

TypeEnum is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeFloat

func (_e *Grammar_Expecter) TypeFloat(column interface{}) *Grammar_TypeFloat_Call

TypeFloat is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeInteger

func (_e *Grammar_Expecter) TypeInteger(column interface{}) *Grammar_TypeInteger_Call

TypeInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeJson

func (_e *Grammar_Expecter) TypeJson(column interface{}) *Grammar_TypeJson_Call

TypeJson is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeJsonb

func (_e *Grammar_Expecter) TypeJsonb(column interface{}) *Grammar_TypeJsonb_Call

TypeJsonb is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeLongText

func (_e *Grammar_Expecter) TypeLongText(column interface{}) *Grammar_TypeLongText_Call

TypeLongText is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeMediumInteger

func (_e *Grammar_Expecter) TypeMediumInteger(column interface{}) *Grammar_TypeMediumInteger_Call

TypeMediumInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeMediumText

func (_e *Grammar_Expecter) TypeMediumText(column interface{}) *Grammar_TypeMediumText_Call

TypeMediumText is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeSmallInteger

func (_e *Grammar_Expecter) TypeSmallInteger(column interface{}) *Grammar_TypeSmallInteger_Call

TypeSmallInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeString

func (_e *Grammar_Expecter) TypeString(column interface{}) *Grammar_TypeString_Call

TypeString is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeText

func (_e *Grammar_Expecter) TypeText(column interface{}) *Grammar_TypeText_Call

TypeText is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeTime

func (_e *Grammar_Expecter) TypeTime(column interface{}) *Grammar_TypeTime_Call

TypeTime is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeTimeTz

func (_e *Grammar_Expecter) TypeTimeTz(column interface{}) *Grammar_TypeTimeTz_Call

TypeTimeTz is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeTimestamp

func (_e *Grammar_Expecter) TypeTimestamp(column interface{}) *Grammar_TypeTimestamp_Call

TypeTimestamp is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeTimestampTz

func (_e *Grammar_Expecter) TypeTimestampTz(column interface{}) *Grammar_TypeTimestampTz_Call

TypeTimestampTz is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeTinyInteger

func (_e *Grammar_Expecter) TypeTinyInteger(column interface{}) *Grammar_TypeTinyInteger_Call

TypeTinyInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeTinyText

func (_e *Grammar_Expecter) TypeTinyText(column interface{}) *Grammar_TypeTinyText_Call

TypeTinyText is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*Grammar_Expecter) TypeUuid

func (_e *Grammar_Expecter) TypeUuid(column interface{}) *Grammar_TypeUuid_Call

TypeUuid is a helper method to define mock.On call

  • column driver.ColumnDefinition

type Grammar_GetAttributeCommands_Call

type Grammar_GetAttributeCommands_Call struct {
	*mock.Call
}

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

func (*Grammar_GetAttributeCommands_Call) Return

func (*Grammar_GetAttributeCommands_Call) Run

func (*Grammar_GetAttributeCommands_Call) RunAndReturn

type Grammar_TypeBigInteger_Call

type Grammar_TypeBigInteger_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeBigInteger_Call) Return

func (*Grammar_TypeBigInteger_Call) Run

func (*Grammar_TypeBigInteger_Call) RunAndReturn

type Grammar_TypeBoolean_Call

type Grammar_TypeBoolean_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeBoolean_Call) Return

func (*Grammar_TypeBoolean_Call) Run

func (*Grammar_TypeBoolean_Call) RunAndReturn

type Grammar_TypeChar_Call

type Grammar_TypeChar_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeChar_Call) Return

func (*Grammar_TypeChar_Call) Run

func (*Grammar_TypeChar_Call) RunAndReturn

type Grammar_TypeDateTimeTz_Call

type Grammar_TypeDateTimeTz_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeDateTimeTz_Call) Return

func (*Grammar_TypeDateTimeTz_Call) Run

func (*Grammar_TypeDateTimeTz_Call) RunAndReturn

type Grammar_TypeDateTime_Call

type Grammar_TypeDateTime_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeDateTime_Call) Return

func (*Grammar_TypeDateTime_Call) Run

func (*Grammar_TypeDateTime_Call) RunAndReturn

type Grammar_TypeDate_Call

type Grammar_TypeDate_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeDate_Call) Return

func (*Grammar_TypeDate_Call) Run

func (*Grammar_TypeDate_Call) RunAndReturn

type Grammar_TypeDecimal_Call

type Grammar_TypeDecimal_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeDecimal_Call) Return

func (*Grammar_TypeDecimal_Call) Run

func (*Grammar_TypeDecimal_Call) RunAndReturn

type Grammar_TypeDouble_Call

type Grammar_TypeDouble_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeDouble_Call) Return

func (*Grammar_TypeDouble_Call) Run

func (*Grammar_TypeDouble_Call) RunAndReturn

type Grammar_TypeEnum_Call

type Grammar_TypeEnum_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeEnum_Call) Return

func (*Grammar_TypeEnum_Call) Run

func (*Grammar_TypeEnum_Call) RunAndReturn

type Grammar_TypeFloat_Call

type Grammar_TypeFloat_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeFloat_Call) Return

func (*Grammar_TypeFloat_Call) Run

func (*Grammar_TypeFloat_Call) RunAndReturn

type Grammar_TypeInteger_Call

type Grammar_TypeInteger_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeInteger_Call) Return

func (*Grammar_TypeInteger_Call) Run

func (*Grammar_TypeInteger_Call) RunAndReturn

type Grammar_TypeJson_Call

type Grammar_TypeJson_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeJson_Call) Return

func (*Grammar_TypeJson_Call) Run

func (*Grammar_TypeJson_Call) RunAndReturn

type Grammar_TypeJsonb_Call

type Grammar_TypeJsonb_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeJsonb_Call) Return

func (*Grammar_TypeJsonb_Call) Run

func (*Grammar_TypeJsonb_Call) RunAndReturn

type Grammar_TypeLongText_Call

type Grammar_TypeLongText_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeLongText_Call) Return

func (*Grammar_TypeLongText_Call) Run

func (*Grammar_TypeLongText_Call) RunAndReturn

type Grammar_TypeMediumInteger_Call

type Grammar_TypeMediumInteger_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeMediumInteger_Call) Return

func (*Grammar_TypeMediumInteger_Call) Run

func (*Grammar_TypeMediumInteger_Call) RunAndReturn

type Grammar_TypeMediumText_Call

type Grammar_TypeMediumText_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeMediumText_Call) Return

func (*Grammar_TypeMediumText_Call) Run

func (*Grammar_TypeMediumText_Call) RunAndReturn

type Grammar_TypeSmallInteger_Call

type Grammar_TypeSmallInteger_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeSmallInteger_Call) Return

func (*Grammar_TypeSmallInteger_Call) Run

func (*Grammar_TypeSmallInteger_Call) RunAndReturn

type Grammar_TypeString_Call

type Grammar_TypeString_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeString_Call) Return

func (*Grammar_TypeString_Call) Run

func (*Grammar_TypeString_Call) RunAndReturn

type Grammar_TypeText_Call

type Grammar_TypeText_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeText_Call) Return

func (*Grammar_TypeText_Call) Run

func (*Grammar_TypeText_Call) RunAndReturn

type Grammar_TypeTimeTz_Call

type Grammar_TypeTimeTz_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeTimeTz_Call) Return

func (*Grammar_TypeTimeTz_Call) Run

func (*Grammar_TypeTimeTz_Call) RunAndReturn

type Grammar_TypeTime_Call

type Grammar_TypeTime_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeTime_Call) Return

func (*Grammar_TypeTime_Call) Run

func (*Grammar_TypeTime_Call) RunAndReturn

type Grammar_TypeTimestampTz_Call

type Grammar_TypeTimestampTz_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeTimestampTz_Call) Return

func (*Grammar_TypeTimestampTz_Call) Run

func (*Grammar_TypeTimestampTz_Call) RunAndReturn

type Grammar_TypeTimestamp_Call

type Grammar_TypeTimestamp_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeTimestamp_Call) Return

func (*Grammar_TypeTimestamp_Call) Run

func (*Grammar_TypeTimestamp_Call) RunAndReturn

type Grammar_TypeTinyInteger_Call

type Grammar_TypeTinyInteger_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeTinyInteger_Call) Return

func (*Grammar_TypeTinyInteger_Call) Run

func (*Grammar_TypeTinyInteger_Call) RunAndReturn

type Grammar_TypeTinyText_Call

type Grammar_TypeTinyText_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeTinyText_Call) Return

func (*Grammar_TypeTinyText_Call) Run

func (*Grammar_TypeTinyText_Call) RunAndReturn

type Grammar_TypeUuid_Call

type Grammar_TypeUuid_Call struct {
	*mock.Call
}

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

func (*Grammar_TypeUuid_Call) Return

func (*Grammar_TypeUuid_Call) Run

func (*Grammar_TypeUuid_Call) RunAndReturn

type JsonGrammar

type JsonGrammar struct {
	mock.Mock
}

JsonGrammar is an autogenerated mock type for the JsonGrammar type

func NewJsonGrammar

func NewJsonGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *JsonGrammar

NewJsonGrammar creates a new instance of JsonGrammar. 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 (*JsonGrammar) CompileJsonColumnsUpdate

func (_m *JsonGrammar) CompileJsonColumnsUpdate(values map[string]interface{}) (map[string]interface{}, error)

CompileJsonColumnsUpdate provides a mock function with given fields: values

func (*JsonGrammar) CompileJsonContains

func (_m *JsonGrammar) CompileJsonContains(column string, value interface{}, isNot bool) (string, []interface{}, error)

CompileJsonContains provides a mock function with given fields: column, value, isNot

func (*JsonGrammar) CompileJsonContainsKey

func (_m *JsonGrammar) CompileJsonContainsKey(column string, isNot bool) string

CompileJsonContainsKey provides a mock function with given fields: column, isNot

func (*JsonGrammar) CompileJsonLength

func (_m *JsonGrammar) CompileJsonLength(column string) string

CompileJsonLength provides a mock function with given fields: column

func (*JsonGrammar) CompileJsonSelector

func (_m *JsonGrammar) CompileJsonSelector(column string) string

CompileJsonSelector provides a mock function with given fields: column

func (*JsonGrammar) CompileJsonValues

func (_m *JsonGrammar) CompileJsonValues(args ...interface{}) []interface{}

CompileJsonValues provides a mock function with given fields: args

func (*JsonGrammar) EXPECT

func (_m *JsonGrammar) EXPECT() *JsonGrammar_Expecter

type JsonGrammar_CompileJsonColumnsUpdate_Call

type JsonGrammar_CompileJsonColumnsUpdate_Call struct {
	*mock.Call
}

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

func (*JsonGrammar_CompileJsonColumnsUpdate_Call) Return

func (*JsonGrammar_CompileJsonColumnsUpdate_Call) Run

func (*JsonGrammar_CompileJsonColumnsUpdate_Call) RunAndReturn

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

type JsonGrammar_CompileJsonContainsKey_Call

type JsonGrammar_CompileJsonContainsKey_Call struct {
	*mock.Call
}

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

func (*JsonGrammar_CompileJsonContainsKey_Call) Return

func (*JsonGrammar_CompileJsonContainsKey_Call) Run

func (*JsonGrammar_CompileJsonContainsKey_Call) RunAndReturn

type JsonGrammar_CompileJsonContains_Call

type JsonGrammar_CompileJsonContains_Call struct {
	*mock.Call
}

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

func (*JsonGrammar_CompileJsonContains_Call) Return

func (*JsonGrammar_CompileJsonContains_Call) Run

func (_c *JsonGrammar_CompileJsonContains_Call) Run(run func(column string, value interface{}, isNot bool)) *JsonGrammar_CompileJsonContains_Call

func (*JsonGrammar_CompileJsonContains_Call) RunAndReturn

func (_c *JsonGrammar_CompileJsonContains_Call) RunAndReturn(run func(string, interface{}, bool) (string, []interface{}, error)) *JsonGrammar_CompileJsonContains_Call

type JsonGrammar_CompileJsonLength_Call

type JsonGrammar_CompileJsonLength_Call struct {
	*mock.Call
}

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

func (*JsonGrammar_CompileJsonLength_Call) Return

func (*JsonGrammar_CompileJsonLength_Call) Run

func (*JsonGrammar_CompileJsonLength_Call) RunAndReturn

type JsonGrammar_CompileJsonSelector_Call

type JsonGrammar_CompileJsonSelector_Call struct {
	*mock.Call
}

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

func (*JsonGrammar_CompileJsonSelector_Call) Return

func (*JsonGrammar_CompileJsonSelector_Call) Run

func (*JsonGrammar_CompileJsonSelector_Call) RunAndReturn

type JsonGrammar_CompileJsonValues_Call

type JsonGrammar_CompileJsonValues_Call struct {
	*mock.Call
}

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

func (*JsonGrammar_CompileJsonValues_Call) Return

func (*JsonGrammar_CompileJsonValues_Call) Run

func (_c *JsonGrammar_CompileJsonValues_Call) Run(run func(args ...interface{})) *JsonGrammar_CompileJsonValues_Call

func (*JsonGrammar_CompileJsonValues_Call) RunAndReturn

func (_c *JsonGrammar_CompileJsonValues_Call) RunAndReturn(run func(...interface{}) []interface{}) *JsonGrammar_CompileJsonValues_Call

type JsonGrammar_Expecter

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

func (*JsonGrammar_Expecter) CompileJsonColumnsUpdate

func (_e *JsonGrammar_Expecter) CompileJsonColumnsUpdate(values interface{}) *JsonGrammar_CompileJsonColumnsUpdate_Call

CompileJsonColumnsUpdate is a helper method to define mock.On call

  • values map[string]interface{}

func (*JsonGrammar_Expecter) CompileJsonContains

func (_e *JsonGrammar_Expecter) CompileJsonContains(column interface{}, value interface{}, isNot interface{}) *JsonGrammar_CompileJsonContains_Call

CompileJsonContains is a helper method to define mock.On call

  • column string
  • value interface{}
  • isNot bool

func (*JsonGrammar_Expecter) CompileJsonContainsKey

func (_e *JsonGrammar_Expecter) CompileJsonContainsKey(column interface{}, isNot interface{}) *JsonGrammar_CompileJsonContainsKey_Call

CompileJsonContainsKey is a helper method to define mock.On call

  • column string
  • isNot bool

func (*JsonGrammar_Expecter) CompileJsonLength

func (_e *JsonGrammar_Expecter) CompileJsonLength(column interface{}) *JsonGrammar_CompileJsonLength_Call

CompileJsonLength is a helper method to define mock.On call

  • column string

func (*JsonGrammar_Expecter) CompileJsonSelector

func (_e *JsonGrammar_Expecter) CompileJsonSelector(column interface{}) *JsonGrammar_CompileJsonSelector_Call

CompileJsonSelector is a helper method to define mock.On call

  • column string

func (*JsonGrammar_Expecter) CompileJsonValues

func (_e *JsonGrammar_Expecter) CompileJsonValues(args ...interface{}) *JsonGrammar_CompileJsonValues_Call

CompileJsonValues is a helper method to define mock.On call

  • args ...interface{}

type PlaceholderFormat

type PlaceholderFormat struct {
	mock.Mock
}

PlaceholderFormat is an autogenerated mock type for the PlaceholderFormat type

func NewPlaceholderFormat

func NewPlaceholderFormat(t interface {
	mock.TestingT
	Cleanup(func())
}) *PlaceholderFormat

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

func (*PlaceholderFormat) ReplacePlaceholders

func (_m *PlaceholderFormat) ReplacePlaceholders(sql string) (string, error)

ReplacePlaceholders provides a mock function with given fields: sql

type PlaceholderFormat_Expecter

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

func (*PlaceholderFormat_Expecter) ReplacePlaceholders

func (_e *PlaceholderFormat_Expecter) ReplacePlaceholders(sql interface{}) *PlaceholderFormat_ReplacePlaceholders_Call

ReplacePlaceholders is a helper method to define mock.On call

  • sql string

type PlaceholderFormat_ReplacePlaceholders_Call

type PlaceholderFormat_ReplacePlaceholders_Call struct {
	*mock.Call
}

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

func (*PlaceholderFormat_ReplacePlaceholders_Call) Return

func (*PlaceholderFormat_ReplacePlaceholders_Call) Run

func (*PlaceholderFormat_ReplacePlaceholders_Call) RunAndReturn

type Processor

type Processor struct {
	mock.Mock
}

Processor is an autogenerated mock type for the Processor type

func NewProcessor

func NewProcessor(t interface {
	mock.TestingT
	Cleanup(func())
}) *Processor

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

func (_m *Processor) EXPECT() *Processor_Expecter

func (*Processor) ProcessColumns

func (_m *Processor) ProcessColumns(dbColumns []driver.DBColumn) []driver.Column

ProcessColumns provides a mock function with given fields: dbColumns

func (*Processor) ProcessForeignKeys

func (_m *Processor) ProcessForeignKeys(dbIndexes []driver.DBForeignKey) []driver.ForeignKey

ProcessForeignKeys provides a mock function with given fields: dbIndexes

func (*Processor) ProcessIndexes

func (_m *Processor) ProcessIndexes(dbIndexes []driver.DBIndex) []driver.Index

ProcessIndexes provides a mock function with given fields: dbIndexes

func (*Processor) ProcessTypes

func (_m *Processor) ProcessTypes(types []driver.Type) []driver.Type

ProcessTypes provides a mock function with given fields: types

type Processor_Expecter

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

func (*Processor_Expecter) ProcessColumns

func (_e *Processor_Expecter) ProcessColumns(dbColumns interface{}) *Processor_ProcessColumns_Call

ProcessColumns is a helper method to define mock.On call

  • dbColumns []driver.DBColumn

func (*Processor_Expecter) ProcessForeignKeys

func (_e *Processor_Expecter) ProcessForeignKeys(dbIndexes interface{}) *Processor_ProcessForeignKeys_Call

ProcessForeignKeys is a helper method to define mock.On call

  • dbIndexes []driver.DBForeignKey

func (*Processor_Expecter) ProcessIndexes

func (_e *Processor_Expecter) ProcessIndexes(dbIndexes interface{}) *Processor_ProcessIndexes_Call

ProcessIndexes is a helper method to define mock.On call

  • dbIndexes []driver.DBIndex

func (*Processor_Expecter) ProcessTypes

func (_e *Processor_Expecter) ProcessTypes(types interface{}) *Processor_ProcessTypes_Call

ProcessTypes is a helper method to define mock.On call

  • types []driver.Type

type Processor_ProcessColumns_Call

type Processor_ProcessColumns_Call struct {
	*mock.Call
}

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

func (*Processor_ProcessColumns_Call) Return

func (*Processor_ProcessColumns_Call) Run

func (*Processor_ProcessColumns_Call) RunAndReturn

type Processor_ProcessForeignKeys_Call

type Processor_ProcessForeignKeys_Call struct {
	*mock.Call
}

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

func (*Processor_ProcessForeignKeys_Call) Return

func (*Processor_ProcessForeignKeys_Call) Run

func (*Processor_ProcessForeignKeys_Call) RunAndReturn

type Processor_ProcessIndexes_Call

type Processor_ProcessIndexes_Call struct {
	*mock.Call
}

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

func (*Processor_ProcessIndexes_Call) Return

func (*Processor_ProcessIndexes_Call) Run

func (*Processor_ProcessIndexes_Call) RunAndReturn

type Processor_ProcessTypes_Call

type Processor_ProcessTypes_Call struct {
	*mock.Call
}

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

func (*Processor_ProcessTypes_Call) Return

func (*Processor_ProcessTypes_Call) Run

func (*Processor_ProcessTypes_Call) RunAndReturn

type SchemaBlueprintPlanner

type SchemaBlueprintPlanner struct {
	mock.Mock
}

SchemaBlueprintPlanner is an autogenerated mock type for the SchemaBlueprintPlanner type

func NewSchemaBlueprintPlanner

func NewSchemaBlueprintPlanner(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaBlueprintPlanner

NewSchemaBlueprintPlanner creates a new instance of SchemaBlueprintPlanner. 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 (*SchemaBlueprintPlanner) CompileSchemaBlueprint

func (_m *SchemaBlueprintPlanner) CompileSchemaBlueprint(_a0 driver.Blueprint, _a1 driver.SchemaCatalog) ([]driver.SchemaStatement, bool, error)

CompileSchemaBlueprint provides a mock function with given fields: _a0, _a1

func (*SchemaBlueprintPlanner) EXPECT

func (*SchemaBlueprintPlanner) SchemaExecutionPolicy

func (_m *SchemaBlueprintPlanner) SchemaExecutionPolicy(_a0 driver.Blueprint) driver.SchemaExecutionPolicy

SchemaExecutionPolicy provides a mock function with given fields: _a0

type SchemaBlueprintPlanner_CompileSchemaBlueprint_Call

type SchemaBlueprintPlanner_CompileSchemaBlueprint_Call struct {
	*mock.Call
}

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

func (*SchemaBlueprintPlanner_CompileSchemaBlueprint_Call) Return

func (*SchemaBlueprintPlanner_CompileSchemaBlueprint_Call) Run

type SchemaBlueprintPlanner_Expecter

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

func (*SchemaBlueprintPlanner_Expecter) CompileSchemaBlueprint

func (_e *SchemaBlueprintPlanner_Expecter) CompileSchemaBlueprint(_a0 interface{}, _a1 interface{}) *SchemaBlueprintPlanner_CompileSchemaBlueprint_Call

CompileSchemaBlueprint is a helper method to define mock.On call

  • _a0 driver.Blueprint
  • _a1 driver.SchemaCatalog

func (*SchemaBlueprintPlanner_Expecter) SchemaExecutionPolicy

func (_e *SchemaBlueprintPlanner_Expecter) SchemaExecutionPolicy(_a0 interface{}) *SchemaBlueprintPlanner_SchemaExecutionPolicy_Call

SchemaExecutionPolicy is a helper method to define mock.On call

  • _a0 driver.Blueprint

type SchemaBlueprintPlanner_SchemaExecutionPolicy_Call

type SchemaBlueprintPlanner_SchemaExecutionPolicy_Call struct {
	*mock.Call
}

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

func (*SchemaBlueprintPlanner_SchemaExecutionPolicy_Call) Return

func (*SchemaBlueprintPlanner_SchemaExecutionPolicy_Call) Run

func (*SchemaBlueprintPlanner_SchemaExecutionPolicy_Call) RunAndReturn

type SchemaCatalog

type SchemaCatalog struct {
	mock.Mock
}

SchemaCatalog is an autogenerated mock type for the SchemaCatalog type

func NewSchemaCatalog

func NewSchemaCatalog(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaCatalog

NewSchemaCatalog creates a new instance of SchemaCatalog. 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 (*SchemaCatalog) Columns

func (_m *SchemaCatalog) Columns(_a0 string) ([]driver.ColumnMetadata, error)

Columns provides a mock function with given fields: _a0

func (*SchemaCatalog) EXPECT

func (_m *SchemaCatalog) EXPECT() *SchemaCatalog_Expecter

func (*SchemaCatalog) ResolveTable

func (_m *SchemaCatalog) ResolveTable(_a0 string) (string, string, error)

ResolveTable provides a mock function with given fields: _a0

func (*SchemaCatalog) Select

func (_m *SchemaCatalog) Select(_a0 driver.SchemaStatement) ([]map[string]interface{}, error)

Select provides a mock function with given fields: _a0

type SchemaCatalog_Columns_Call

type SchemaCatalog_Columns_Call struct {
	*mock.Call
}

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

func (*SchemaCatalog_Columns_Call) Return

func (*SchemaCatalog_Columns_Call) Run

func (*SchemaCatalog_Columns_Call) RunAndReturn

type SchemaCatalog_Expecter

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

func (*SchemaCatalog_Expecter) Columns

func (_e *SchemaCatalog_Expecter) Columns(_a0 interface{}) *SchemaCatalog_Columns_Call

Columns is a helper method to define mock.On call

  • _a0 string

func (*SchemaCatalog_Expecter) ResolveTable

func (_e *SchemaCatalog_Expecter) ResolveTable(_a0 interface{}) *SchemaCatalog_ResolveTable_Call

ResolveTable is a helper method to define mock.On call

  • _a0 string

func (*SchemaCatalog_Expecter) Select

func (_e *SchemaCatalog_Expecter) Select(_a0 interface{}) *SchemaCatalog_Select_Call

Select is a helper method to define mock.On call

  • _a0 driver.SchemaStatement

type SchemaCatalog_ResolveTable_Call

type SchemaCatalog_ResolveTable_Call struct {
	*mock.Call
}

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

func (*SchemaCatalog_ResolveTable_Call) Return

func (*SchemaCatalog_ResolveTable_Call) Run

func (*SchemaCatalog_ResolveTable_Call) RunAndReturn

type SchemaCatalog_Select_Call

type SchemaCatalog_Select_Call struct {
	*mock.Call
}

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

func (*SchemaCatalog_Select_Call) Return

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

func (*SchemaCatalog_Select_Call) Run

func (*SchemaCatalog_Select_Call) RunAndReturn

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

type SchemaCompiler

type SchemaCompiler struct {
	mock.Mock
}

SchemaCompiler is an autogenerated mock type for the SchemaCompiler type

func NewSchemaCompiler

func NewSchemaCompiler(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaCompiler

NewSchemaCompiler creates a new instance of SchemaCompiler. 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 (*SchemaCompiler) CompileSchemaCommand

func (_m *SchemaCompiler) CompileSchemaCommand(_a0 driver.Blueprint, _a1 *driver.Command) ([]driver.SchemaStatement, bool, error)

CompileSchemaCommand provides a mock function with given fields: _a0, _a1

func (*SchemaCompiler) CompileSchemaStartingValues

func (_m *SchemaCompiler) CompileSchemaStartingValues(_a0 driver.Blueprint) ([]driver.SchemaStatement, error)

CompileSchemaStartingValues provides a mock function with given fields: _a0

func (*SchemaCompiler) EXPECT

type SchemaCompiler_CompileSchemaCommand_Call

type SchemaCompiler_CompileSchemaCommand_Call struct {
	*mock.Call
}

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

func (*SchemaCompiler_CompileSchemaCommand_Call) Return

func (*SchemaCompiler_CompileSchemaCommand_Call) Run

func (*SchemaCompiler_CompileSchemaCommand_Call) RunAndReturn

type SchemaCompiler_CompileSchemaStartingValues_Call

type SchemaCompiler_CompileSchemaStartingValues_Call struct {
	*mock.Call
}

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

func (*SchemaCompiler_CompileSchemaStartingValues_Call) Return

func (*SchemaCompiler_CompileSchemaStartingValues_Call) Run

func (*SchemaCompiler_CompileSchemaStartingValues_Call) RunAndReturn

type SchemaCompiler_Expecter

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

func (*SchemaCompiler_Expecter) CompileSchemaCommand

func (_e *SchemaCompiler_Expecter) CompileSchemaCommand(_a0 interface{}, _a1 interface{}) *SchemaCompiler_CompileSchemaCommand_Call

CompileSchemaCommand is a helper method to define mock.On call

  • _a0 driver.Blueprint
  • _a1 *driver.Command

func (*SchemaCompiler_Expecter) CompileSchemaStartingValues

func (_e *SchemaCompiler_Expecter) CompileSchemaStartingValues(_a0 interface{}) *SchemaCompiler_CompileSchemaStartingValues_Call

CompileSchemaStartingValues is a helper method to define mock.On call

  • _a0 driver.Blueprint

type SchemaCurrentSchemas

type SchemaCurrentSchemas struct {
	mock.Mock
}

SchemaCurrentSchemas is an autogenerated mock type for the SchemaCurrentSchemas type

func NewSchemaCurrentSchemas

func NewSchemaCurrentSchemas(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaCurrentSchemas

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

func (*SchemaCurrentSchemas) ResolveCurrentSchemas

func (_m *SchemaCurrentSchemas) ResolveCurrentSchemas(_a0 driver.SchemaConnectionInfo, _a1 driver.SchemaCatalog) ([]string, error)

ResolveCurrentSchemas provides a mock function with given fields: _a0, _a1

type SchemaCurrentSchemas_Expecter

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

func (*SchemaCurrentSchemas_Expecter) ResolveCurrentSchemas

func (_e *SchemaCurrentSchemas_Expecter) ResolveCurrentSchemas(_a0 interface{}, _a1 interface{}) *SchemaCurrentSchemas_ResolveCurrentSchemas_Call

ResolveCurrentSchemas is a helper method to define mock.On call

  • _a0 driver.SchemaConnectionInfo
  • _a1 driver.SchemaCatalog

type SchemaCurrentSchemas_ResolveCurrentSchemas_Call

type SchemaCurrentSchemas_ResolveCurrentSchemas_Call struct {
	*mock.Call
}

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

func (*SchemaCurrentSchemas_ResolveCurrentSchemas_Call) Return

func (*SchemaCurrentSchemas_ResolveCurrentSchemas_Call) Run

type SchemaDatabaseFiles

type SchemaDatabaseFiles struct {
	mock.Mock
}

SchemaDatabaseFiles is an autogenerated mock type for the SchemaDatabaseFiles type

func NewSchemaDatabaseFiles

func NewSchemaDatabaseFiles(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaDatabaseFiles

NewSchemaDatabaseFiles creates a new instance of SchemaDatabaseFiles. 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 (*SchemaDatabaseFiles) CreateDatabase

func (_m *SchemaDatabaseFiles) CreateDatabase(_a0 string) error

CreateDatabase provides a mock function with given fields: _a0

func (*SchemaDatabaseFiles) DropDatabaseIfExists

func (_m *SchemaDatabaseFiles) DropDatabaseIfExists(_a0 string) error

DropDatabaseIfExists provides a mock function with given fields: _a0

func (*SchemaDatabaseFiles) EXPECT

type SchemaDatabaseFiles_CreateDatabase_Call

type SchemaDatabaseFiles_CreateDatabase_Call struct {
	*mock.Call
}

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

func (*SchemaDatabaseFiles_CreateDatabase_Call) Return

func (*SchemaDatabaseFiles_CreateDatabase_Call) Run

func (*SchemaDatabaseFiles_CreateDatabase_Call) RunAndReturn

type SchemaDatabaseFiles_DropDatabaseIfExists_Call

type SchemaDatabaseFiles_DropDatabaseIfExists_Call struct {
	*mock.Call
}

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

func (*SchemaDatabaseFiles_DropDatabaseIfExists_Call) Return

func (*SchemaDatabaseFiles_DropDatabaseIfExists_Call) Run

func (*SchemaDatabaseFiles_DropDatabaseIfExists_Call) RunAndReturn

type SchemaDatabaseFiles_Expecter

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

func (*SchemaDatabaseFiles_Expecter) CreateDatabase

func (_e *SchemaDatabaseFiles_Expecter) CreateDatabase(_a0 interface{}) *SchemaDatabaseFiles_CreateDatabase_Call

CreateDatabase is a helper method to define mock.On call

  • _a0 string

func (*SchemaDatabaseFiles_Expecter) DropDatabaseIfExists

func (_e *SchemaDatabaseFiles_Expecter) DropDatabaseIfExists(_a0 interface{}) *SchemaDatabaseFiles_DropDatabaseIfExists_Call

DropDatabaseIfExists is a helper method to define mock.On call

  • _a0 string

type SchemaGrammar

type SchemaGrammar struct {
	mock.Mock
}

SchemaGrammar is an autogenerated mock type for the SchemaGrammar type

func NewSchemaGrammar

func NewSchemaGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaGrammar

NewSchemaGrammar creates a new instance of SchemaGrammar. 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 (*SchemaGrammar) CompileAdd

func (_m *SchemaGrammar) CompileAdd(blueprint driver.Blueprint, command *driver.Command) string

CompileAdd provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileChange

func (_m *SchemaGrammar) CompileChange(blueprint driver.Blueprint, command *driver.Command) []string

CompileChange provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileColumns

func (_m *SchemaGrammar) CompileColumns(schema string, table string) (string, error)

CompileColumns provides a mock function with given fields: schema, table

func (*SchemaGrammar) CompileComment

func (_m *SchemaGrammar) CompileComment(blueprint driver.Blueprint, command *driver.Command) string

CompileComment provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileCreate

func (_m *SchemaGrammar) CompileCreate(blueprint driver.Blueprint) string

CompileCreate provides a mock function with given fields: blueprint

func (*SchemaGrammar) CompileDefault

func (_m *SchemaGrammar) CompileDefault(blueprint driver.Blueprint, command *driver.Command) string

CompileDefault provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileDrop

func (_m *SchemaGrammar) CompileDrop(blueprint driver.Blueprint) string

CompileDrop provides a mock function with given fields: blueprint

func (*SchemaGrammar) CompileDropAllTables

func (_m *SchemaGrammar) CompileDropAllTables(schema string, tables []driver.Table) []string

CompileDropAllTables provides a mock function with given fields: schema, tables

func (*SchemaGrammar) CompileDropAllTypes

func (_m *SchemaGrammar) CompileDropAllTypes(schema string, types []driver.Type) []string

CompileDropAllTypes provides a mock function with given fields: schema, types

func (*SchemaGrammar) CompileDropAllViews

func (_m *SchemaGrammar) CompileDropAllViews(schema string, views []driver.View) []string

CompileDropAllViews provides a mock function with given fields: schema, views

func (*SchemaGrammar) CompileDropColumn

func (_m *SchemaGrammar) CompileDropColumn(blueprint driver.Blueprint, command *driver.Command) []string

CompileDropColumn provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileDropForeign

func (_m *SchemaGrammar) CompileDropForeign(blueprint driver.Blueprint, command *driver.Command) string

CompileDropForeign provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileDropFullText

func (_m *SchemaGrammar) CompileDropFullText(blueprint driver.Blueprint, command *driver.Command) string

CompileDropFullText provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileDropIfExists

func (_m *SchemaGrammar) CompileDropIfExists(blueprint driver.Blueprint) string

CompileDropIfExists provides a mock function with given fields: blueprint

func (*SchemaGrammar) CompileDropIndex

func (_m *SchemaGrammar) CompileDropIndex(blueprint driver.Blueprint, command *driver.Command) string

CompileDropIndex provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileDropPrimary

func (_m *SchemaGrammar) CompileDropPrimary(blueprint driver.Blueprint, command *driver.Command) string

CompileDropPrimary provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileDropUnique

func (_m *SchemaGrammar) CompileDropUnique(blueprint driver.Blueprint, command *driver.Command) string

CompileDropUnique provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileForeign

func (_m *SchemaGrammar) CompileForeign(blueprint driver.Blueprint, command *driver.Command) string

CompileForeign provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileForeignKeys

func (_m *SchemaGrammar) CompileForeignKeys(schema string, table string) string

CompileForeignKeys provides a mock function with given fields: schema, table

func (*SchemaGrammar) CompileFullText

func (_m *SchemaGrammar) CompileFullText(blueprint driver.Blueprint, command *driver.Command) string

CompileFullText provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileIndex

func (_m *SchemaGrammar) CompileIndex(blueprint driver.Blueprint, command *driver.Command) string

CompileIndex provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileIndexes

func (_m *SchemaGrammar) CompileIndexes(schema string, table string) (string, error)

CompileIndexes provides a mock function with given fields: schema, table

func (*SchemaGrammar) CompilePrimary

func (_m *SchemaGrammar) CompilePrimary(blueprint driver.Blueprint, command *driver.Command) string

CompilePrimary provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompilePrune

func (_m *SchemaGrammar) CompilePrune(database string) string

CompilePrune provides a mock function with given fields: database

func (*SchemaGrammar) CompileRename

func (_m *SchemaGrammar) CompileRename(blueprint driver.Blueprint, command *driver.Command) string

CompileRename provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileRenameColumn

func (_m *SchemaGrammar) CompileRenameColumn(blueprint driver.Blueprint, command *driver.Command, columns []driver.Column) (string, error)

CompileRenameColumn provides a mock function with given fields: blueprint, command, columns

func (*SchemaGrammar) CompileRenameIndex

func (_m *SchemaGrammar) CompileRenameIndex(blueprint driver.Blueprint, command *driver.Command, indexes []driver.Index) []string

CompileRenameIndex provides a mock function with given fields: blueprint, command, indexes

func (*SchemaGrammar) CompileTableComment

func (_m *SchemaGrammar) CompileTableComment(blueprint driver.Blueprint, command *driver.Command) string

CompileTableComment provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileTables

func (_m *SchemaGrammar) CompileTables(database string) string

CompileTables provides a mock function with given fields: database

func (*SchemaGrammar) CompileTypes

func (_m *SchemaGrammar) CompileTypes() string

CompileTypes provides a mock function with no fields

func (*SchemaGrammar) CompileUnique

func (_m *SchemaGrammar) CompileUnique(blueprint driver.Blueprint, command *driver.Command) string

CompileUnique provides a mock function with given fields: blueprint, command

func (*SchemaGrammar) CompileViews

func (_m *SchemaGrammar) CompileViews(database string) string

CompileViews provides a mock function with given fields: database

func (*SchemaGrammar) EXPECT

func (_m *SchemaGrammar) EXPECT() *SchemaGrammar_Expecter

func (*SchemaGrammar) GetAttributeCommands

func (_m *SchemaGrammar) GetAttributeCommands() []string

GetAttributeCommands provides a mock function with no fields

func (*SchemaGrammar) TypeBigInteger

func (_m *SchemaGrammar) TypeBigInteger(column driver.ColumnDefinition) string

TypeBigInteger provides a mock function with given fields: column

func (*SchemaGrammar) TypeBoolean

func (_m *SchemaGrammar) TypeBoolean(column driver.ColumnDefinition) string

TypeBoolean provides a mock function with given fields: column

func (*SchemaGrammar) TypeChar

func (_m *SchemaGrammar) TypeChar(column driver.ColumnDefinition) string

TypeChar provides a mock function with given fields: column

func (*SchemaGrammar) TypeDate

func (_m *SchemaGrammar) TypeDate(column driver.ColumnDefinition) string

TypeDate provides a mock function with given fields: column

func (*SchemaGrammar) TypeDateTime

func (_m *SchemaGrammar) TypeDateTime(column driver.ColumnDefinition) string

TypeDateTime provides a mock function with given fields: column

func (*SchemaGrammar) TypeDateTimeTz

func (_m *SchemaGrammar) TypeDateTimeTz(column driver.ColumnDefinition) string

TypeDateTimeTz provides a mock function with given fields: column

func (*SchemaGrammar) TypeDecimal

func (_m *SchemaGrammar) TypeDecimal(column driver.ColumnDefinition) string

TypeDecimal provides a mock function with given fields: column

func (*SchemaGrammar) TypeDouble

func (_m *SchemaGrammar) TypeDouble(column driver.ColumnDefinition) string

TypeDouble provides a mock function with given fields: column

func (*SchemaGrammar) TypeEnum

func (_m *SchemaGrammar) TypeEnum(column driver.ColumnDefinition) string

TypeEnum provides a mock function with given fields: column

func (*SchemaGrammar) TypeFloat

func (_m *SchemaGrammar) TypeFloat(column driver.ColumnDefinition) string

TypeFloat provides a mock function with given fields: column

func (*SchemaGrammar) TypeInteger

func (_m *SchemaGrammar) TypeInteger(column driver.ColumnDefinition) string

TypeInteger provides a mock function with given fields: column

func (*SchemaGrammar) TypeJson

func (_m *SchemaGrammar) TypeJson(column driver.ColumnDefinition) string

TypeJson provides a mock function with given fields: column

func (*SchemaGrammar) TypeJsonb

func (_m *SchemaGrammar) TypeJsonb(column driver.ColumnDefinition) string

TypeJsonb provides a mock function with given fields: column

func (*SchemaGrammar) TypeLongText

func (_m *SchemaGrammar) TypeLongText(column driver.ColumnDefinition) string

TypeLongText provides a mock function with given fields: column

func (*SchemaGrammar) TypeMediumInteger

func (_m *SchemaGrammar) TypeMediumInteger(column driver.ColumnDefinition) string

TypeMediumInteger provides a mock function with given fields: column

func (*SchemaGrammar) TypeMediumText

func (_m *SchemaGrammar) TypeMediumText(column driver.ColumnDefinition) string

TypeMediumText provides a mock function with given fields: column

func (*SchemaGrammar) TypeSmallInteger

func (_m *SchemaGrammar) TypeSmallInteger(column driver.ColumnDefinition) string

TypeSmallInteger provides a mock function with given fields: column

func (*SchemaGrammar) TypeString

func (_m *SchemaGrammar) TypeString(column driver.ColumnDefinition) string

TypeString provides a mock function with given fields: column

func (*SchemaGrammar) TypeText

func (_m *SchemaGrammar) TypeText(column driver.ColumnDefinition) string

TypeText provides a mock function with given fields: column

func (*SchemaGrammar) TypeTime

func (_m *SchemaGrammar) TypeTime(column driver.ColumnDefinition) string

TypeTime provides a mock function with given fields: column

func (*SchemaGrammar) TypeTimeTz

func (_m *SchemaGrammar) TypeTimeTz(column driver.ColumnDefinition) string

TypeTimeTz provides a mock function with given fields: column

func (*SchemaGrammar) TypeTimestamp

func (_m *SchemaGrammar) TypeTimestamp(column driver.ColumnDefinition) string

TypeTimestamp provides a mock function with given fields: column

func (*SchemaGrammar) TypeTimestampTz

func (_m *SchemaGrammar) TypeTimestampTz(column driver.ColumnDefinition) string

TypeTimestampTz provides a mock function with given fields: column

func (*SchemaGrammar) TypeTinyInteger

func (_m *SchemaGrammar) TypeTinyInteger(column driver.ColumnDefinition) string

TypeTinyInteger provides a mock function with given fields: column

func (*SchemaGrammar) TypeTinyText

func (_m *SchemaGrammar) TypeTinyText(column driver.ColumnDefinition) string

TypeTinyText provides a mock function with given fields: column

func (*SchemaGrammar) TypeUuid

func (_m *SchemaGrammar) TypeUuid(column driver.ColumnDefinition) string

TypeUuid provides a mock function with given fields: column

type SchemaGrammarWithVersionResolver

type SchemaGrammarWithVersionResolver struct {
	mock.Mock
}

SchemaGrammarWithVersionResolver is an autogenerated mock type for the SchemaGrammarWithVersionResolver type

func NewSchemaGrammarWithVersionResolver

func NewSchemaGrammarWithVersionResolver(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaGrammarWithVersionResolver

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

func (*SchemaGrammarWithVersionResolver) SetVersionResolver

func (_m *SchemaGrammarWithVersionResolver) SetVersionResolver(_a0 func() (string, error))

SetVersionResolver provides a mock function with given fields: _a0

type SchemaGrammarWithVersionResolver_Expecter

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

func (*SchemaGrammarWithVersionResolver_Expecter) SetVersionResolver

SetVersionResolver is a helper method to define mock.On call

  • _a0 func()(string , error)

type SchemaGrammarWithVersionResolver_SetVersionResolver_Call

type SchemaGrammarWithVersionResolver_SetVersionResolver_Call struct {
	*mock.Call
}

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

func (*SchemaGrammarWithVersionResolver_SetVersionResolver_Call) Return

func (*SchemaGrammarWithVersionResolver_SetVersionResolver_Call) Run

func (*SchemaGrammarWithVersionResolver_SetVersionResolver_Call) RunAndReturn

type SchemaGrammar_CompileAdd_Call

type SchemaGrammar_CompileAdd_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileAdd_Call) Return

func (*SchemaGrammar_CompileAdd_Call) Run

func (*SchemaGrammar_CompileAdd_Call) RunAndReturn

type SchemaGrammar_CompileChange_Call

type SchemaGrammar_CompileChange_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileChange_Call) Return

func (*SchemaGrammar_CompileChange_Call) Run

func (*SchemaGrammar_CompileChange_Call) RunAndReturn

type SchemaGrammar_CompileColumns_Call

type SchemaGrammar_CompileColumns_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileColumns_Call) Return

func (*SchemaGrammar_CompileColumns_Call) Run

func (*SchemaGrammar_CompileColumns_Call) RunAndReturn

type SchemaGrammar_CompileComment_Call

type SchemaGrammar_CompileComment_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileComment_Call) Return

func (*SchemaGrammar_CompileComment_Call) Run

func (*SchemaGrammar_CompileComment_Call) RunAndReturn

type SchemaGrammar_CompileCreate_Call

type SchemaGrammar_CompileCreate_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileCreate_Call) Return

func (*SchemaGrammar_CompileCreate_Call) Run

func (*SchemaGrammar_CompileCreate_Call) RunAndReturn

type SchemaGrammar_CompileDefault_Call

type SchemaGrammar_CompileDefault_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDefault_Call) Return

func (*SchemaGrammar_CompileDefault_Call) Run

func (*SchemaGrammar_CompileDefault_Call) RunAndReturn

type SchemaGrammar_CompileDropAllTables_Call

type SchemaGrammar_CompileDropAllTables_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropAllTables_Call) Return

func (*SchemaGrammar_CompileDropAllTables_Call) Run

func (*SchemaGrammar_CompileDropAllTables_Call) RunAndReturn

type SchemaGrammar_CompileDropAllTypes_Call

type SchemaGrammar_CompileDropAllTypes_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropAllTypes_Call) Return

func (*SchemaGrammar_CompileDropAllTypes_Call) Run

func (*SchemaGrammar_CompileDropAllTypes_Call) RunAndReturn

type SchemaGrammar_CompileDropAllViews_Call

type SchemaGrammar_CompileDropAllViews_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropAllViews_Call) Return

func (*SchemaGrammar_CompileDropAllViews_Call) Run

func (*SchemaGrammar_CompileDropAllViews_Call) RunAndReturn

type SchemaGrammar_CompileDropColumn_Call

type SchemaGrammar_CompileDropColumn_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropColumn_Call) Return

func (*SchemaGrammar_CompileDropColumn_Call) Run

func (*SchemaGrammar_CompileDropColumn_Call) RunAndReturn

type SchemaGrammar_CompileDropForeign_Call

type SchemaGrammar_CompileDropForeign_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropForeign_Call) Return

func (*SchemaGrammar_CompileDropForeign_Call) Run

func (*SchemaGrammar_CompileDropForeign_Call) RunAndReturn

type SchemaGrammar_CompileDropFullText_Call

type SchemaGrammar_CompileDropFullText_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropFullText_Call) Return

func (*SchemaGrammar_CompileDropFullText_Call) Run

func (*SchemaGrammar_CompileDropFullText_Call) RunAndReturn

type SchemaGrammar_CompileDropIfExists_Call

type SchemaGrammar_CompileDropIfExists_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropIfExists_Call) Return

func (*SchemaGrammar_CompileDropIfExists_Call) Run

func (*SchemaGrammar_CompileDropIfExists_Call) RunAndReturn

type SchemaGrammar_CompileDropIndex_Call

type SchemaGrammar_CompileDropIndex_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropIndex_Call) Return

func (*SchemaGrammar_CompileDropIndex_Call) Run

func (*SchemaGrammar_CompileDropIndex_Call) RunAndReturn

type SchemaGrammar_CompileDropPrimary_Call

type SchemaGrammar_CompileDropPrimary_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropPrimary_Call) Return

func (*SchemaGrammar_CompileDropPrimary_Call) Run

func (*SchemaGrammar_CompileDropPrimary_Call) RunAndReturn

type SchemaGrammar_CompileDropUnique_Call

type SchemaGrammar_CompileDropUnique_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDropUnique_Call) Return

func (*SchemaGrammar_CompileDropUnique_Call) Run

func (*SchemaGrammar_CompileDropUnique_Call) RunAndReturn

type SchemaGrammar_CompileDrop_Call

type SchemaGrammar_CompileDrop_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileDrop_Call) Return

func (*SchemaGrammar_CompileDrop_Call) Run

func (*SchemaGrammar_CompileDrop_Call) RunAndReturn

type SchemaGrammar_CompileForeignKeys_Call

type SchemaGrammar_CompileForeignKeys_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileForeignKeys_Call) Return

func (*SchemaGrammar_CompileForeignKeys_Call) Run

func (*SchemaGrammar_CompileForeignKeys_Call) RunAndReturn

type SchemaGrammar_CompileForeign_Call

type SchemaGrammar_CompileForeign_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileForeign_Call) Return

func (*SchemaGrammar_CompileForeign_Call) Run

func (*SchemaGrammar_CompileForeign_Call) RunAndReturn

type SchemaGrammar_CompileFullText_Call

type SchemaGrammar_CompileFullText_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileFullText_Call) Return

func (*SchemaGrammar_CompileFullText_Call) Run

func (*SchemaGrammar_CompileFullText_Call) RunAndReturn

type SchemaGrammar_CompileIndex_Call

type SchemaGrammar_CompileIndex_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileIndex_Call) Return

func (*SchemaGrammar_CompileIndex_Call) Run

func (*SchemaGrammar_CompileIndex_Call) RunAndReturn

type SchemaGrammar_CompileIndexes_Call

type SchemaGrammar_CompileIndexes_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileIndexes_Call) Return

func (*SchemaGrammar_CompileIndexes_Call) Run

func (*SchemaGrammar_CompileIndexes_Call) RunAndReturn

type SchemaGrammar_CompilePrimary_Call

type SchemaGrammar_CompilePrimary_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompilePrimary_Call) Return

func (*SchemaGrammar_CompilePrimary_Call) Run

func (*SchemaGrammar_CompilePrimary_Call) RunAndReturn

type SchemaGrammar_CompilePrune_Call

type SchemaGrammar_CompilePrune_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompilePrune_Call) Return

func (*SchemaGrammar_CompilePrune_Call) Run

func (*SchemaGrammar_CompilePrune_Call) RunAndReturn

type SchemaGrammar_CompileRenameColumn_Call

type SchemaGrammar_CompileRenameColumn_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileRenameColumn_Call) Return

func (*SchemaGrammar_CompileRenameColumn_Call) Run

func (*SchemaGrammar_CompileRenameColumn_Call) RunAndReturn

type SchemaGrammar_CompileRenameIndex_Call

type SchemaGrammar_CompileRenameIndex_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileRenameIndex_Call) Return

func (*SchemaGrammar_CompileRenameIndex_Call) Run

func (*SchemaGrammar_CompileRenameIndex_Call) RunAndReturn

type SchemaGrammar_CompileRename_Call

type SchemaGrammar_CompileRename_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileRename_Call) Return

func (*SchemaGrammar_CompileRename_Call) Run

func (*SchemaGrammar_CompileRename_Call) RunAndReturn

type SchemaGrammar_CompileTableComment_Call

type SchemaGrammar_CompileTableComment_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileTableComment_Call) Return

func (*SchemaGrammar_CompileTableComment_Call) Run

func (*SchemaGrammar_CompileTableComment_Call) RunAndReturn

type SchemaGrammar_CompileTables_Call

type SchemaGrammar_CompileTables_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileTables_Call) Return

func (*SchemaGrammar_CompileTables_Call) Run

func (*SchemaGrammar_CompileTables_Call) RunAndReturn

type SchemaGrammar_CompileTypes_Call

type SchemaGrammar_CompileTypes_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileTypes_Call) Return

func (*SchemaGrammar_CompileTypes_Call) Run

func (*SchemaGrammar_CompileTypes_Call) RunAndReturn

type SchemaGrammar_CompileUnique_Call

type SchemaGrammar_CompileUnique_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileUnique_Call) Return

func (*SchemaGrammar_CompileUnique_Call) Run

func (*SchemaGrammar_CompileUnique_Call) RunAndReturn

type SchemaGrammar_CompileViews_Call

type SchemaGrammar_CompileViews_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_CompileViews_Call) Return

func (*SchemaGrammar_CompileViews_Call) Run

func (*SchemaGrammar_CompileViews_Call) RunAndReturn

type SchemaGrammar_Expecter

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

func (*SchemaGrammar_Expecter) CompileAdd

func (_e *SchemaGrammar_Expecter) CompileAdd(blueprint interface{}, command interface{}) *SchemaGrammar_CompileAdd_Call

CompileAdd is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileChange

func (_e *SchemaGrammar_Expecter) CompileChange(blueprint interface{}, command interface{}) *SchemaGrammar_CompileChange_Call

CompileChange is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileColumns

func (_e *SchemaGrammar_Expecter) CompileColumns(schema interface{}, table interface{}) *SchemaGrammar_CompileColumns_Call

CompileColumns is a helper method to define mock.On call

  • schema string
  • table string

func (*SchemaGrammar_Expecter) CompileComment

func (_e *SchemaGrammar_Expecter) CompileComment(blueprint interface{}, command interface{}) *SchemaGrammar_CompileComment_Call

CompileComment is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileCreate

func (_e *SchemaGrammar_Expecter) CompileCreate(blueprint interface{}) *SchemaGrammar_CompileCreate_Call

CompileCreate is a helper method to define mock.On call

  • blueprint driver.Blueprint

func (*SchemaGrammar_Expecter) CompileDefault

func (_e *SchemaGrammar_Expecter) CompileDefault(blueprint interface{}, command interface{}) *SchemaGrammar_CompileDefault_Call

CompileDefault is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileDrop

func (_e *SchemaGrammar_Expecter) CompileDrop(blueprint interface{}) *SchemaGrammar_CompileDrop_Call

CompileDrop is a helper method to define mock.On call

  • blueprint driver.Blueprint

func (*SchemaGrammar_Expecter) CompileDropAllTables

func (_e *SchemaGrammar_Expecter) CompileDropAllTables(schema interface{}, tables interface{}) *SchemaGrammar_CompileDropAllTables_Call

CompileDropAllTables is a helper method to define mock.On call

  • schema string
  • tables []driver.Table

func (*SchemaGrammar_Expecter) CompileDropAllTypes

func (_e *SchemaGrammar_Expecter) CompileDropAllTypes(schema interface{}, types interface{}) *SchemaGrammar_CompileDropAllTypes_Call

CompileDropAllTypes is a helper method to define mock.On call

  • schema string
  • types []driver.Type

func (*SchemaGrammar_Expecter) CompileDropAllViews

func (_e *SchemaGrammar_Expecter) CompileDropAllViews(schema interface{}, views interface{}) *SchemaGrammar_CompileDropAllViews_Call

CompileDropAllViews is a helper method to define mock.On call

  • schema string
  • views []driver.View

func (*SchemaGrammar_Expecter) CompileDropColumn

func (_e *SchemaGrammar_Expecter) CompileDropColumn(blueprint interface{}, command interface{}) *SchemaGrammar_CompileDropColumn_Call

CompileDropColumn is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileDropForeign

func (_e *SchemaGrammar_Expecter) CompileDropForeign(blueprint interface{}, command interface{}) *SchemaGrammar_CompileDropForeign_Call

CompileDropForeign is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileDropFullText

func (_e *SchemaGrammar_Expecter) CompileDropFullText(blueprint interface{}, command interface{}) *SchemaGrammar_CompileDropFullText_Call

CompileDropFullText is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileDropIfExists

func (_e *SchemaGrammar_Expecter) CompileDropIfExists(blueprint interface{}) *SchemaGrammar_CompileDropIfExists_Call

CompileDropIfExists is a helper method to define mock.On call

  • blueprint driver.Blueprint

func (*SchemaGrammar_Expecter) CompileDropIndex

func (_e *SchemaGrammar_Expecter) CompileDropIndex(blueprint interface{}, command interface{}) *SchemaGrammar_CompileDropIndex_Call

CompileDropIndex is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileDropPrimary

func (_e *SchemaGrammar_Expecter) CompileDropPrimary(blueprint interface{}, command interface{}) *SchemaGrammar_CompileDropPrimary_Call

CompileDropPrimary is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileDropUnique

func (_e *SchemaGrammar_Expecter) CompileDropUnique(blueprint interface{}, command interface{}) *SchemaGrammar_CompileDropUnique_Call

CompileDropUnique is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileForeign

func (_e *SchemaGrammar_Expecter) CompileForeign(blueprint interface{}, command interface{}) *SchemaGrammar_CompileForeign_Call

CompileForeign is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileForeignKeys

func (_e *SchemaGrammar_Expecter) CompileForeignKeys(schema interface{}, table interface{}) *SchemaGrammar_CompileForeignKeys_Call

CompileForeignKeys is a helper method to define mock.On call

  • schema string
  • table string

func (*SchemaGrammar_Expecter) CompileFullText

func (_e *SchemaGrammar_Expecter) CompileFullText(blueprint interface{}, command interface{}) *SchemaGrammar_CompileFullText_Call

CompileFullText is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileIndex

func (_e *SchemaGrammar_Expecter) CompileIndex(blueprint interface{}, command interface{}) *SchemaGrammar_CompileIndex_Call

CompileIndex is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileIndexes

func (_e *SchemaGrammar_Expecter) CompileIndexes(schema interface{}, table interface{}) *SchemaGrammar_CompileIndexes_Call

CompileIndexes is a helper method to define mock.On call

  • schema string
  • table string

func (*SchemaGrammar_Expecter) CompilePrimary

func (_e *SchemaGrammar_Expecter) CompilePrimary(blueprint interface{}, command interface{}) *SchemaGrammar_CompilePrimary_Call

CompilePrimary is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompilePrune

func (_e *SchemaGrammar_Expecter) CompilePrune(database interface{}) *SchemaGrammar_CompilePrune_Call

CompilePrune is a helper method to define mock.On call

  • database string

func (*SchemaGrammar_Expecter) CompileRename

func (_e *SchemaGrammar_Expecter) CompileRename(blueprint interface{}, command interface{}) *SchemaGrammar_CompileRename_Call

CompileRename is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileRenameColumn

func (_e *SchemaGrammar_Expecter) CompileRenameColumn(blueprint interface{}, command interface{}, columns interface{}) *SchemaGrammar_CompileRenameColumn_Call

CompileRenameColumn is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command
  • columns []driver.Column

func (*SchemaGrammar_Expecter) CompileRenameIndex

func (_e *SchemaGrammar_Expecter) CompileRenameIndex(blueprint interface{}, command interface{}, indexes interface{}) *SchemaGrammar_CompileRenameIndex_Call

CompileRenameIndex is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command
  • indexes []driver.Index

func (*SchemaGrammar_Expecter) CompileTableComment

func (_e *SchemaGrammar_Expecter) CompileTableComment(blueprint interface{}, command interface{}) *SchemaGrammar_CompileTableComment_Call

CompileTableComment is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileTables

func (_e *SchemaGrammar_Expecter) CompileTables(database interface{}) *SchemaGrammar_CompileTables_Call

CompileTables is a helper method to define mock.On call

  • database string

func (*SchemaGrammar_Expecter) CompileTypes

CompileTypes is a helper method to define mock.On call

func (*SchemaGrammar_Expecter) CompileUnique

func (_e *SchemaGrammar_Expecter) CompileUnique(blueprint interface{}, command interface{}) *SchemaGrammar_CompileUnique_Call

CompileUnique is a helper method to define mock.On call

  • blueprint driver.Blueprint
  • command *driver.Command

func (*SchemaGrammar_Expecter) CompileViews

func (_e *SchemaGrammar_Expecter) CompileViews(database interface{}) *SchemaGrammar_CompileViews_Call

CompileViews is a helper method to define mock.On call

  • database string

func (*SchemaGrammar_Expecter) GetAttributeCommands

GetAttributeCommands is a helper method to define mock.On call

func (*SchemaGrammar_Expecter) TypeBigInteger

func (_e *SchemaGrammar_Expecter) TypeBigInteger(column interface{}) *SchemaGrammar_TypeBigInteger_Call

TypeBigInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeBoolean

func (_e *SchemaGrammar_Expecter) TypeBoolean(column interface{}) *SchemaGrammar_TypeBoolean_Call

TypeBoolean is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeChar

func (_e *SchemaGrammar_Expecter) TypeChar(column interface{}) *SchemaGrammar_TypeChar_Call

TypeChar is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeDate

func (_e *SchemaGrammar_Expecter) TypeDate(column interface{}) *SchemaGrammar_TypeDate_Call

TypeDate is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeDateTime

func (_e *SchemaGrammar_Expecter) TypeDateTime(column interface{}) *SchemaGrammar_TypeDateTime_Call

TypeDateTime is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeDateTimeTz

func (_e *SchemaGrammar_Expecter) TypeDateTimeTz(column interface{}) *SchemaGrammar_TypeDateTimeTz_Call

TypeDateTimeTz is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeDecimal

func (_e *SchemaGrammar_Expecter) TypeDecimal(column interface{}) *SchemaGrammar_TypeDecimal_Call

TypeDecimal is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeDouble

func (_e *SchemaGrammar_Expecter) TypeDouble(column interface{}) *SchemaGrammar_TypeDouble_Call

TypeDouble is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeEnum

func (_e *SchemaGrammar_Expecter) TypeEnum(column interface{}) *SchemaGrammar_TypeEnum_Call

TypeEnum is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeFloat

func (_e *SchemaGrammar_Expecter) TypeFloat(column interface{}) *SchemaGrammar_TypeFloat_Call

TypeFloat is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeInteger

func (_e *SchemaGrammar_Expecter) TypeInteger(column interface{}) *SchemaGrammar_TypeInteger_Call

TypeInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeJson

func (_e *SchemaGrammar_Expecter) TypeJson(column interface{}) *SchemaGrammar_TypeJson_Call

TypeJson is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeJsonb

func (_e *SchemaGrammar_Expecter) TypeJsonb(column interface{}) *SchemaGrammar_TypeJsonb_Call

TypeJsonb is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeLongText

func (_e *SchemaGrammar_Expecter) TypeLongText(column interface{}) *SchemaGrammar_TypeLongText_Call

TypeLongText is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeMediumInteger

func (_e *SchemaGrammar_Expecter) TypeMediumInteger(column interface{}) *SchemaGrammar_TypeMediumInteger_Call

TypeMediumInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeMediumText

func (_e *SchemaGrammar_Expecter) TypeMediumText(column interface{}) *SchemaGrammar_TypeMediumText_Call

TypeMediumText is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeSmallInteger

func (_e *SchemaGrammar_Expecter) TypeSmallInteger(column interface{}) *SchemaGrammar_TypeSmallInteger_Call

TypeSmallInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeString

func (_e *SchemaGrammar_Expecter) TypeString(column interface{}) *SchemaGrammar_TypeString_Call

TypeString is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeText

func (_e *SchemaGrammar_Expecter) TypeText(column interface{}) *SchemaGrammar_TypeText_Call

TypeText is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeTime

func (_e *SchemaGrammar_Expecter) TypeTime(column interface{}) *SchemaGrammar_TypeTime_Call

TypeTime is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeTimeTz

func (_e *SchemaGrammar_Expecter) TypeTimeTz(column interface{}) *SchemaGrammar_TypeTimeTz_Call

TypeTimeTz is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeTimestamp

func (_e *SchemaGrammar_Expecter) TypeTimestamp(column interface{}) *SchemaGrammar_TypeTimestamp_Call

TypeTimestamp is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeTimestampTz

func (_e *SchemaGrammar_Expecter) TypeTimestampTz(column interface{}) *SchemaGrammar_TypeTimestampTz_Call

TypeTimestampTz is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeTinyInteger

func (_e *SchemaGrammar_Expecter) TypeTinyInteger(column interface{}) *SchemaGrammar_TypeTinyInteger_Call

TypeTinyInteger is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeTinyText

func (_e *SchemaGrammar_Expecter) TypeTinyText(column interface{}) *SchemaGrammar_TypeTinyText_Call

TypeTinyText is a helper method to define mock.On call

  • column driver.ColumnDefinition

func (*SchemaGrammar_Expecter) TypeUuid

func (_e *SchemaGrammar_Expecter) TypeUuid(column interface{}) *SchemaGrammar_TypeUuid_Call

TypeUuid is a helper method to define mock.On call

  • column driver.ColumnDefinition

type SchemaGrammar_GetAttributeCommands_Call

type SchemaGrammar_GetAttributeCommands_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_GetAttributeCommands_Call) Return

func (*SchemaGrammar_GetAttributeCommands_Call) Run

func (*SchemaGrammar_GetAttributeCommands_Call) RunAndReturn

type SchemaGrammar_TypeBigInteger_Call

type SchemaGrammar_TypeBigInteger_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeBigInteger_Call) Return

func (*SchemaGrammar_TypeBigInteger_Call) Run

func (*SchemaGrammar_TypeBigInteger_Call) RunAndReturn

type SchemaGrammar_TypeBoolean_Call

type SchemaGrammar_TypeBoolean_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeBoolean_Call) Return

func (*SchemaGrammar_TypeBoolean_Call) Run

func (*SchemaGrammar_TypeBoolean_Call) RunAndReturn

type SchemaGrammar_TypeChar_Call

type SchemaGrammar_TypeChar_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeChar_Call) Return

func (*SchemaGrammar_TypeChar_Call) Run

func (*SchemaGrammar_TypeChar_Call) RunAndReturn

type SchemaGrammar_TypeDateTimeTz_Call

type SchemaGrammar_TypeDateTimeTz_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeDateTimeTz_Call) Return

func (*SchemaGrammar_TypeDateTimeTz_Call) Run

func (*SchemaGrammar_TypeDateTimeTz_Call) RunAndReturn

type SchemaGrammar_TypeDateTime_Call

type SchemaGrammar_TypeDateTime_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeDateTime_Call) Return

func (*SchemaGrammar_TypeDateTime_Call) Run

func (*SchemaGrammar_TypeDateTime_Call) RunAndReturn

type SchemaGrammar_TypeDate_Call

type SchemaGrammar_TypeDate_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeDate_Call) Return

func (*SchemaGrammar_TypeDate_Call) Run

func (*SchemaGrammar_TypeDate_Call) RunAndReturn

type SchemaGrammar_TypeDecimal_Call

type SchemaGrammar_TypeDecimal_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeDecimal_Call) Return

func (*SchemaGrammar_TypeDecimal_Call) Run

func (*SchemaGrammar_TypeDecimal_Call) RunAndReturn

type SchemaGrammar_TypeDouble_Call

type SchemaGrammar_TypeDouble_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeDouble_Call) Return

func (*SchemaGrammar_TypeDouble_Call) Run

func (*SchemaGrammar_TypeDouble_Call) RunAndReturn

type SchemaGrammar_TypeEnum_Call

type SchemaGrammar_TypeEnum_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeEnum_Call) Return

func (*SchemaGrammar_TypeEnum_Call) Run

func (*SchemaGrammar_TypeEnum_Call) RunAndReturn

type SchemaGrammar_TypeFloat_Call

type SchemaGrammar_TypeFloat_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeFloat_Call) Return

func (*SchemaGrammar_TypeFloat_Call) Run

func (*SchemaGrammar_TypeFloat_Call) RunAndReturn

type SchemaGrammar_TypeInteger_Call

type SchemaGrammar_TypeInteger_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeInteger_Call) Return

func (*SchemaGrammar_TypeInteger_Call) Run

func (*SchemaGrammar_TypeInteger_Call) RunAndReturn

type SchemaGrammar_TypeJson_Call

type SchemaGrammar_TypeJson_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeJson_Call) Return

func (*SchemaGrammar_TypeJson_Call) Run

func (*SchemaGrammar_TypeJson_Call) RunAndReturn

type SchemaGrammar_TypeJsonb_Call

type SchemaGrammar_TypeJsonb_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeJsonb_Call) Return

func (*SchemaGrammar_TypeJsonb_Call) Run

func (*SchemaGrammar_TypeJsonb_Call) RunAndReturn

type SchemaGrammar_TypeLongText_Call

type SchemaGrammar_TypeLongText_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeLongText_Call) Return

func (*SchemaGrammar_TypeLongText_Call) Run

func (*SchemaGrammar_TypeLongText_Call) RunAndReturn

type SchemaGrammar_TypeMediumInteger_Call

type SchemaGrammar_TypeMediumInteger_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeMediumInteger_Call) Return

func (*SchemaGrammar_TypeMediumInteger_Call) Run

func (*SchemaGrammar_TypeMediumInteger_Call) RunAndReturn

type SchemaGrammar_TypeMediumText_Call

type SchemaGrammar_TypeMediumText_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeMediumText_Call) Return

func (*SchemaGrammar_TypeMediumText_Call) Run

func (*SchemaGrammar_TypeMediumText_Call) RunAndReturn

type SchemaGrammar_TypeSmallInteger_Call

type SchemaGrammar_TypeSmallInteger_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeSmallInteger_Call) Return

func (*SchemaGrammar_TypeSmallInteger_Call) Run

func (*SchemaGrammar_TypeSmallInteger_Call) RunAndReturn

type SchemaGrammar_TypeString_Call

type SchemaGrammar_TypeString_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeString_Call) Return

func (*SchemaGrammar_TypeString_Call) Run

func (*SchemaGrammar_TypeString_Call) RunAndReturn

type SchemaGrammar_TypeText_Call

type SchemaGrammar_TypeText_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeText_Call) Return

func (*SchemaGrammar_TypeText_Call) Run

func (*SchemaGrammar_TypeText_Call) RunAndReturn

type SchemaGrammar_TypeTimeTz_Call

type SchemaGrammar_TypeTimeTz_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeTimeTz_Call) Return

func (*SchemaGrammar_TypeTimeTz_Call) Run

func (*SchemaGrammar_TypeTimeTz_Call) RunAndReturn

type SchemaGrammar_TypeTime_Call

type SchemaGrammar_TypeTime_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeTime_Call) Return

func (*SchemaGrammar_TypeTime_Call) Run

func (*SchemaGrammar_TypeTime_Call) RunAndReturn

type SchemaGrammar_TypeTimestampTz_Call

type SchemaGrammar_TypeTimestampTz_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeTimestampTz_Call) Return

func (*SchemaGrammar_TypeTimestampTz_Call) Run

func (*SchemaGrammar_TypeTimestampTz_Call) RunAndReturn

type SchemaGrammar_TypeTimestamp_Call

type SchemaGrammar_TypeTimestamp_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeTimestamp_Call) Return

func (*SchemaGrammar_TypeTimestamp_Call) Run

func (*SchemaGrammar_TypeTimestamp_Call) RunAndReturn

type SchemaGrammar_TypeTinyInteger_Call

type SchemaGrammar_TypeTinyInteger_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeTinyInteger_Call) Return

func (*SchemaGrammar_TypeTinyInteger_Call) Run

func (*SchemaGrammar_TypeTinyInteger_Call) RunAndReturn

type SchemaGrammar_TypeTinyText_Call

type SchemaGrammar_TypeTinyText_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeTinyText_Call) Return

func (*SchemaGrammar_TypeTinyText_Call) Run

func (*SchemaGrammar_TypeTinyText_Call) RunAndReturn

type SchemaGrammar_TypeUuid_Call

type SchemaGrammar_TypeUuid_Call struct {
	*mock.Call
}

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

func (*SchemaGrammar_TypeUuid_Call) Return

func (*SchemaGrammar_TypeUuid_Call) Run

func (*SchemaGrammar_TypeUuid_Call) RunAndReturn

type SchemaMetadataGrammar

type SchemaMetadataGrammar struct {
	mock.Mock
}

SchemaMetadataGrammar is an autogenerated mock type for the SchemaMetadataGrammar type

func NewSchemaMetadataGrammar

func NewSchemaMetadataGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaMetadataGrammar

NewSchemaMetadataGrammar creates a new instance of SchemaMetadataGrammar. 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 (*SchemaMetadataGrammar) CompileSchemaMetadata

func (_m *SchemaMetadataGrammar) CompileSchemaMetadata(_a0 driver.SchemaMetadataQuery) (driver.SchemaStatement, error)

CompileSchemaMetadata provides a mock function with given fields: _a0

func (*SchemaMetadataGrammar) CurrentSchemas

func (_m *SchemaMetadataGrammar) CurrentSchemas(database string) []string

CurrentSchemas provides a mock function with given fields: database

func (*SchemaMetadataGrammar) EXPECT

type SchemaMetadataGrammar_CompileSchemaMetadata_Call

type SchemaMetadataGrammar_CompileSchemaMetadata_Call struct {
	*mock.Call
}

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

func (*SchemaMetadataGrammar_CompileSchemaMetadata_Call) Return

func (*SchemaMetadataGrammar_CompileSchemaMetadata_Call) Run

type SchemaMetadataGrammar_CurrentSchemas_Call

type SchemaMetadataGrammar_CurrentSchemas_Call struct {
	*mock.Call
}

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

func (*SchemaMetadataGrammar_CurrentSchemas_Call) Return

func (*SchemaMetadataGrammar_CurrentSchemas_Call) Run

func (*SchemaMetadataGrammar_CurrentSchemas_Call) RunAndReturn

type SchemaMetadataGrammar_Expecter

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

func (*SchemaMetadataGrammar_Expecter) CompileSchemaMetadata

func (_e *SchemaMetadataGrammar_Expecter) CompileSchemaMetadata(_a0 interface{}) *SchemaMetadataGrammar_CompileSchemaMetadata_Call

CompileSchemaMetadata is a helper method to define mock.On call

  • _a0 driver.SchemaMetadataQuery

func (*SchemaMetadataGrammar_Expecter) CurrentSchemas

func (_e *SchemaMetadataGrammar_Expecter) CurrentSchemas(database interface{}) *SchemaMetadataGrammar_CurrentSchemas_Call

CurrentSchemas is a helper method to define mock.On call

  • database string

type SchemaMetadataResolver

type SchemaMetadataResolver struct {
	mock.Mock
}

SchemaMetadataResolver is an autogenerated mock type for the SchemaMetadataResolver type

func NewSchemaMetadataResolver

func NewSchemaMetadataResolver(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaMetadataResolver

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

func (*SchemaMetadataResolver) ResolveSchemaMetadata

ResolveSchemaMetadata provides a mock function with given fields: _a0, _a1

type SchemaMetadataResolver_Expecter

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

func (*SchemaMetadataResolver_Expecter) ResolveSchemaMetadata

func (_e *SchemaMetadataResolver_Expecter) ResolveSchemaMetadata(_a0 interface{}, _a1 interface{}) *SchemaMetadataResolver_ResolveSchemaMetadata_Call

ResolveSchemaMetadata is a helper method to define mock.On call

  • _a0 driver.SchemaMetadataQuery
  • _a1 driver.SchemaCatalog

type SchemaMetadataResolver_ResolveSchemaMetadata_Call

type SchemaMetadataResolver_ResolveSchemaMetadata_Call struct {
	*mock.Call
}

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

func (*SchemaMetadataResolver_ResolveSchemaMetadata_Call) Return

func (*SchemaMetadataResolver_ResolveSchemaMetadata_Call) Run

type SchemaOperationPlanner

type SchemaOperationPlanner struct {
	mock.Mock
}

SchemaOperationPlanner is an autogenerated mock type for the SchemaOperationPlanner type

func NewSchemaOperationPlanner

func NewSchemaOperationPlanner(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaOperationPlanner

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

func (*SchemaOperationPlanner) SchemaOperationPolicy

SchemaOperationPolicy provides a mock function with given fields: _a0

type SchemaOperationPlanner_Expecter

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

func (*SchemaOperationPlanner_Expecter) SchemaOperationPolicy

func (_e *SchemaOperationPlanner_Expecter) SchemaOperationPolicy(_a0 interface{}) *SchemaOperationPlanner_SchemaOperationPolicy_Call

SchemaOperationPolicy is a helper method to define mock.On call

  • _a0 driver.SchemaOperation

type SchemaOperationPlanner_SchemaOperationPolicy_Call

type SchemaOperationPlanner_SchemaOperationPolicy_Call struct {
	*mock.Call
}

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

func (*SchemaOperationPlanner_SchemaOperationPolicy_Call) Return

func (*SchemaOperationPlanner_SchemaOperationPolicy_Call) Run

type SchemaOperationsGrammar

type SchemaOperationsGrammar struct {
	mock.Mock
}

SchemaOperationsGrammar is an autogenerated mock type for the SchemaOperationsGrammar type

func NewSchemaOperationsGrammar

func NewSchemaOperationsGrammar(t interface {
	mock.TestingT
	Cleanup(func())
}) *SchemaOperationsGrammar

NewSchemaOperationsGrammar creates a new instance of SchemaOperationsGrammar. 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 (*SchemaOperationsGrammar) CompileSchemaOperation

func (_m *SchemaOperationsGrammar) CompileSchemaOperation(_a0 driver.SchemaOperation) ([]driver.SchemaStatement, error)

CompileSchemaOperation provides a mock function with given fields: _a0

func (*SchemaOperationsGrammar) EXPECT

func (*SchemaOperationsGrammar) ForeignKeyStateQuery

func (_m *SchemaOperationsGrammar) ForeignKeyStateQuery() string

ForeignKeyStateQuery provides a mock function with no fields

type SchemaOperationsGrammar_CompileSchemaOperation_Call

type SchemaOperationsGrammar_CompileSchemaOperation_Call struct {
	*mock.Call
}

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

func (*SchemaOperationsGrammar_CompileSchemaOperation_Call) Return

func (*SchemaOperationsGrammar_CompileSchemaOperation_Call) Run

func (*SchemaOperationsGrammar_CompileSchemaOperation_Call) RunAndReturn

type SchemaOperationsGrammar_Expecter

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

func (*SchemaOperationsGrammar_Expecter) CompileSchemaOperation

CompileSchemaOperation is a helper method to define mock.On call

  • _a0 driver.SchemaOperation

func (*SchemaOperationsGrammar_Expecter) ForeignKeyStateQuery

ForeignKeyStateQuery is a helper method to define mock.On call

type SchemaOperationsGrammar_ForeignKeyStateQuery_Call

type SchemaOperationsGrammar_ForeignKeyStateQuery_Call struct {
	*mock.Call
}

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

func (*SchemaOperationsGrammar_ForeignKeyStateQuery_Call) Return

func (*SchemaOperationsGrammar_ForeignKeyStateQuery_Call) Run

func (*SchemaOperationsGrammar_ForeignKeyStateQuery_Call) RunAndReturn

Jump to

Keyboard shortcuts

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