Documentation
¶
Index ¶
- type Blueprint
- func (_m *Blueprint) BigIncrements(column string) schema.ColumnDefinition
- func (_m *Blueprint) BigInteger(column string) schema.ColumnDefinition
- func (_m *Blueprint) Boolean(column string) schema.ColumnDefinition
- func (_m *Blueprint) Build(query orm.Query, grammar schema.Grammar) error
- func (_m *Blueprint) Char(column string, length ...int) schema.ColumnDefinition
- func (_m *Blueprint) Column(column string, ttype string) schema.ColumnDefinition
- func (_m *Blueprint) Create()
- func (_m *Blueprint) Date(column string) schema.ColumnDefinition
- func (_m *Blueprint) DateTime(column string, precision ...int) schema.ColumnDefinition
- func (_m *Blueprint) DateTimeTz(column string, precision ...int) schema.ColumnDefinition
- func (_m *Blueprint) Decimal(column string) schema.ColumnDefinition
- func (_m *Blueprint) Double(column string) schema.ColumnDefinition
- func (_m *Blueprint) Drop()
- func (_m *Blueprint) DropColumn(column ...string)
- func (_m *Blueprint) DropForeign(column ...string)
- func (_m *Blueprint) DropForeignByName(name string)
- func (_m *Blueprint) DropFullText(column ...string)
- func (_m *Blueprint) DropFullTextByName(name string)
- func (_m *Blueprint) DropIfExists()
- func (_m *Blueprint) DropIndex(column ...string)
- func (_m *Blueprint) DropIndexByName(name string)
- func (_m *Blueprint) DropPrimary(column ...string)
- func (_m *Blueprint) DropSoftDeletes(column ...string)
- func (_m *Blueprint) DropSoftDeletesTz(column ...string)
- func (_m *Blueprint) DropTimestamps()
- func (_m *Blueprint) DropTimestampsTz()
- func (_m *Blueprint) DropUnique(column ...string)
- func (_m *Blueprint) DropUniqueByName(name string)
- func (_m *Blueprint) EXPECT() *Blueprint_Expecter
- func (_m *Blueprint) Enum(column string, array []interface{}) schema.ColumnDefinition
- func (_m *Blueprint) Float(column string, precision ...int) schema.ColumnDefinition
- func (_m *Blueprint) Foreign(column ...string) schema.ForeignKeyDefinition
- func (_m *Blueprint) FullText(column ...string) schema.IndexDefinition
- func (_m *Blueprint) GetAddedColumns() []schema.ColumnDefinition
- func (_m *Blueprint) GetCommands() []*schema.Command
- func (_m *Blueprint) GetTableName() string
- func (_m *Blueprint) HasCommand(command string) bool
- func (_m *Blueprint) ID(column ...string) schema.ColumnDefinition
- func (_m *Blueprint) Increments(column string) schema.ColumnDefinition
- func (_m *Blueprint) Index(column ...string) schema.IndexDefinition
- func (_m *Blueprint) Integer(column string) schema.ColumnDefinition
- func (_m *Blueprint) IntegerIncrements(column string) schema.ColumnDefinition
- func (_m *Blueprint) Json(column string) schema.ColumnDefinition
- func (_m *Blueprint) Jsonb(column string) schema.ColumnDefinition
- func (_m *Blueprint) LongText(column string) schema.ColumnDefinition
- func (_m *Blueprint) MediumIncrements(column string) schema.ColumnDefinition
- func (_m *Blueprint) MediumInteger(column string) schema.ColumnDefinition
- func (_m *Blueprint) MediumText(column string) schema.ColumnDefinition
- func (_m *Blueprint) Primary(column ...string)
- func (_m *Blueprint) Rename(to string)
- func (_m *Blueprint) RenameIndex(from string, to string)
- func (_m *Blueprint) SetTable(name string)
- func (_m *Blueprint) SmallIncrements(column string) schema.ColumnDefinition
- func (_m *Blueprint) SmallInteger(column string) schema.ColumnDefinition
- func (_m *Blueprint) SoftDeletes(column ...string) schema.ColumnDefinition
- func (_m *Blueprint) SoftDeletesTz(column ...string) schema.ColumnDefinition
- func (_m *Blueprint) String(column string, length ...int) schema.ColumnDefinition
- func (_m *Blueprint) Text(column string) schema.ColumnDefinition
- func (_m *Blueprint) Time(column string, precision ...int) schema.ColumnDefinition
- func (_m *Blueprint) TimeTz(column string, precision ...int) schema.ColumnDefinition
- func (_m *Blueprint) Timestamp(column string, precision ...int) schema.ColumnDefinition
- func (_m *Blueprint) TimestampTz(column string, precision ...int) schema.ColumnDefinition
- func (_m *Blueprint) Timestamps(precision ...int)
- func (_m *Blueprint) TimestampsTz(precision ...int)
- func (_m *Blueprint) TinyIncrements(column string) schema.ColumnDefinition
- func (_m *Blueprint) TinyInteger(column string) schema.ColumnDefinition
- func (_m *Blueprint) TinyText(column string) schema.ColumnDefinition
- func (_m *Blueprint) ToSql(grammar schema.Grammar) []string
- func (_m *Blueprint) Unique(column ...string) schema.IndexDefinition
- func (_m *Blueprint) UnsignedBigInteger(column string) schema.ColumnDefinition
- func (_m *Blueprint) UnsignedInteger(column string) schema.ColumnDefinition
- func (_m *Blueprint) UnsignedMediumInteger(column string) schema.ColumnDefinition
- func (_m *Blueprint) UnsignedSmallInteger(column string) schema.ColumnDefinition
- func (_m *Blueprint) UnsignedTinyInteger(column string) schema.ColumnDefinition
- type Blueprint_BigIncrements_Call
- func (_c *Blueprint_BigIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_BigIncrements_Call
- func (_c *Blueprint_BigIncrements_Call) Run(run func(column string)) *Blueprint_BigIncrements_Call
- func (_c *Blueprint_BigIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_BigIncrements_Call
- type Blueprint_BigInteger_Call
- func (_c *Blueprint_BigInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_BigInteger_Call
- func (_c *Blueprint_BigInteger_Call) Run(run func(column string)) *Blueprint_BigInteger_Call
- func (_c *Blueprint_BigInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_BigInteger_Call
- type Blueprint_Boolean_Call
- type Blueprint_Build_Call
- type Blueprint_Char_Call
- type Blueprint_Column_Call
- func (_c *Blueprint_Column_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Column_Call
- func (_c *Blueprint_Column_Call) Run(run func(column string, ttype string)) *Blueprint_Column_Call
- func (_c *Blueprint_Column_Call) RunAndReturn(run func(string, string) schema.ColumnDefinition) *Blueprint_Column_Call
- type Blueprint_Create_Call
- type Blueprint_DateTimeTz_Call
- func (_c *Blueprint_DateTimeTz_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_DateTimeTz_Call
- func (_c *Blueprint_DateTimeTz_Call) Run(run func(column string, precision ...int)) *Blueprint_DateTimeTz_Call
- func (_c *Blueprint_DateTimeTz_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_DateTimeTz_Call
- type Blueprint_DateTime_Call
- func (_c *Blueprint_DateTime_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_DateTime_Call
- func (_c *Blueprint_DateTime_Call) Run(run func(column string, precision ...int)) *Blueprint_DateTime_Call
- func (_c *Blueprint_DateTime_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_DateTime_Call
- type Blueprint_Date_Call
- type Blueprint_Decimal_Call
- type Blueprint_Double_Call
- type Blueprint_DropColumn_Call
- type Blueprint_DropForeignByName_Call
- func (_c *Blueprint_DropForeignByName_Call) Return() *Blueprint_DropForeignByName_Call
- func (_c *Blueprint_DropForeignByName_Call) Run(run func(name string)) *Blueprint_DropForeignByName_Call
- func (_c *Blueprint_DropForeignByName_Call) RunAndReturn(run func(string)) *Blueprint_DropForeignByName_Call
- type Blueprint_DropForeign_Call
- type Blueprint_DropFullTextByName_Call
- func (_c *Blueprint_DropFullTextByName_Call) Return() *Blueprint_DropFullTextByName_Call
- func (_c *Blueprint_DropFullTextByName_Call) Run(run func(name string)) *Blueprint_DropFullTextByName_Call
- func (_c *Blueprint_DropFullTextByName_Call) RunAndReturn(run func(string)) *Blueprint_DropFullTextByName_Call
- type Blueprint_DropFullText_Call
- type Blueprint_DropIfExists_Call
- type Blueprint_DropIndexByName_Call
- type Blueprint_DropIndex_Call
- type Blueprint_DropPrimary_Call
- type Blueprint_DropSoftDeletesTz_Call
- func (_c *Blueprint_DropSoftDeletesTz_Call) Return() *Blueprint_DropSoftDeletesTz_Call
- func (_c *Blueprint_DropSoftDeletesTz_Call) Run(run func(column ...string)) *Blueprint_DropSoftDeletesTz_Call
- func (_c *Blueprint_DropSoftDeletesTz_Call) RunAndReturn(run func(...string)) *Blueprint_DropSoftDeletesTz_Call
- type Blueprint_DropSoftDeletes_Call
- type Blueprint_DropTimestampsTz_Call
- type Blueprint_DropTimestamps_Call
- type Blueprint_DropUniqueByName_Call
- type Blueprint_DropUnique_Call
- type Blueprint_Drop_Call
- type Blueprint_Enum_Call
- func (_c *Blueprint_Enum_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Enum_Call
- func (_c *Blueprint_Enum_Call) Run(run func(column string, array []interface{})) *Blueprint_Enum_Call
- func (_c *Blueprint_Enum_Call) RunAndReturn(run func(string, []interface{}) schema.ColumnDefinition) *Blueprint_Enum_Call
- type Blueprint_Expecter
- func (_e *Blueprint_Expecter) BigIncrements(column interface{}) *Blueprint_BigIncrements_Call
- func (_e *Blueprint_Expecter) BigInteger(column interface{}) *Blueprint_BigInteger_Call
- func (_e *Blueprint_Expecter) Boolean(column interface{}) *Blueprint_Boolean_Call
- func (_e *Blueprint_Expecter) Build(query interface{}, grammar interface{}) *Blueprint_Build_Call
- func (_e *Blueprint_Expecter) Char(column interface{}, length ...interface{}) *Blueprint_Char_Call
- func (_e *Blueprint_Expecter) Column(column interface{}, ttype interface{}) *Blueprint_Column_Call
- func (_e *Blueprint_Expecter) Create() *Blueprint_Create_Call
- func (_e *Blueprint_Expecter) Date(column interface{}) *Blueprint_Date_Call
- func (_e *Blueprint_Expecter) DateTime(column interface{}, precision ...interface{}) *Blueprint_DateTime_Call
- func (_e *Blueprint_Expecter) DateTimeTz(column interface{}, precision ...interface{}) *Blueprint_DateTimeTz_Call
- func (_e *Blueprint_Expecter) Decimal(column interface{}) *Blueprint_Decimal_Call
- func (_e *Blueprint_Expecter) Double(column interface{}) *Blueprint_Double_Call
- func (_e *Blueprint_Expecter) Drop() *Blueprint_Drop_Call
- func (_e *Blueprint_Expecter) DropColumn(column ...interface{}) *Blueprint_DropColumn_Call
- func (_e *Blueprint_Expecter) DropForeign(column ...interface{}) *Blueprint_DropForeign_Call
- func (_e *Blueprint_Expecter) DropForeignByName(name interface{}) *Blueprint_DropForeignByName_Call
- func (_e *Blueprint_Expecter) DropFullText(column ...interface{}) *Blueprint_DropFullText_Call
- func (_e *Blueprint_Expecter) DropFullTextByName(name interface{}) *Blueprint_DropFullTextByName_Call
- func (_e *Blueprint_Expecter) DropIfExists() *Blueprint_DropIfExists_Call
- func (_e *Blueprint_Expecter) DropIndex(column ...interface{}) *Blueprint_DropIndex_Call
- func (_e *Blueprint_Expecter) DropIndexByName(name interface{}) *Blueprint_DropIndexByName_Call
- func (_e *Blueprint_Expecter) DropPrimary(column ...interface{}) *Blueprint_DropPrimary_Call
- func (_e *Blueprint_Expecter) DropSoftDeletes(column ...interface{}) *Blueprint_DropSoftDeletes_Call
- func (_e *Blueprint_Expecter) DropSoftDeletesTz(column ...interface{}) *Blueprint_DropSoftDeletesTz_Call
- func (_e *Blueprint_Expecter) DropTimestamps() *Blueprint_DropTimestamps_Call
- func (_e *Blueprint_Expecter) DropTimestampsTz() *Blueprint_DropTimestampsTz_Call
- func (_e *Blueprint_Expecter) DropUnique(column ...interface{}) *Blueprint_DropUnique_Call
- func (_e *Blueprint_Expecter) DropUniqueByName(name interface{}) *Blueprint_DropUniqueByName_Call
- func (_e *Blueprint_Expecter) Enum(column interface{}, array interface{}) *Blueprint_Enum_Call
- func (_e *Blueprint_Expecter) Float(column interface{}, precision ...interface{}) *Blueprint_Float_Call
- func (_e *Blueprint_Expecter) Foreign(column ...interface{}) *Blueprint_Foreign_Call
- func (_e *Blueprint_Expecter) FullText(column ...interface{}) *Blueprint_FullText_Call
- func (_e *Blueprint_Expecter) GetAddedColumns() *Blueprint_GetAddedColumns_Call
- func (_e *Blueprint_Expecter) GetCommands() *Blueprint_GetCommands_Call
- func (_e *Blueprint_Expecter) GetTableName() *Blueprint_GetTableName_Call
- func (_e *Blueprint_Expecter) HasCommand(command interface{}) *Blueprint_HasCommand_Call
- func (_e *Blueprint_Expecter) ID(column ...interface{}) *Blueprint_ID_Call
- func (_e *Blueprint_Expecter) Increments(column interface{}) *Blueprint_Increments_Call
- func (_e *Blueprint_Expecter) Index(column ...interface{}) *Blueprint_Index_Call
- func (_e *Blueprint_Expecter) Integer(column interface{}) *Blueprint_Integer_Call
- func (_e *Blueprint_Expecter) IntegerIncrements(column interface{}) *Blueprint_IntegerIncrements_Call
- func (_e *Blueprint_Expecter) Json(column interface{}) *Blueprint_Json_Call
- func (_e *Blueprint_Expecter) Jsonb(column interface{}) *Blueprint_Jsonb_Call
- func (_e *Blueprint_Expecter) LongText(column interface{}) *Blueprint_LongText_Call
- func (_e *Blueprint_Expecter) MediumIncrements(column interface{}) *Blueprint_MediumIncrements_Call
- func (_e *Blueprint_Expecter) MediumInteger(column interface{}) *Blueprint_MediumInteger_Call
- func (_e *Blueprint_Expecter) MediumText(column interface{}) *Blueprint_MediumText_Call
- func (_e *Blueprint_Expecter) Primary(column ...interface{}) *Blueprint_Primary_Call
- func (_e *Blueprint_Expecter) Rename(to interface{}) *Blueprint_Rename_Call
- func (_e *Blueprint_Expecter) RenameIndex(from interface{}, to interface{}) *Blueprint_RenameIndex_Call
- func (_e *Blueprint_Expecter) SetTable(name interface{}) *Blueprint_SetTable_Call
- func (_e *Blueprint_Expecter) SmallIncrements(column interface{}) *Blueprint_SmallIncrements_Call
- func (_e *Blueprint_Expecter) SmallInteger(column interface{}) *Blueprint_SmallInteger_Call
- func (_e *Blueprint_Expecter) SoftDeletes(column ...interface{}) *Blueprint_SoftDeletes_Call
- func (_e *Blueprint_Expecter) SoftDeletesTz(column ...interface{}) *Blueprint_SoftDeletesTz_Call
- func (_e *Blueprint_Expecter) String(column interface{}, length ...interface{}) *Blueprint_String_Call
- func (_e *Blueprint_Expecter) Text(column interface{}) *Blueprint_Text_Call
- func (_e *Blueprint_Expecter) Time(column interface{}, precision ...interface{}) *Blueprint_Time_Call
- func (_e *Blueprint_Expecter) TimeTz(column interface{}, precision ...interface{}) *Blueprint_TimeTz_Call
- func (_e *Blueprint_Expecter) Timestamp(column interface{}, precision ...interface{}) *Blueprint_Timestamp_Call
- func (_e *Blueprint_Expecter) TimestampTz(column interface{}, precision ...interface{}) *Blueprint_TimestampTz_Call
- func (_e *Blueprint_Expecter) Timestamps(precision ...interface{}) *Blueprint_Timestamps_Call
- func (_e *Blueprint_Expecter) TimestampsTz(precision ...interface{}) *Blueprint_TimestampsTz_Call
- func (_e *Blueprint_Expecter) TinyIncrements(column interface{}) *Blueprint_TinyIncrements_Call
- func (_e *Blueprint_Expecter) TinyInteger(column interface{}) *Blueprint_TinyInteger_Call
- func (_e *Blueprint_Expecter) TinyText(column interface{}) *Blueprint_TinyText_Call
- func (_e *Blueprint_Expecter) ToSql(grammar interface{}) *Blueprint_ToSql_Call
- func (_e *Blueprint_Expecter) Unique(column ...interface{}) *Blueprint_Unique_Call
- func (_e *Blueprint_Expecter) UnsignedBigInteger(column interface{}) *Blueprint_UnsignedBigInteger_Call
- func (_e *Blueprint_Expecter) UnsignedInteger(column interface{}) *Blueprint_UnsignedInteger_Call
- func (_e *Blueprint_Expecter) UnsignedMediumInteger(column interface{}) *Blueprint_UnsignedMediumInteger_Call
- func (_e *Blueprint_Expecter) UnsignedSmallInteger(column interface{}) *Blueprint_UnsignedSmallInteger_Call
- func (_e *Blueprint_Expecter) UnsignedTinyInteger(column interface{}) *Blueprint_UnsignedTinyInteger_Call
- type Blueprint_Float_Call
- func (_c *Blueprint_Float_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Float_Call
- func (_c *Blueprint_Float_Call) Run(run func(column string, precision ...int)) *Blueprint_Float_Call
- func (_c *Blueprint_Float_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_Float_Call
- type Blueprint_Foreign_Call
- func (_c *Blueprint_Foreign_Call) Return(_a0 schema.ForeignKeyDefinition) *Blueprint_Foreign_Call
- func (_c *Blueprint_Foreign_Call) Run(run func(column ...string)) *Blueprint_Foreign_Call
- func (_c *Blueprint_Foreign_Call) RunAndReturn(run func(...string) schema.ForeignKeyDefinition) *Blueprint_Foreign_Call
- type Blueprint_FullText_Call
- func (_c *Blueprint_FullText_Call) Return(_a0 schema.IndexDefinition) *Blueprint_FullText_Call
- func (_c *Blueprint_FullText_Call) Run(run func(column ...string)) *Blueprint_FullText_Call
- func (_c *Blueprint_FullText_Call) RunAndReturn(run func(...string) schema.IndexDefinition) *Blueprint_FullText_Call
- type Blueprint_GetAddedColumns_Call
- func (_c *Blueprint_GetAddedColumns_Call) Return(_a0 []schema.ColumnDefinition) *Blueprint_GetAddedColumns_Call
- func (_c *Blueprint_GetAddedColumns_Call) Run(run func()) *Blueprint_GetAddedColumns_Call
- func (_c *Blueprint_GetAddedColumns_Call) RunAndReturn(run func() []schema.ColumnDefinition) *Blueprint_GetAddedColumns_Call
- type Blueprint_GetCommands_Call
- type Blueprint_GetTableName_Call
- type Blueprint_HasCommand_Call
- type Blueprint_ID_Call
- type Blueprint_Increments_Call
- func (_c *Blueprint_Increments_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Increments_Call
- func (_c *Blueprint_Increments_Call) Run(run func(column string)) *Blueprint_Increments_Call
- func (_c *Blueprint_Increments_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Increments_Call
- type Blueprint_Index_Call
- type Blueprint_IntegerIncrements_Call
- func (_c *Blueprint_IntegerIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_IntegerIncrements_Call
- func (_c *Blueprint_IntegerIncrements_Call) Run(run func(column string)) *Blueprint_IntegerIncrements_Call
- func (_c *Blueprint_IntegerIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_IntegerIncrements_Call
- type Blueprint_Integer_Call
- type Blueprint_Json_Call
- type Blueprint_Jsonb_Call
- type Blueprint_LongText_Call
- type Blueprint_MediumIncrements_Call
- func (_c *Blueprint_MediumIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_MediumIncrements_Call
- func (_c *Blueprint_MediumIncrements_Call) Run(run func(column string)) *Blueprint_MediumIncrements_Call
- func (_c *Blueprint_MediumIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_MediumIncrements_Call
- type Blueprint_MediumInteger_Call
- func (_c *Blueprint_MediumInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_MediumInteger_Call
- func (_c *Blueprint_MediumInteger_Call) Run(run func(column string)) *Blueprint_MediumInteger_Call
- func (_c *Blueprint_MediumInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_MediumInteger_Call
- type Blueprint_MediumText_Call
- func (_c *Blueprint_MediumText_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_MediumText_Call
- func (_c *Blueprint_MediumText_Call) Run(run func(column string)) *Blueprint_MediumText_Call
- func (_c *Blueprint_MediumText_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_MediumText_Call
- type Blueprint_Primary_Call
- type Blueprint_RenameIndex_Call
- type Blueprint_Rename_Call
- type Blueprint_SetTable_Call
- type Blueprint_SmallIncrements_Call
- func (_c *Blueprint_SmallIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_SmallIncrements_Call
- func (_c *Blueprint_SmallIncrements_Call) Run(run func(column string)) *Blueprint_SmallIncrements_Call
- func (_c *Blueprint_SmallIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_SmallIncrements_Call
- type Blueprint_SmallInteger_Call
- func (_c *Blueprint_SmallInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_SmallInteger_Call
- func (_c *Blueprint_SmallInteger_Call) Run(run func(column string)) *Blueprint_SmallInteger_Call
- func (_c *Blueprint_SmallInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_SmallInteger_Call
- type Blueprint_SoftDeletesTz_Call
- func (_c *Blueprint_SoftDeletesTz_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_SoftDeletesTz_Call
- func (_c *Blueprint_SoftDeletesTz_Call) Run(run func(column ...string)) *Blueprint_SoftDeletesTz_Call
- func (_c *Blueprint_SoftDeletesTz_Call) RunAndReturn(run func(...string) schema.ColumnDefinition) *Blueprint_SoftDeletesTz_Call
- type Blueprint_SoftDeletes_Call
- func (_c *Blueprint_SoftDeletes_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_SoftDeletes_Call
- func (_c *Blueprint_SoftDeletes_Call) Run(run func(column ...string)) *Blueprint_SoftDeletes_Call
- func (_c *Blueprint_SoftDeletes_Call) RunAndReturn(run func(...string) schema.ColumnDefinition) *Blueprint_SoftDeletes_Call
- type Blueprint_String_Call
- func (_c *Blueprint_String_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_String_Call
- func (_c *Blueprint_String_Call) Run(run func(column string, length ...int)) *Blueprint_String_Call
- func (_c *Blueprint_String_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_String_Call
- type Blueprint_Text_Call
- type Blueprint_TimeTz_Call
- func (_c *Blueprint_TimeTz_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_TimeTz_Call
- func (_c *Blueprint_TimeTz_Call) Run(run func(column string, precision ...int)) *Blueprint_TimeTz_Call
- func (_c *Blueprint_TimeTz_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_TimeTz_Call
- type Blueprint_Time_Call
- func (_c *Blueprint_Time_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Time_Call
- func (_c *Blueprint_Time_Call) Run(run func(column string, precision ...int)) *Blueprint_Time_Call
- func (_c *Blueprint_Time_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_Time_Call
- type Blueprint_TimestampTz_Call
- func (_c *Blueprint_TimestampTz_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_TimestampTz_Call
- func (_c *Blueprint_TimestampTz_Call) Run(run func(column string, precision ...int)) *Blueprint_TimestampTz_Call
- func (_c *Blueprint_TimestampTz_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_TimestampTz_Call
- type Blueprint_Timestamp_Call
- func (_c *Blueprint_Timestamp_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Timestamp_Call
- func (_c *Blueprint_Timestamp_Call) Run(run func(column string, precision ...int)) *Blueprint_Timestamp_Call
- func (_c *Blueprint_Timestamp_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_Timestamp_Call
- type Blueprint_TimestampsTz_Call
- type Blueprint_Timestamps_Call
- type Blueprint_TinyIncrements_Call
- func (_c *Blueprint_TinyIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_TinyIncrements_Call
- func (_c *Blueprint_TinyIncrements_Call) Run(run func(column string)) *Blueprint_TinyIncrements_Call
- func (_c *Blueprint_TinyIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_TinyIncrements_Call
- type Blueprint_TinyInteger_Call
- func (_c *Blueprint_TinyInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_TinyInteger_Call
- func (_c *Blueprint_TinyInteger_Call) Run(run func(column string)) *Blueprint_TinyInteger_Call
- func (_c *Blueprint_TinyInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_TinyInteger_Call
- type Blueprint_TinyText_Call
- type Blueprint_ToSql_Call
- type Blueprint_Unique_Call
- type Blueprint_UnsignedBigInteger_Call
- func (_c *Blueprint_UnsignedBigInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedBigInteger_Call
- func (_c *Blueprint_UnsignedBigInteger_Call) Run(run func(column string)) *Blueprint_UnsignedBigInteger_Call
- func (_c *Blueprint_UnsignedBigInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedBigInteger_Call
- type Blueprint_UnsignedInteger_Call
- func (_c *Blueprint_UnsignedInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedInteger_Call
- func (_c *Blueprint_UnsignedInteger_Call) Run(run func(column string)) *Blueprint_UnsignedInteger_Call
- func (_c *Blueprint_UnsignedInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedInteger_Call
- type Blueprint_UnsignedMediumInteger_Call
- func (_c *Blueprint_UnsignedMediumInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedMediumInteger_Call
- func (_c *Blueprint_UnsignedMediumInteger_Call) Run(run func(column string)) *Blueprint_UnsignedMediumInteger_Call
- func (_c *Blueprint_UnsignedMediumInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedMediumInteger_Call
- type Blueprint_UnsignedSmallInteger_Call
- func (_c *Blueprint_UnsignedSmallInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedSmallInteger_Call
- func (_c *Blueprint_UnsignedSmallInteger_Call) Run(run func(column string)) *Blueprint_UnsignedSmallInteger_Call
- func (_c *Blueprint_UnsignedSmallInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedSmallInteger_Call
- type Blueprint_UnsignedTinyInteger_Call
- func (_c *Blueprint_UnsignedTinyInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedTinyInteger_Call
- func (_c *Blueprint_UnsignedTinyInteger_Call) Run(run func(column string)) *Blueprint_UnsignedTinyInteger_Call
- func (_c *Blueprint_UnsignedTinyInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedTinyInteger_Call
- type ColumnDefinition
- func (_m *ColumnDefinition) AutoIncrement() schema.ColumnDefinition
- func (_m *ColumnDefinition) Comment(comment string) schema.ColumnDefinition
- func (_m *ColumnDefinition) Default(def interface{}) schema.ColumnDefinition
- func (_m *ColumnDefinition) EXPECT() *ColumnDefinition_Expecter
- func (_m *ColumnDefinition) GetAllowed() []interface{}
- func (_m *ColumnDefinition) GetAutoIncrement() bool
- func (_m *ColumnDefinition) GetComment() string
- func (_m *ColumnDefinition) GetDefault() interface{}
- func (_m *ColumnDefinition) GetLength() int
- func (_m *ColumnDefinition) GetName() string
- func (_m *ColumnDefinition) GetNullable() bool
- func (_m *ColumnDefinition) GetOnUpdate() interface{}
- func (_m *ColumnDefinition) GetPlaces() int
- func (_m *ColumnDefinition) GetPrecision() int
- func (_m *ColumnDefinition) GetTotal() int
- func (_m *ColumnDefinition) GetType() string
- func (_m *ColumnDefinition) GetUnsigned() bool
- func (_m *ColumnDefinition) GetUseCurrent() bool
- func (_m *ColumnDefinition) GetUseCurrentOnUpdate() bool
- func (_m *ColumnDefinition) IsSetComment() bool
- func (_m *ColumnDefinition) Nullable() schema.ColumnDefinition
- func (_m *ColumnDefinition) OnUpdate(value interface{}) schema.ColumnDefinition
- func (_m *ColumnDefinition) Places(places int) schema.ColumnDefinition
- func (_m *ColumnDefinition) Total(total int) schema.ColumnDefinition
- func (_m *ColumnDefinition) Unsigned() schema.ColumnDefinition
- func (_m *ColumnDefinition) UseCurrent() schema.ColumnDefinition
- func (_m *ColumnDefinition) UseCurrentOnUpdate() schema.ColumnDefinition
- type ColumnDefinition_AutoIncrement_Call
- func (_c *ColumnDefinition_AutoIncrement_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_AutoIncrement_Call
- func (_c *ColumnDefinition_AutoIncrement_Call) Run(run func()) *ColumnDefinition_AutoIncrement_Call
- func (_c *ColumnDefinition_AutoIncrement_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_AutoIncrement_Call
- type ColumnDefinition_Comment_Call
- func (_c *ColumnDefinition_Comment_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Comment_Call
- func (_c *ColumnDefinition_Comment_Call) Run(run func(comment string)) *ColumnDefinition_Comment_Call
- func (_c *ColumnDefinition_Comment_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *ColumnDefinition_Comment_Call
- type ColumnDefinition_Default_Call
- func (_c *ColumnDefinition_Default_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Default_Call
- func (_c *ColumnDefinition_Default_Call) Run(run func(def interface{})) *ColumnDefinition_Default_Call
- func (_c *ColumnDefinition_Default_Call) RunAndReturn(run func(interface{}) schema.ColumnDefinition) *ColumnDefinition_Default_Call
- type ColumnDefinition_Expecter
- func (_e *ColumnDefinition_Expecter) AutoIncrement() *ColumnDefinition_AutoIncrement_Call
- func (_e *ColumnDefinition_Expecter) Comment(comment interface{}) *ColumnDefinition_Comment_Call
- func (_e *ColumnDefinition_Expecter) Default(def interface{}) *ColumnDefinition_Default_Call
- func (_e *ColumnDefinition_Expecter) GetAllowed() *ColumnDefinition_GetAllowed_Call
- func (_e *ColumnDefinition_Expecter) GetAutoIncrement() *ColumnDefinition_GetAutoIncrement_Call
- func (_e *ColumnDefinition_Expecter) GetComment() *ColumnDefinition_GetComment_Call
- func (_e *ColumnDefinition_Expecter) GetDefault() *ColumnDefinition_GetDefault_Call
- func (_e *ColumnDefinition_Expecter) GetLength() *ColumnDefinition_GetLength_Call
- func (_e *ColumnDefinition_Expecter) GetName() *ColumnDefinition_GetName_Call
- func (_e *ColumnDefinition_Expecter) GetNullable() *ColumnDefinition_GetNullable_Call
- func (_e *ColumnDefinition_Expecter) GetOnUpdate() *ColumnDefinition_GetOnUpdate_Call
- func (_e *ColumnDefinition_Expecter) GetPlaces() *ColumnDefinition_GetPlaces_Call
- func (_e *ColumnDefinition_Expecter) GetPrecision() *ColumnDefinition_GetPrecision_Call
- func (_e *ColumnDefinition_Expecter) GetTotal() *ColumnDefinition_GetTotal_Call
- func (_e *ColumnDefinition_Expecter) GetType() *ColumnDefinition_GetType_Call
- func (_e *ColumnDefinition_Expecter) GetUnsigned() *ColumnDefinition_GetUnsigned_Call
- func (_e *ColumnDefinition_Expecter) GetUseCurrent() *ColumnDefinition_GetUseCurrent_Call
- func (_e *ColumnDefinition_Expecter) GetUseCurrentOnUpdate() *ColumnDefinition_GetUseCurrentOnUpdate_Call
- func (_e *ColumnDefinition_Expecter) IsSetComment() *ColumnDefinition_IsSetComment_Call
- func (_e *ColumnDefinition_Expecter) Nullable() *ColumnDefinition_Nullable_Call
- func (_e *ColumnDefinition_Expecter) OnUpdate(value interface{}) *ColumnDefinition_OnUpdate_Call
- func (_e *ColumnDefinition_Expecter) Places(places interface{}) *ColumnDefinition_Places_Call
- func (_e *ColumnDefinition_Expecter) Total(total interface{}) *ColumnDefinition_Total_Call
- func (_e *ColumnDefinition_Expecter) Unsigned() *ColumnDefinition_Unsigned_Call
- func (_e *ColumnDefinition_Expecter) UseCurrent() *ColumnDefinition_UseCurrent_Call
- func (_e *ColumnDefinition_Expecter) UseCurrentOnUpdate() *ColumnDefinition_UseCurrentOnUpdate_Call
- type ColumnDefinition_GetAllowed_Call
- func (_c *ColumnDefinition_GetAllowed_Call) Return(_a0 []interface{}) *ColumnDefinition_GetAllowed_Call
- func (_c *ColumnDefinition_GetAllowed_Call) Run(run func()) *ColumnDefinition_GetAllowed_Call
- func (_c *ColumnDefinition_GetAllowed_Call) RunAndReturn(run func() []interface{}) *ColumnDefinition_GetAllowed_Call
- type ColumnDefinition_GetAutoIncrement_Call
- func (_c *ColumnDefinition_GetAutoIncrement_Call) Return(_a0 bool) *ColumnDefinition_GetAutoIncrement_Call
- func (_c *ColumnDefinition_GetAutoIncrement_Call) Run(run func()) *ColumnDefinition_GetAutoIncrement_Call
- func (_c *ColumnDefinition_GetAutoIncrement_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetAutoIncrement_Call
- type ColumnDefinition_GetComment_Call
- func (_c *ColumnDefinition_GetComment_Call) Return(comment string) *ColumnDefinition_GetComment_Call
- func (_c *ColumnDefinition_GetComment_Call) Run(run func()) *ColumnDefinition_GetComment_Call
- func (_c *ColumnDefinition_GetComment_Call) RunAndReturn(run func() string) *ColumnDefinition_GetComment_Call
- type ColumnDefinition_GetDefault_Call
- func (_c *ColumnDefinition_GetDefault_Call) Return(_a0 interface{}) *ColumnDefinition_GetDefault_Call
- func (_c *ColumnDefinition_GetDefault_Call) Run(run func()) *ColumnDefinition_GetDefault_Call
- func (_c *ColumnDefinition_GetDefault_Call) RunAndReturn(run func() interface{}) *ColumnDefinition_GetDefault_Call
- type ColumnDefinition_GetLength_Call
- type ColumnDefinition_GetName_Call
- type ColumnDefinition_GetNullable_Call
- func (_c *ColumnDefinition_GetNullable_Call) Return(_a0 bool) *ColumnDefinition_GetNullable_Call
- func (_c *ColumnDefinition_GetNullable_Call) Run(run func()) *ColumnDefinition_GetNullable_Call
- func (_c *ColumnDefinition_GetNullable_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetNullable_Call
- type ColumnDefinition_GetOnUpdate_Call
- func (_c *ColumnDefinition_GetOnUpdate_Call) Return(_a0 interface{}) *ColumnDefinition_GetOnUpdate_Call
- func (_c *ColumnDefinition_GetOnUpdate_Call) Run(run func()) *ColumnDefinition_GetOnUpdate_Call
- func (_c *ColumnDefinition_GetOnUpdate_Call) RunAndReturn(run func() interface{}) *ColumnDefinition_GetOnUpdate_Call
- type ColumnDefinition_GetPlaces_Call
- type ColumnDefinition_GetPrecision_Call
- func (_c *ColumnDefinition_GetPrecision_Call) Return(_a0 int) *ColumnDefinition_GetPrecision_Call
- func (_c *ColumnDefinition_GetPrecision_Call) Run(run func()) *ColumnDefinition_GetPrecision_Call
- func (_c *ColumnDefinition_GetPrecision_Call) RunAndReturn(run func() int) *ColumnDefinition_GetPrecision_Call
- type ColumnDefinition_GetTotal_Call
- type ColumnDefinition_GetType_Call
- type ColumnDefinition_GetUnsigned_Call
- func (_c *ColumnDefinition_GetUnsigned_Call) Return(_a0 bool) *ColumnDefinition_GetUnsigned_Call
- func (_c *ColumnDefinition_GetUnsigned_Call) Run(run func()) *ColumnDefinition_GetUnsigned_Call
- func (_c *ColumnDefinition_GetUnsigned_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetUnsigned_Call
- type ColumnDefinition_GetUseCurrentOnUpdate_Call
- func (_c *ColumnDefinition_GetUseCurrentOnUpdate_Call) Return(_a0 bool) *ColumnDefinition_GetUseCurrentOnUpdate_Call
- func (_c *ColumnDefinition_GetUseCurrentOnUpdate_Call) Run(run func()) *ColumnDefinition_GetUseCurrentOnUpdate_Call
- func (_c *ColumnDefinition_GetUseCurrentOnUpdate_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetUseCurrentOnUpdate_Call
- type ColumnDefinition_GetUseCurrent_Call
- func (_c *ColumnDefinition_GetUseCurrent_Call) Return(_a0 bool) *ColumnDefinition_GetUseCurrent_Call
- func (_c *ColumnDefinition_GetUseCurrent_Call) Run(run func()) *ColumnDefinition_GetUseCurrent_Call
- func (_c *ColumnDefinition_GetUseCurrent_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetUseCurrent_Call
- type ColumnDefinition_IsSetComment_Call
- func (_c *ColumnDefinition_IsSetComment_Call) Return(_a0 bool) *ColumnDefinition_IsSetComment_Call
- func (_c *ColumnDefinition_IsSetComment_Call) Run(run func()) *ColumnDefinition_IsSetComment_Call
- func (_c *ColumnDefinition_IsSetComment_Call) RunAndReturn(run func() bool) *ColumnDefinition_IsSetComment_Call
- type ColumnDefinition_Nullable_Call
- func (_c *ColumnDefinition_Nullable_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Nullable_Call
- func (_c *ColumnDefinition_Nullable_Call) Run(run func()) *ColumnDefinition_Nullable_Call
- func (_c *ColumnDefinition_Nullable_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_Nullable_Call
- type ColumnDefinition_OnUpdate_Call
- func (_c *ColumnDefinition_OnUpdate_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_OnUpdate_Call
- func (_c *ColumnDefinition_OnUpdate_Call) Run(run func(value interface{})) *ColumnDefinition_OnUpdate_Call
- func (_c *ColumnDefinition_OnUpdate_Call) RunAndReturn(run func(interface{}) schema.ColumnDefinition) *ColumnDefinition_OnUpdate_Call
- type ColumnDefinition_Places_Call
- func (_c *ColumnDefinition_Places_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Places_Call
- func (_c *ColumnDefinition_Places_Call) Run(run func(places int)) *ColumnDefinition_Places_Call
- func (_c *ColumnDefinition_Places_Call) RunAndReturn(run func(int) schema.ColumnDefinition) *ColumnDefinition_Places_Call
- type ColumnDefinition_Total_Call
- func (_c *ColumnDefinition_Total_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Total_Call
- func (_c *ColumnDefinition_Total_Call) Run(run func(total int)) *ColumnDefinition_Total_Call
- func (_c *ColumnDefinition_Total_Call) RunAndReturn(run func(int) schema.ColumnDefinition) *ColumnDefinition_Total_Call
- type ColumnDefinition_Unsigned_Call
- func (_c *ColumnDefinition_Unsigned_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Unsigned_Call
- func (_c *ColumnDefinition_Unsigned_Call) Run(run func()) *ColumnDefinition_Unsigned_Call
- func (_c *ColumnDefinition_Unsigned_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_Unsigned_Call
- type ColumnDefinition_UseCurrentOnUpdate_Call
- func (_c *ColumnDefinition_UseCurrentOnUpdate_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_UseCurrentOnUpdate_Call
- func (_c *ColumnDefinition_UseCurrentOnUpdate_Call) Run(run func()) *ColumnDefinition_UseCurrentOnUpdate_Call
- func (_c *ColumnDefinition_UseCurrentOnUpdate_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_UseCurrentOnUpdate_Call
- type ColumnDefinition_UseCurrent_Call
- func (_c *ColumnDefinition_UseCurrent_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_UseCurrent_Call
- func (_c *ColumnDefinition_UseCurrent_Call) Run(run func()) *ColumnDefinition_UseCurrent_Call
- func (_c *ColumnDefinition_UseCurrent_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_UseCurrent_Call
- type CommonSchema
- type CommonSchema_Expecter
- type CommonSchema_GetTables_Call
- func (_c *CommonSchema_GetTables_Call) Return(_a0 []schema.Table, _a1 error) *CommonSchema_GetTables_Call
- func (_c *CommonSchema_GetTables_Call) Run(run func()) *CommonSchema_GetTables_Call
- func (_c *CommonSchema_GetTables_Call) RunAndReturn(run func() ([]schema.Table, error)) *CommonSchema_GetTables_Call
- type CommonSchema_GetViews_Call
- type Connection
- type Connection_Connection_Call
- type Connection_Expecter
- type DriverSchema
- func (_m *DriverSchema) DropAllTables() error
- func (_m *DriverSchema) DropAllTypes() error
- func (_m *DriverSchema) DropAllViews() error
- func (_m *DriverSchema) EXPECT() *DriverSchema_Expecter
- func (_m *DriverSchema) GetColumns(table string) ([]schema.Column, error)
- func (_m *DriverSchema) GetIndexes(table string) ([]schema.Index, error)
- func (_m *DriverSchema) GetTypes() ([]schema.Type, error)
- type DriverSchema_DropAllTables_Call
- type DriverSchema_DropAllTypes_Call
- type DriverSchema_DropAllViews_Call
- type DriverSchema_Expecter
- func (_e *DriverSchema_Expecter) DropAllTables() *DriverSchema_DropAllTables_Call
- func (_e *DriverSchema_Expecter) DropAllTypes() *DriverSchema_DropAllTypes_Call
- func (_e *DriverSchema_Expecter) DropAllViews() *DriverSchema_DropAllViews_Call
- func (_e *DriverSchema_Expecter) GetColumns(table interface{}) *DriverSchema_GetColumns_Call
- func (_e *DriverSchema_Expecter) GetIndexes(table interface{}) *DriverSchema_GetIndexes_Call
- func (_e *DriverSchema_Expecter) GetTypes() *DriverSchema_GetTypes_Call
- type DriverSchema_GetColumns_Call
- func (_c *DriverSchema_GetColumns_Call) Return(_a0 []schema.Column, _a1 error) *DriverSchema_GetColumns_Call
- func (_c *DriverSchema_GetColumns_Call) Run(run func(table string)) *DriverSchema_GetColumns_Call
- func (_c *DriverSchema_GetColumns_Call) RunAndReturn(run func(string) ([]schema.Column, error)) *DriverSchema_GetColumns_Call
- type DriverSchema_GetIndexes_Call
- func (_c *DriverSchema_GetIndexes_Call) Return(_a0 []schema.Index, _a1 error) *DriverSchema_GetIndexes_Call
- func (_c *DriverSchema_GetIndexes_Call) Run(run func(table string)) *DriverSchema_GetIndexes_Call
- func (_c *DriverSchema_GetIndexes_Call) RunAndReturn(run func(string) ([]schema.Index, error)) *DriverSchema_GetIndexes_Call
- type DriverSchema_GetTypes_Call
- type ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) CascadeOnDelete() schema.ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) CascadeOnUpdate() schema.ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) EXPECT() *ForeignKeyDefinition_Expecter
- func (_m *ForeignKeyDefinition) Name(name string) schema.ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) NoActionOnDelete() schema.ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) NoActionOnUpdate() schema.ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) NullOnDelete() schema.ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) On(table string) schema.ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) References(columns ...string) schema.ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) RestrictOnDelete() schema.ForeignKeyDefinition
- func (_m *ForeignKeyDefinition) RestrictOnUpdate() schema.ForeignKeyDefinition
- type ForeignKeyDefinition_CascadeOnDelete_Call
- func (_c *ForeignKeyDefinition_CascadeOnDelete_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_CascadeOnDelete_Call
- func (_c *ForeignKeyDefinition_CascadeOnDelete_Call) Run(run func()) *ForeignKeyDefinition_CascadeOnDelete_Call
- func (_c *ForeignKeyDefinition_CascadeOnDelete_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_CascadeOnDelete_Call
- type ForeignKeyDefinition_CascadeOnUpdate_Call
- func (_c *ForeignKeyDefinition_CascadeOnUpdate_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_CascadeOnUpdate_Call
- func (_c *ForeignKeyDefinition_CascadeOnUpdate_Call) Run(run func()) *ForeignKeyDefinition_CascadeOnUpdate_Call
- func (_c *ForeignKeyDefinition_CascadeOnUpdate_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_CascadeOnUpdate_Call
- type ForeignKeyDefinition_Expecter
- func (_e *ForeignKeyDefinition_Expecter) CascadeOnDelete() *ForeignKeyDefinition_CascadeOnDelete_Call
- func (_e *ForeignKeyDefinition_Expecter) CascadeOnUpdate() *ForeignKeyDefinition_CascadeOnUpdate_Call
- func (_e *ForeignKeyDefinition_Expecter) Name(name interface{}) *ForeignKeyDefinition_Name_Call
- func (_e *ForeignKeyDefinition_Expecter) NoActionOnDelete() *ForeignKeyDefinition_NoActionOnDelete_Call
- func (_e *ForeignKeyDefinition_Expecter) NoActionOnUpdate() *ForeignKeyDefinition_NoActionOnUpdate_Call
- func (_e *ForeignKeyDefinition_Expecter) NullOnDelete() *ForeignKeyDefinition_NullOnDelete_Call
- func (_e *ForeignKeyDefinition_Expecter) On(table interface{}) *ForeignKeyDefinition_On_Call
- func (_e *ForeignKeyDefinition_Expecter) References(columns ...interface{}) *ForeignKeyDefinition_References_Call
- func (_e *ForeignKeyDefinition_Expecter) RestrictOnDelete() *ForeignKeyDefinition_RestrictOnDelete_Call
- func (_e *ForeignKeyDefinition_Expecter) RestrictOnUpdate() *ForeignKeyDefinition_RestrictOnUpdate_Call
- type ForeignKeyDefinition_Name_Call
- func (_c *ForeignKeyDefinition_Name_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_Name_Call
- func (_c *ForeignKeyDefinition_Name_Call) Run(run func(name string)) *ForeignKeyDefinition_Name_Call
- func (_c *ForeignKeyDefinition_Name_Call) RunAndReturn(run func(string) schema.ForeignKeyDefinition) *ForeignKeyDefinition_Name_Call
- type ForeignKeyDefinition_NoActionOnDelete_Call
- func (_c *ForeignKeyDefinition_NoActionOnDelete_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_NoActionOnDelete_Call
- func (_c *ForeignKeyDefinition_NoActionOnDelete_Call) Run(run func()) *ForeignKeyDefinition_NoActionOnDelete_Call
- func (_c *ForeignKeyDefinition_NoActionOnDelete_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_NoActionOnDelete_Call
- type ForeignKeyDefinition_NoActionOnUpdate_Call
- func (_c *ForeignKeyDefinition_NoActionOnUpdate_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_NoActionOnUpdate_Call
- func (_c *ForeignKeyDefinition_NoActionOnUpdate_Call) Run(run func()) *ForeignKeyDefinition_NoActionOnUpdate_Call
- func (_c *ForeignKeyDefinition_NoActionOnUpdate_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_NoActionOnUpdate_Call
- type ForeignKeyDefinition_NullOnDelete_Call
- func (_c *ForeignKeyDefinition_NullOnDelete_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_NullOnDelete_Call
- func (_c *ForeignKeyDefinition_NullOnDelete_Call) Run(run func()) *ForeignKeyDefinition_NullOnDelete_Call
- func (_c *ForeignKeyDefinition_NullOnDelete_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_NullOnDelete_Call
- type ForeignKeyDefinition_On_Call
- func (_c *ForeignKeyDefinition_On_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_On_Call
- func (_c *ForeignKeyDefinition_On_Call) Run(run func(table string)) *ForeignKeyDefinition_On_Call
- func (_c *ForeignKeyDefinition_On_Call) RunAndReturn(run func(string) schema.ForeignKeyDefinition) *ForeignKeyDefinition_On_Call
- type ForeignKeyDefinition_References_Call
- func (_c *ForeignKeyDefinition_References_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_References_Call
- func (_c *ForeignKeyDefinition_References_Call) Run(run func(columns ...string)) *ForeignKeyDefinition_References_Call
- func (_c *ForeignKeyDefinition_References_Call) RunAndReturn(run func(...string) schema.ForeignKeyDefinition) *ForeignKeyDefinition_References_Call
- type ForeignKeyDefinition_RestrictOnDelete_Call
- func (_c *ForeignKeyDefinition_RestrictOnDelete_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_RestrictOnDelete_Call
- func (_c *ForeignKeyDefinition_RestrictOnDelete_Call) Run(run func()) *ForeignKeyDefinition_RestrictOnDelete_Call
- func (_c *ForeignKeyDefinition_RestrictOnDelete_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_RestrictOnDelete_Call
- type ForeignKeyDefinition_RestrictOnUpdate_Call
- func (_c *ForeignKeyDefinition_RestrictOnUpdate_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_RestrictOnUpdate_Call
- func (_c *ForeignKeyDefinition_RestrictOnUpdate_Call) Run(run func()) *ForeignKeyDefinition_RestrictOnUpdate_Call
- func (_c *ForeignKeyDefinition_RestrictOnUpdate_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_RestrictOnUpdate_Call
- type Grammar
- func (_m *Grammar) CompileAdd(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileColumns(_a0 string, table string) string
- func (_m *Grammar) CompileComment(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileCreate(blueprint schema.Blueprint) string
- func (_m *Grammar) CompileDrop(blueprint schema.Blueprint) string
- func (_m *Grammar) CompileDropAllDomains(domains []string) string
- func (_m *Grammar) CompileDropAllTables(tables []string) string
- func (_m *Grammar) CompileDropAllTypes(types []string) string
- func (_m *Grammar) CompileDropAllViews(views []string) string
- func (_m *Grammar) CompileDropColumn(blueprint schema.Blueprint, command *schema.Command) []string
- func (_m *Grammar) CompileDropForeign(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileDropFullText(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileDropIfExists(blueprint schema.Blueprint) string
- func (_m *Grammar) CompileDropIndex(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileDropPrimary(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileDropUnique(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileForeign(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileForeignKeys(_a0 string, table string) string
- func (_m *Grammar) CompileFullText(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileIndex(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileIndexes(_a0 string, table string) string
- func (_m *Grammar) CompilePrimary(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileRename(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileRenameIndex(_a0 schema.Schema, blueprint schema.Blueprint, command *schema.Command) []string
- func (_m *Grammar) CompileTables(database string) string
- func (_m *Grammar) CompileTypes() string
- func (_m *Grammar) CompileUnique(blueprint schema.Blueprint, command *schema.Command) string
- func (_m *Grammar) CompileViews(database string) string
- func (_m *Grammar) EXPECT() *Grammar_Expecter
- func (_m *Grammar) GetAttributeCommands() []string
- func (_m *Grammar) TypeBigInteger(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeBoolean(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeChar(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeDate(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeDateTime(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeDateTimeTz(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeDecimal(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeDouble(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeEnum(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeFloat(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeInteger(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeJson(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeJsonb(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeLongText(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeMediumInteger(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeMediumText(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeSmallInteger(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeString(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeText(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeTime(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeTimeTz(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeTimestamp(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeTimestampTz(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeTinyInteger(column schema.ColumnDefinition) string
- func (_m *Grammar) TypeTinyText(column schema.ColumnDefinition) string
- type Grammar_CompileAdd_Call
- func (_c *Grammar_CompileAdd_Call) Return(_a0 string) *Grammar_CompileAdd_Call
- func (_c *Grammar_CompileAdd_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileAdd_Call
- func (_c *Grammar_CompileAdd_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileAdd_Call
- type Grammar_CompileColumns_Call
- func (_c *Grammar_CompileColumns_Call) Return(_a0 string) *Grammar_CompileColumns_Call
- func (_c *Grammar_CompileColumns_Call) Run(run func(_a0 string, table string)) *Grammar_CompileColumns_Call
- func (_c *Grammar_CompileColumns_Call) RunAndReturn(run func(string, string) string) *Grammar_CompileColumns_Call
- type Grammar_CompileComment_Call
- func (_c *Grammar_CompileComment_Call) Return(_a0 string) *Grammar_CompileComment_Call
- func (_c *Grammar_CompileComment_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileComment_Call
- func (_c *Grammar_CompileComment_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileComment_Call
- type Grammar_CompileCreate_Call
- func (_c *Grammar_CompileCreate_Call) Return(_a0 string) *Grammar_CompileCreate_Call
- func (_c *Grammar_CompileCreate_Call) Run(run func(blueprint schema.Blueprint)) *Grammar_CompileCreate_Call
- func (_c *Grammar_CompileCreate_Call) RunAndReturn(run func(schema.Blueprint) string) *Grammar_CompileCreate_Call
- type Grammar_CompileDropAllDomains_Call
- func (_c *Grammar_CompileDropAllDomains_Call) Return(_a0 string) *Grammar_CompileDropAllDomains_Call
- func (_c *Grammar_CompileDropAllDomains_Call) Run(run func(domains []string)) *Grammar_CompileDropAllDomains_Call
- func (_c *Grammar_CompileDropAllDomains_Call) RunAndReturn(run func([]string) string) *Grammar_CompileDropAllDomains_Call
- type Grammar_CompileDropAllTables_Call
- func (_c *Grammar_CompileDropAllTables_Call) Return(_a0 string) *Grammar_CompileDropAllTables_Call
- func (_c *Grammar_CompileDropAllTables_Call) Run(run func(tables []string)) *Grammar_CompileDropAllTables_Call
- func (_c *Grammar_CompileDropAllTables_Call) RunAndReturn(run func([]string) string) *Grammar_CompileDropAllTables_Call
- type Grammar_CompileDropAllTypes_Call
- func (_c *Grammar_CompileDropAllTypes_Call) Return(_a0 string) *Grammar_CompileDropAllTypes_Call
- func (_c *Grammar_CompileDropAllTypes_Call) Run(run func(types []string)) *Grammar_CompileDropAllTypes_Call
- func (_c *Grammar_CompileDropAllTypes_Call) RunAndReturn(run func([]string) string) *Grammar_CompileDropAllTypes_Call
- type Grammar_CompileDropAllViews_Call
- func (_c *Grammar_CompileDropAllViews_Call) Return(_a0 string) *Grammar_CompileDropAllViews_Call
- func (_c *Grammar_CompileDropAllViews_Call) Run(run func(views []string)) *Grammar_CompileDropAllViews_Call
- func (_c *Grammar_CompileDropAllViews_Call) RunAndReturn(run func([]string) string) *Grammar_CompileDropAllViews_Call
- type Grammar_CompileDropColumn_Call
- func (_c *Grammar_CompileDropColumn_Call) Return(_a0 []string) *Grammar_CompileDropColumn_Call
- func (_c *Grammar_CompileDropColumn_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropColumn_Call
- func (_c *Grammar_CompileDropColumn_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) []string) *Grammar_CompileDropColumn_Call
- type Grammar_CompileDropForeign_Call
- func (_c *Grammar_CompileDropForeign_Call) Return(_a0 string) *Grammar_CompileDropForeign_Call
- func (_c *Grammar_CompileDropForeign_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropForeign_Call
- func (_c *Grammar_CompileDropForeign_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropForeign_Call
- type Grammar_CompileDropFullText_Call
- func (_c *Grammar_CompileDropFullText_Call) Return(_a0 string) *Grammar_CompileDropFullText_Call
- func (_c *Grammar_CompileDropFullText_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropFullText_Call
- func (_c *Grammar_CompileDropFullText_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropFullText_Call
- type Grammar_CompileDropIfExists_Call
- func (_c *Grammar_CompileDropIfExists_Call) Return(_a0 string) *Grammar_CompileDropIfExists_Call
- func (_c *Grammar_CompileDropIfExists_Call) Run(run func(blueprint schema.Blueprint)) *Grammar_CompileDropIfExists_Call
- func (_c *Grammar_CompileDropIfExists_Call) RunAndReturn(run func(schema.Blueprint) string) *Grammar_CompileDropIfExists_Call
- type Grammar_CompileDropIndex_Call
- func (_c *Grammar_CompileDropIndex_Call) Return(_a0 string) *Grammar_CompileDropIndex_Call
- func (_c *Grammar_CompileDropIndex_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropIndex_Call
- func (_c *Grammar_CompileDropIndex_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropIndex_Call
- type Grammar_CompileDropPrimary_Call
- func (_c *Grammar_CompileDropPrimary_Call) Return(_a0 string) *Grammar_CompileDropPrimary_Call
- func (_c *Grammar_CompileDropPrimary_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropPrimary_Call
- func (_c *Grammar_CompileDropPrimary_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropPrimary_Call
- type Grammar_CompileDropUnique_Call
- func (_c *Grammar_CompileDropUnique_Call) Return(_a0 string) *Grammar_CompileDropUnique_Call
- func (_c *Grammar_CompileDropUnique_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropUnique_Call
- func (_c *Grammar_CompileDropUnique_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropUnique_Call
- type Grammar_CompileDrop_Call
- type Grammar_CompileForeignKeys_Call
- func (_c *Grammar_CompileForeignKeys_Call) Return(_a0 string) *Grammar_CompileForeignKeys_Call
- func (_c *Grammar_CompileForeignKeys_Call) Run(run func(_a0 string, table string)) *Grammar_CompileForeignKeys_Call
- func (_c *Grammar_CompileForeignKeys_Call) RunAndReturn(run func(string, string) string) *Grammar_CompileForeignKeys_Call
- type Grammar_CompileForeign_Call
- func (_c *Grammar_CompileForeign_Call) Return(_a0 string) *Grammar_CompileForeign_Call
- func (_c *Grammar_CompileForeign_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileForeign_Call
- func (_c *Grammar_CompileForeign_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileForeign_Call
- type Grammar_CompileFullText_Call
- func (_c *Grammar_CompileFullText_Call) Return(_a0 string) *Grammar_CompileFullText_Call
- func (_c *Grammar_CompileFullText_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileFullText_Call
- func (_c *Grammar_CompileFullText_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileFullText_Call
- type Grammar_CompileIndex_Call
- func (_c *Grammar_CompileIndex_Call) Return(_a0 string) *Grammar_CompileIndex_Call
- func (_c *Grammar_CompileIndex_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileIndex_Call
- func (_c *Grammar_CompileIndex_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileIndex_Call
- type Grammar_CompileIndexes_Call
- func (_c *Grammar_CompileIndexes_Call) Return(_a0 string) *Grammar_CompileIndexes_Call
- func (_c *Grammar_CompileIndexes_Call) Run(run func(_a0 string, table string)) *Grammar_CompileIndexes_Call
- func (_c *Grammar_CompileIndexes_Call) RunAndReturn(run func(string, string) string) *Grammar_CompileIndexes_Call
- type Grammar_CompilePrimary_Call
- func (_c *Grammar_CompilePrimary_Call) Return(_a0 string) *Grammar_CompilePrimary_Call
- func (_c *Grammar_CompilePrimary_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompilePrimary_Call
- func (_c *Grammar_CompilePrimary_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompilePrimary_Call
- type Grammar_CompileRenameIndex_Call
- func (_c *Grammar_CompileRenameIndex_Call) Return(_a0 []string) *Grammar_CompileRenameIndex_Call
- func (_c *Grammar_CompileRenameIndex_Call) Run(...) *Grammar_CompileRenameIndex_Call
- func (_c *Grammar_CompileRenameIndex_Call) RunAndReturn(run func(schema.Schema, schema.Blueprint, *schema.Command) []string) *Grammar_CompileRenameIndex_Call
- type Grammar_CompileRename_Call
- func (_c *Grammar_CompileRename_Call) Return(_a0 string) *Grammar_CompileRename_Call
- func (_c *Grammar_CompileRename_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileRename_Call
- func (_c *Grammar_CompileRename_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileRename_Call
- type Grammar_CompileTables_Call
- type Grammar_CompileTypes_Call
- type Grammar_CompileUnique_Call
- func (_c *Grammar_CompileUnique_Call) Return(_a0 string) *Grammar_CompileUnique_Call
- func (_c *Grammar_CompileUnique_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileUnique_Call
- func (_c *Grammar_CompileUnique_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileUnique_Call
- type Grammar_CompileViews_Call
- type Grammar_Expecter
- func (_e *Grammar_Expecter) CompileAdd(blueprint interface{}, command interface{}) *Grammar_CompileAdd_Call
- func (_e *Grammar_Expecter) CompileColumns(_a0 interface{}, table interface{}) *Grammar_CompileColumns_Call
- func (_e *Grammar_Expecter) CompileComment(blueprint interface{}, command interface{}) *Grammar_CompileComment_Call
- func (_e *Grammar_Expecter) CompileCreate(blueprint interface{}) *Grammar_CompileCreate_Call
- func (_e *Grammar_Expecter) CompileDrop(blueprint interface{}) *Grammar_CompileDrop_Call
- func (_e *Grammar_Expecter) CompileDropAllDomains(domains interface{}) *Grammar_CompileDropAllDomains_Call
- func (_e *Grammar_Expecter) CompileDropAllTables(tables interface{}) *Grammar_CompileDropAllTables_Call
- func (_e *Grammar_Expecter) CompileDropAllTypes(types interface{}) *Grammar_CompileDropAllTypes_Call
- func (_e *Grammar_Expecter) CompileDropAllViews(views interface{}) *Grammar_CompileDropAllViews_Call
- func (_e *Grammar_Expecter) CompileDropColumn(blueprint interface{}, command interface{}) *Grammar_CompileDropColumn_Call
- func (_e *Grammar_Expecter) CompileDropForeign(blueprint interface{}, command interface{}) *Grammar_CompileDropForeign_Call
- func (_e *Grammar_Expecter) CompileDropFullText(blueprint interface{}, command interface{}) *Grammar_CompileDropFullText_Call
- func (_e *Grammar_Expecter) CompileDropIfExists(blueprint interface{}) *Grammar_CompileDropIfExists_Call
- func (_e *Grammar_Expecter) CompileDropIndex(blueprint interface{}, command interface{}) *Grammar_CompileDropIndex_Call
- func (_e *Grammar_Expecter) CompileDropPrimary(blueprint interface{}, command interface{}) *Grammar_CompileDropPrimary_Call
- func (_e *Grammar_Expecter) CompileDropUnique(blueprint interface{}, command interface{}) *Grammar_CompileDropUnique_Call
- func (_e *Grammar_Expecter) CompileForeign(blueprint interface{}, command interface{}) *Grammar_CompileForeign_Call
- func (_e *Grammar_Expecter) CompileForeignKeys(_a0 interface{}, table interface{}) *Grammar_CompileForeignKeys_Call
- func (_e *Grammar_Expecter) CompileFullText(blueprint interface{}, command interface{}) *Grammar_CompileFullText_Call
- func (_e *Grammar_Expecter) CompileIndex(blueprint interface{}, command interface{}) *Grammar_CompileIndex_Call
- func (_e *Grammar_Expecter) CompileIndexes(_a0 interface{}, table interface{}) *Grammar_CompileIndexes_Call
- func (_e *Grammar_Expecter) CompilePrimary(blueprint interface{}, command interface{}) *Grammar_CompilePrimary_Call
- func (_e *Grammar_Expecter) CompileRename(blueprint interface{}, command interface{}) *Grammar_CompileRename_Call
- func (_e *Grammar_Expecter) CompileRenameIndex(_a0 interface{}, blueprint interface{}, command interface{}) *Grammar_CompileRenameIndex_Call
- func (_e *Grammar_Expecter) CompileTables(database interface{}) *Grammar_CompileTables_Call
- func (_e *Grammar_Expecter) CompileTypes() *Grammar_CompileTypes_Call
- func (_e *Grammar_Expecter) CompileUnique(blueprint interface{}, command interface{}) *Grammar_CompileUnique_Call
- func (_e *Grammar_Expecter) CompileViews(database interface{}) *Grammar_CompileViews_Call
- func (_e *Grammar_Expecter) GetAttributeCommands() *Grammar_GetAttributeCommands_Call
- func (_e *Grammar_Expecter) TypeBigInteger(column interface{}) *Grammar_TypeBigInteger_Call
- func (_e *Grammar_Expecter) TypeBoolean(column interface{}) *Grammar_TypeBoolean_Call
- func (_e *Grammar_Expecter) TypeChar(column interface{}) *Grammar_TypeChar_Call
- func (_e *Grammar_Expecter) TypeDate(column interface{}) *Grammar_TypeDate_Call
- func (_e *Grammar_Expecter) TypeDateTime(column interface{}) *Grammar_TypeDateTime_Call
- func (_e *Grammar_Expecter) TypeDateTimeTz(column interface{}) *Grammar_TypeDateTimeTz_Call
- func (_e *Grammar_Expecter) TypeDecimal(column interface{}) *Grammar_TypeDecimal_Call
- func (_e *Grammar_Expecter) TypeDouble(column interface{}) *Grammar_TypeDouble_Call
- func (_e *Grammar_Expecter) TypeEnum(column interface{}) *Grammar_TypeEnum_Call
- func (_e *Grammar_Expecter) TypeFloat(column interface{}) *Grammar_TypeFloat_Call
- func (_e *Grammar_Expecter) TypeInteger(column interface{}) *Grammar_TypeInteger_Call
- func (_e *Grammar_Expecter) TypeJson(column interface{}) *Grammar_TypeJson_Call
- func (_e *Grammar_Expecter) TypeJsonb(column interface{}) *Grammar_TypeJsonb_Call
- func (_e *Grammar_Expecter) TypeLongText(column interface{}) *Grammar_TypeLongText_Call
- func (_e *Grammar_Expecter) TypeMediumInteger(column interface{}) *Grammar_TypeMediumInteger_Call
- func (_e *Grammar_Expecter) TypeMediumText(column interface{}) *Grammar_TypeMediumText_Call
- func (_e *Grammar_Expecter) TypeSmallInteger(column interface{}) *Grammar_TypeSmallInteger_Call
- func (_e *Grammar_Expecter) TypeString(column interface{}) *Grammar_TypeString_Call
- func (_e *Grammar_Expecter) TypeText(column interface{}) *Grammar_TypeText_Call
- func (_e *Grammar_Expecter) TypeTime(column interface{}) *Grammar_TypeTime_Call
- func (_e *Grammar_Expecter) TypeTimeTz(column interface{}) *Grammar_TypeTimeTz_Call
- func (_e *Grammar_Expecter) TypeTimestamp(column interface{}) *Grammar_TypeTimestamp_Call
- func (_e *Grammar_Expecter) TypeTimestampTz(column interface{}) *Grammar_TypeTimestampTz_Call
- func (_e *Grammar_Expecter) TypeTinyInteger(column interface{}) *Grammar_TypeTinyInteger_Call
- func (_e *Grammar_Expecter) TypeTinyText(column interface{}) *Grammar_TypeTinyText_Call
- type Grammar_GetAttributeCommands_Call
- func (_c *Grammar_GetAttributeCommands_Call) Return(_a0 []string) *Grammar_GetAttributeCommands_Call
- func (_c *Grammar_GetAttributeCommands_Call) Run(run func()) *Grammar_GetAttributeCommands_Call
- func (_c *Grammar_GetAttributeCommands_Call) RunAndReturn(run func() []string) *Grammar_GetAttributeCommands_Call
- type Grammar_TypeBigInteger_Call
- func (_c *Grammar_TypeBigInteger_Call) Return(_a0 string) *Grammar_TypeBigInteger_Call
- func (_c *Grammar_TypeBigInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeBigInteger_Call
- func (_c *Grammar_TypeBigInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeBigInteger_Call
- type Grammar_TypeBoolean_Call
- func (_c *Grammar_TypeBoolean_Call) Return(_a0 string) *Grammar_TypeBoolean_Call
- func (_c *Grammar_TypeBoolean_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeBoolean_Call
- func (_c *Grammar_TypeBoolean_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeBoolean_Call
- type Grammar_TypeChar_Call
- type Grammar_TypeDateTimeTz_Call
- func (_c *Grammar_TypeDateTimeTz_Call) Return(_a0 string) *Grammar_TypeDateTimeTz_Call
- func (_c *Grammar_TypeDateTimeTz_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeDateTimeTz_Call
- func (_c *Grammar_TypeDateTimeTz_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeDateTimeTz_Call
- type Grammar_TypeDateTime_Call
- func (_c *Grammar_TypeDateTime_Call) Return(_a0 string) *Grammar_TypeDateTime_Call
- func (_c *Grammar_TypeDateTime_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeDateTime_Call
- func (_c *Grammar_TypeDateTime_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeDateTime_Call
- type Grammar_TypeDate_Call
- type Grammar_TypeDecimal_Call
- func (_c *Grammar_TypeDecimal_Call) Return(_a0 string) *Grammar_TypeDecimal_Call
- func (_c *Grammar_TypeDecimal_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeDecimal_Call
- func (_c *Grammar_TypeDecimal_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeDecimal_Call
- type Grammar_TypeDouble_Call
- type Grammar_TypeEnum_Call
- type Grammar_TypeFloat_Call
- type Grammar_TypeInteger_Call
- func (_c *Grammar_TypeInteger_Call) Return(_a0 string) *Grammar_TypeInteger_Call
- func (_c *Grammar_TypeInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeInteger_Call
- func (_c *Grammar_TypeInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeInteger_Call
- type Grammar_TypeJson_Call
- type Grammar_TypeJsonb_Call
- type Grammar_TypeLongText_Call
- func (_c *Grammar_TypeLongText_Call) Return(_a0 string) *Grammar_TypeLongText_Call
- func (_c *Grammar_TypeLongText_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeLongText_Call
- func (_c *Grammar_TypeLongText_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeLongText_Call
- type Grammar_TypeMediumInteger_Call
- func (_c *Grammar_TypeMediumInteger_Call) Return(_a0 string) *Grammar_TypeMediumInteger_Call
- func (_c *Grammar_TypeMediumInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeMediumInteger_Call
- func (_c *Grammar_TypeMediumInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeMediumInteger_Call
- type Grammar_TypeMediumText_Call
- func (_c *Grammar_TypeMediumText_Call) Return(_a0 string) *Grammar_TypeMediumText_Call
- func (_c *Grammar_TypeMediumText_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeMediumText_Call
- func (_c *Grammar_TypeMediumText_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeMediumText_Call
- type Grammar_TypeSmallInteger_Call
- func (_c *Grammar_TypeSmallInteger_Call) Return(_a0 string) *Grammar_TypeSmallInteger_Call
- func (_c *Grammar_TypeSmallInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeSmallInteger_Call
- func (_c *Grammar_TypeSmallInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeSmallInteger_Call
- type Grammar_TypeString_Call
- type Grammar_TypeText_Call
- type Grammar_TypeTimeTz_Call
- type Grammar_TypeTime_Call
- type Grammar_TypeTimestampTz_Call
- func (_c *Grammar_TypeTimestampTz_Call) Return(_a0 string) *Grammar_TypeTimestampTz_Call
- func (_c *Grammar_TypeTimestampTz_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTimestampTz_Call
- func (_c *Grammar_TypeTimestampTz_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTimestampTz_Call
- type Grammar_TypeTimestamp_Call
- func (_c *Grammar_TypeTimestamp_Call) Return(_a0 string) *Grammar_TypeTimestamp_Call
- func (_c *Grammar_TypeTimestamp_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTimestamp_Call
- func (_c *Grammar_TypeTimestamp_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTimestamp_Call
- type Grammar_TypeTinyInteger_Call
- func (_c *Grammar_TypeTinyInteger_Call) Return(_a0 string) *Grammar_TypeTinyInteger_Call
- func (_c *Grammar_TypeTinyInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTinyInteger_Call
- func (_c *Grammar_TypeTinyInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTinyInteger_Call
- type Grammar_TypeTinyText_Call
- func (_c *Grammar_TypeTinyText_Call) Return(_a0 string) *Grammar_TypeTinyText_Call
- func (_c *Grammar_TypeTinyText_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTinyText_Call
- func (_c *Grammar_TypeTinyText_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTinyText_Call
- type IndexDefinition
- func (_m *IndexDefinition) Algorithm(algorithm string) schema.IndexDefinition
- func (_m *IndexDefinition) Deferrable() schema.IndexDefinition
- func (_m *IndexDefinition) EXPECT() *IndexDefinition_Expecter
- func (_m *IndexDefinition) InitiallyImmediate() schema.IndexDefinition
- func (_m *IndexDefinition) Language(name string) schema.IndexDefinition
- func (_m *IndexDefinition) Name(name string) schema.IndexDefinition
- type IndexDefinition_Algorithm_Call
- func (_c *IndexDefinition_Algorithm_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_Algorithm_Call
- func (_c *IndexDefinition_Algorithm_Call) Run(run func(algorithm string)) *IndexDefinition_Algorithm_Call
- func (_c *IndexDefinition_Algorithm_Call) RunAndReturn(run func(string) schema.IndexDefinition) *IndexDefinition_Algorithm_Call
- type IndexDefinition_Deferrable_Call
- func (_c *IndexDefinition_Deferrable_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_Deferrable_Call
- func (_c *IndexDefinition_Deferrable_Call) Run(run func()) *IndexDefinition_Deferrable_Call
- func (_c *IndexDefinition_Deferrable_Call) RunAndReturn(run func() schema.IndexDefinition) *IndexDefinition_Deferrable_Call
- type IndexDefinition_Expecter
- func (_e *IndexDefinition_Expecter) Algorithm(algorithm interface{}) *IndexDefinition_Algorithm_Call
- func (_e *IndexDefinition_Expecter) Deferrable() *IndexDefinition_Deferrable_Call
- func (_e *IndexDefinition_Expecter) InitiallyImmediate() *IndexDefinition_InitiallyImmediate_Call
- func (_e *IndexDefinition_Expecter) Language(name interface{}) *IndexDefinition_Language_Call
- func (_e *IndexDefinition_Expecter) Name(name interface{}) *IndexDefinition_Name_Call
- type IndexDefinition_InitiallyImmediate_Call
- func (_c *IndexDefinition_InitiallyImmediate_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_InitiallyImmediate_Call
- func (_c *IndexDefinition_InitiallyImmediate_Call) Run(run func()) *IndexDefinition_InitiallyImmediate_Call
- func (_c *IndexDefinition_InitiallyImmediate_Call) RunAndReturn(run func() schema.IndexDefinition) *IndexDefinition_InitiallyImmediate_Call
- type IndexDefinition_Language_Call
- func (_c *IndexDefinition_Language_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_Language_Call
- func (_c *IndexDefinition_Language_Call) Run(run func(name string)) *IndexDefinition_Language_Call
- func (_c *IndexDefinition_Language_Call) RunAndReturn(run func(string) schema.IndexDefinition) *IndexDefinition_Language_Call
- type IndexDefinition_Name_Call
- func (_c *IndexDefinition_Name_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_Name_Call
- func (_c *IndexDefinition_Name_Call) Run(run func(name string)) *IndexDefinition_Name_Call
- func (_c *IndexDefinition_Name_Call) RunAndReturn(run func(string) schema.IndexDefinition) *IndexDefinition_Name_Call
- type Migration
- type Migration_Down_Call
- type Migration_Expecter
- type Migration_Signature_Call
- type Migration_Up_Call
- type Processor
- func (_m *Processor) EXPECT() *Processor_Expecter
- func (_m *Processor) ProcessColumns(dbColumns []schema.DBColumn) []schema.Column
- func (_m *Processor) ProcessForeignKeys(dbIndexes []schema.DBForeignKey) []schema.ForeignKey
- func (_m *Processor) ProcessIndexes(dbIndexes []schema.DBIndex) []schema.Index
- type Processor_Expecter
- func (_e *Processor_Expecter) ProcessColumns(dbColumns interface{}) *Processor_ProcessColumns_Call
- func (_e *Processor_Expecter) ProcessForeignKeys(dbIndexes interface{}) *Processor_ProcessForeignKeys_Call
- func (_e *Processor_Expecter) ProcessIndexes(dbIndexes interface{}) *Processor_ProcessIndexes_Call
- type Processor_ProcessColumns_Call
- func (_c *Processor_ProcessColumns_Call) Return(_a0 []schema.Column) *Processor_ProcessColumns_Call
- func (_c *Processor_ProcessColumns_Call) Run(run func(dbColumns []schema.DBColumn)) *Processor_ProcessColumns_Call
- func (_c *Processor_ProcessColumns_Call) RunAndReturn(run func([]schema.DBColumn) []schema.Column) *Processor_ProcessColumns_Call
- type Processor_ProcessForeignKeys_Call
- func (_c *Processor_ProcessForeignKeys_Call) Return(_a0 []schema.ForeignKey) *Processor_ProcessForeignKeys_Call
- func (_c *Processor_ProcessForeignKeys_Call) Run(run func(dbIndexes []schema.DBForeignKey)) *Processor_ProcessForeignKeys_Call
- func (_c *Processor_ProcessForeignKeys_Call) RunAndReturn(run func([]schema.DBForeignKey) []schema.ForeignKey) *Processor_ProcessForeignKeys_Call
- type Processor_ProcessIndexes_Call
- func (_c *Processor_ProcessIndexes_Call) Return(_a0 []schema.Index) *Processor_ProcessIndexes_Call
- func (_c *Processor_ProcessIndexes_Call) Run(run func(dbIndexes []schema.DBIndex)) *Processor_ProcessIndexes_Call
- func (_c *Processor_ProcessIndexes_Call) RunAndReturn(run func([]schema.DBIndex) []schema.Index) *Processor_ProcessIndexes_Call
- type Schema
- func (_m *Schema) Connection(name string) schema.Schema
- func (_m *Schema) Create(table string, callback func(schema.Blueprint)) error
- func (_m *Schema) Drop(table string) error
- func (_m *Schema) DropAllTables() error
- func (_m *Schema) DropAllTypes() error
- func (_m *Schema) DropAllViews() error
- func (_m *Schema) DropColumns(table string, columns []string) error
- func (_m *Schema) DropIfExists(table string) error
- func (_m *Schema) EXPECT() *Schema_Expecter
- func (_m *Schema) GetColumnListing(table string) []string
- func (_m *Schema) GetColumns(table string) ([]schema.Column, error)
- func (_m *Schema) GetConnection() string
- func (_m *Schema) GetForeignKeys(table string) ([]schema.ForeignKey, error)
- func (_m *Schema) GetIndexListing(table string) []string
- func (_m *Schema) GetIndexes(table string) ([]schema.Index, error)
- func (_m *Schema) GetTableListing() []string
- func (_m *Schema) GetTables() ([]schema.Table, error)
- func (_m *Schema) GetTypes() ([]schema.Type, error)
- func (_m *Schema) GetViews() ([]schema.View, error)
- func (_m *Schema) HasColumn(table string, column string) bool
- func (_m *Schema) HasColumns(table string, columns []string) bool
- func (_m *Schema) HasIndex(table string, index string) bool
- func (_m *Schema) HasTable(name string) bool
- func (_m *Schema) HasType(name string) bool
- func (_m *Schema) HasView(name string) bool
- func (_m *Schema) Migrations() []schema.Migration
- func (_m *Schema) Orm() orm.Orm
- func (_m *Schema) Register(_a0 []schema.Migration)
- func (_m *Schema) Rename(from string, to string) error
- func (_m *Schema) SetConnection(name string)
- func (_m *Schema) Sql(sql string) error
- func (_m *Schema) Table(table string, callback func(schema.Blueprint)) error
- type Schema_Connection_Call
- type Schema_Create_Call
- type Schema_DropAllTables_Call
- type Schema_DropAllTypes_Call
- type Schema_DropAllViews_Call
- type Schema_DropColumns_Call
- type Schema_DropIfExists_Call
- type Schema_Drop_Call
- type Schema_Expecter
- func (_e *Schema_Expecter) Connection(name interface{}) *Schema_Connection_Call
- func (_e *Schema_Expecter) Create(table interface{}, callback interface{}) *Schema_Create_Call
- func (_e *Schema_Expecter) Drop(table interface{}) *Schema_Drop_Call
- func (_e *Schema_Expecter) DropAllTables() *Schema_DropAllTables_Call
- func (_e *Schema_Expecter) DropAllTypes() *Schema_DropAllTypes_Call
- func (_e *Schema_Expecter) DropAllViews() *Schema_DropAllViews_Call
- func (_e *Schema_Expecter) DropColumns(table interface{}, columns interface{}) *Schema_DropColumns_Call
- func (_e *Schema_Expecter) DropIfExists(table interface{}) *Schema_DropIfExists_Call
- func (_e *Schema_Expecter) GetColumnListing(table interface{}) *Schema_GetColumnListing_Call
- func (_e *Schema_Expecter) GetColumns(table interface{}) *Schema_GetColumns_Call
- func (_e *Schema_Expecter) GetConnection() *Schema_GetConnection_Call
- func (_e *Schema_Expecter) GetForeignKeys(table interface{}) *Schema_GetForeignKeys_Call
- func (_e *Schema_Expecter) GetIndexListing(table interface{}) *Schema_GetIndexListing_Call
- func (_e *Schema_Expecter) GetIndexes(table interface{}) *Schema_GetIndexes_Call
- func (_e *Schema_Expecter) GetTableListing() *Schema_GetTableListing_Call
- func (_e *Schema_Expecter) GetTables() *Schema_GetTables_Call
- func (_e *Schema_Expecter) GetTypes() *Schema_GetTypes_Call
- func (_e *Schema_Expecter) GetViews() *Schema_GetViews_Call
- func (_e *Schema_Expecter) HasColumn(table interface{}, column interface{}) *Schema_HasColumn_Call
- func (_e *Schema_Expecter) HasColumns(table interface{}, columns interface{}) *Schema_HasColumns_Call
- func (_e *Schema_Expecter) HasIndex(table interface{}, index interface{}) *Schema_HasIndex_Call
- func (_e *Schema_Expecter) HasTable(name interface{}) *Schema_HasTable_Call
- func (_e *Schema_Expecter) HasType(name interface{}) *Schema_HasType_Call
- func (_e *Schema_Expecter) HasView(name interface{}) *Schema_HasView_Call
- func (_e *Schema_Expecter) Migrations() *Schema_Migrations_Call
- func (_e *Schema_Expecter) Orm() *Schema_Orm_Call
- func (_e *Schema_Expecter) Register(_a0 interface{}) *Schema_Register_Call
- func (_e *Schema_Expecter) Rename(from interface{}, to interface{}) *Schema_Rename_Call
- func (_e *Schema_Expecter) SetConnection(name interface{}) *Schema_SetConnection_Call
- func (_e *Schema_Expecter) Sql(sql interface{}) *Schema_Sql_Call
- func (_e *Schema_Expecter) Table(table interface{}, callback interface{}) *Schema_Table_Call
- type Schema_GetColumnListing_Call
- type Schema_GetColumns_Call
- type Schema_GetConnection_Call
- type Schema_GetForeignKeys_Call
- func (_c *Schema_GetForeignKeys_Call) Return(_a0 []schema.ForeignKey, _a1 error) *Schema_GetForeignKeys_Call
- func (_c *Schema_GetForeignKeys_Call) Run(run func(table string)) *Schema_GetForeignKeys_Call
- func (_c *Schema_GetForeignKeys_Call) RunAndReturn(run func(string) ([]schema.ForeignKey, error)) *Schema_GetForeignKeys_Call
- type Schema_GetIndexListing_Call
- type Schema_GetIndexes_Call
- type Schema_GetTableListing_Call
- type Schema_GetTables_Call
- type Schema_GetTypes_Call
- type Schema_GetViews_Call
- type Schema_HasColumn_Call
- type Schema_HasColumns_Call
- type Schema_HasIndex_Call
- type Schema_HasTable_Call
- type Schema_HasType_Call
- type Schema_HasView_Call
- type Schema_Migrations_Call
- type Schema_Orm_Call
- type Schema_Register_Call
- type Schema_Rename_Call
- type Schema_SetConnection_Call
- type Schema_Sql_Call
- type Schema_Table_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blueprint ¶
Blueprint is an autogenerated mock type for the Blueprint type
func NewBlueprint ¶
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) BigIncrements ¶
func (_m *Blueprint) BigIncrements(column string) schema.ColumnDefinition
BigIncrements provides a mock function with given fields: column
func (*Blueprint) BigInteger ¶
func (_m *Blueprint) BigInteger(column string) schema.ColumnDefinition
BigInteger provides a mock function with given fields: column
func (*Blueprint) Boolean ¶ added in v1.15.3
func (_m *Blueprint) Boolean(column string) schema.ColumnDefinition
Boolean provides a mock function with given fields: column
func (*Blueprint) Char ¶
func (_m *Blueprint) Char(column string, length ...int) schema.ColumnDefinition
Char provides a mock function with given fields: column, length
func (*Blueprint) Column ¶ added in v1.15.3
func (_m *Blueprint) Column(column string, ttype string) schema.ColumnDefinition
Column provides a mock function with given fields: column, ttype
func (*Blueprint) Create ¶
func (_m *Blueprint) Create()
Create provides a mock function with no fields
func (*Blueprint) Date ¶
func (_m *Blueprint) Date(column string) schema.ColumnDefinition
Date provides a mock function with given fields: column
func (*Blueprint) DateTime ¶
func (_m *Blueprint) DateTime(column string, precision ...int) schema.ColumnDefinition
DateTime provides a mock function with given fields: column, precision
func (*Blueprint) DateTimeTz ¶
func (_m *Blueprint) DateTimeTz(column string, precision ...int) schema.ColumnDefinition
DateTimeTz provides a mock function with given fields: column, precision
func (*Blueprint) Decimal ¶
func (_m *Blueprint) Decimal(column string) schema.ColumnDefinition
Decimal provides a mock function with given fields: column
func (*Blueprint) Double ¶
func (_m *Blueprint) Double(column string) schema.ColumnDefinition
Double provides a mock function with given fields: column
func (*Blueprint) DropColumn ¶
DropColumn provides a mock function with given fields: column
func (*Blueprint) DropForeign ¶
DropForeign provides a mock function with given fields: column
func (*Blueprint) DropForeignByName ¶
DropForeignByName provides a mock function with given fields: name
func (*Blueprint) DropFullText ¶
DropFullText provides a mock function with given fields: column
func (*Blueprint) DropFullTextByName ¶
DropFullTextByName provides a mock function with given fields: name
func (*Blueprint) DropIfExists ¶
func (_m *Blueprint) DropIfExists()
DropIfExists provides a mock function with no fields
func (*Blueprint) DropIndexByName ¶
DropIndexByName provides a mock function with given fields: name
func (*Blueprint) DropPrimary ¶
DropPrimary provides a mock function with given fields: column
func (*Blueprint) DropSoftDeletes ¶
DropSoftDeletes provides a mock function with given fields: column
func (*Blueprint) DropSoftDeletesTz ¶
DropSoftDeletesTz provides a mock function with given fields: column
func (*Blueprint) DropTimestamps ¶
func (_m *Blueprint) DropTimestamps()
DropTimestamps provides a mock function with no fields
func (*Blueprint) DropTimestampsTz ¶
func (_m *Blueprint) DropTimestampsTz()
DropTimestampsTz provides a mock function with no fields
func (*Blueprint) DropUnique ¶
DropUnique provides a mock function with given fields: column
func (*Blueprint) DropUniqueByName ¶
DropUniqueByName provides a mock function with given fields: name
func (*Blueprint) EXPECT ¶
func (_m *Blueprint) EXPECT() *Blueprint_Expecter
func (*Blueprint) Enum ¶
func (_m *Blueprint) Enum(column string, array []interface{}) schema.ColumnDefinition
Enum provides a mock function with given fields: column, array
func (*Blueprint) Float ¶
func (_m *Blueprint) Float(column string, precision ...int) schema.ColumnDefinition
Float provides a mock function with given fields: column, precision
func (*Blueprint) Foreign ¶
func (_m *Blueprint) Foreign(column ...string) schema.ForeignKeyDefinition
Foreign provides a mock function with given fields: column
func (*Blueprint) FullText ¶
func (_m *Blueprint) FullText(column ...string) schema.IndexDefinition
FullText provides a mock function with given fields: column
func (*Blueprint) GetAddedColumns ¶
func (_m *Blueprint) GetAddedColumns() []schema.ColumnDefinition
GetAddedColumns provides a mock function with no fields
func (*Blueprint) GetCommands ¶
GetCommands provides a mock function with no fields
func (*Blueprint) GetTableName ¶
GetTableName provides a mock function with no fields
func (*Blueprint) HasCommand ¶
HasCommand provides a mock function with given fields: command
func (*Blueprint) ID ¶
func (_m *Blueprint) ID(column ...string) schema.ColumnDefinition
ID provides a mock function with given fields: column
func (*Blueprint) Increments ¶
func (_m *Blueprint) Increments(column string) schema.ColumnDefinition
Increments provides a mock function with given fields: column
func (*Blueprint) Index ¶
func (_m *Blueprint) Index(column ...string) schema.IndexDefinition
Index provides a mock function with given fields: column
func (*Blueprint) Integer ¶
func (_m *Blueprint) Integer(column string) schema.ColumnDefinition
Integer provides a mock function with given fields: column
func (*Blueprint) IntegerIncrements ¶
func (_m *Blueprint) IntegerIncrements(column string) schema.ColumnDefinition
IntegerIncrements provides a mock function with given fields: column
func (*Blueprint) Json ¶
func (_m *Blueprint) Json(column string) schema.ColumnDefinition
Json provides a mock function with given fields: column
func (*Blueprint) Jsonb ¶
func (_m *Blueprint) Jsonb(column string) schema.ColumnDefinition
Jsonb provides a mock function with given fields: column
func (*Blueprint) LongText ¶
func (_m *Blueprint) LongText(column string) schema.ColumnDefinition
LongText provides a mock function with given fields: column
func (*Blueprint) MediumIncrements ¶
func (_m *Blueprint) MediumIncrements(column string) schema.ColumnDefinition
MediumIncrements provides a mock function with given fields: column
func (*Blueprint) MediumInteger ¶
func (_m *Blueprint) MediumInteger(column string) schema.ColumnDefinition
MediumInteger provides a mock function with given fields: column
func (*Blueprint) MediumText ¶
func (_m *Blueprint) MediumText(column string) schema.ColumnDefinition
MediumText provides a mock function with given fields: column
func (*Blueprint) RenameIndex ¶
RenameIndex provides a mock function with given fields: from, to
func (*Blueprint) SmallIncrements ¶
func (_m *Blueprint) SmallIncrements(column string) schema.ColumnDefinition
SmallIncrements provides a mock function with given fields: column
func (*Blueprint) SmallInteger ¶
func (_m *Blueprint) SmallInteger(column string) schema.ColumnDefinition
SmallInteger provides a mock function with given fields: column
func (*Blueprint) SoftDeletes ¶
func (_m *Blueprint) SoftDeletes(column ...string) schema.ColumnDefinition
SoftDeletes provides a mock function with given fields: column
func (*Blueprint) SoftDeletesTz ¶
func (_m *Blueprint) SoftDeletesTz(column ...string) schema.ColumnDefinition
SoftDeletesTz provides a mock function with given fields: column
func (*Blueprint) String ¶
func (_m *Blueprint) String(column string, length ...int) schema.ColumnDefinition
String provides a mock function with given fields: column, length
func (*Blueprint) Text ¶
func (_m *Blueprint) Text(column string) schema.ColumnDefinition
Text provides a mock function with given fields: column
func (*Blueprint) Time ¶
func (_m *Blueprint) Time(column string, precision ...int) schema.ColumnDefinition
Time provides a mock function with given fields: column, precision
func (*Blueprint) TimeTz ¶
func (_m *Blueprint) TimeTz(column string, precision ...int) schema.ColumnDefinition
TimeTz provides a mock function with given fields: column, precision
func (*Blueprint) Timestamp ¶
func (_m *Blueprint) Timestamp(column string, precision ...int) schema.ColumnDefinition
Timestamp provides a mock function with given fields: column, precision
func (*Blueprint) TimestampTz ¶
func (_m *Blueprint) TimestampTz(column string, precision ...int) schema.ColumnDefinition
TimestampTz provides a mock function with given fields: column, precision
func (*Blueprint) Timestamps ¶
Timestamps provides a mock function with given fields: precision
func (*Blueprint) TimestampsTz ¶
TimestampsTz provides a mock function with given fields: precision
func (*Blueprint) TinyIncrements ¶
func (_m *Blueprint) TinyIncrements(column string) schema.ColumnDefinition
TinyIncrements provides a mock function with given fields: column
func (*Blueprint) TinyInteger ¶
func (_m *Blueprint) TinyInteger(column string) schema.ColumnDefinition
TinyInteger provides a mock function with given fields: column
func (*Blueprint) TinyText ¶
func (_m *Blueprint) TinyText(column string) schema.ColumnDefinition
TinyText provides a mock function with given fields: column
func (*Blueprint) Unique ¶
func (_m *Blueprint) Unique(column ...string) schema.IndexDefinition
Unique provides a mock function with given fields: column
func (*Blueprint) UnsignedBigInteger ¶
func (_m *Blueprint) UnsignedBigInteger(column string) schema.ColumnDefinition
UnsignedBigInteger provides a mock function with given fields: column
func (*Blueprint) UnsignedInteger ¶
func (_m *Blueprint) UnsignedInteger(column string) schema.ColumnDefinition
UnsignedInteger provides a mock function with given fields: column
func (*Blueprint) UnsignedMediumInteger ¶
func (_m *Blueprint) UnsignedMediumInteger(column string) schema.ColumnDefinition
UnsignedMediumInteger provides a mock function with given fields: column
func (*Blueprint) UnsignedSmallInteger ¶
func (_m *Blueprint) UnsignedSmallInteger(column string) schema.ColumnDefinition
UnsignedSmallInteger provides a mock function with given fields: column
func (*Blueprint) UnsignedTinyInteger ¶
func (_m *Blueprint) UnsignedTinyInteger(column string) schema.ColumnDefinition
UnsignedTinyInteger provides a mock function with given fields: column
type Blueprint_BigIncrements_Call ¶
Blueprint_BigIncrements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BigIncrements'
func (*Blueprint_BigIncrements_Call) Return ¶
func (_c *Blueprint_BigIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_BigIncrements_Call
func (*Blueprint_BigIncrements_Call) Run ¶
func (_c *Blueprint_BigIncrements_Call) Run(run func(column string)) *Blueprint_BigIncrements_Call
func (*Blueprint_BigIncrements_Call) RunAndReturn ¶
func (_c *Blueprint_BigIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_BigIncrements_Call
type Blueprint_BigInteger_Call ¶
Blueprint_BigInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BigInteger'
func (*Blueprint_BigInteger_Call) Return ¶
func (_c *Blueprint_BigInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_BigInteger_Call
func (*Blueprint_BigInteger_Call) Run ¶
func (_c *Blueprint_BigInteger_Call) Run(run func(column string)) *Blueprint_BigInteger_Call
func (*Blueprint_BigInteger_Call) RunAndReturn ¶
func (_c *Blueprint_BigInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_BigInteger_Call
type Blueprint_Boolean_Call ¶ added in v1.15.3
Blueprint_Boolean_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Boolean'
func (*Blueprint_Boolean_Call) Return ¶ added in v1.15.3
func (_c *Blueprint_Boolean_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Boolean_Call
func (*Blueprint_Boolean_Call) Run ¶ added in v1.15.3
func (_c *Blueprint_Boolean_Call) Run(run func(column string)) *Blueprint_Boolean_Call
func (*Blueprint_Boolean_Call) RunAndReturn ¶ added in v1.15.3
func (_c *Blueprint_Boolean_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Boolean_Call
type Blueprint_Build_Call ¶
Blueprint_Build_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Build'
func (*Blueprint_Build_Call) Return ¶
func (_c *Blueprint_Build_Call) Return(_a0 error) *Blueprint_Build_Call
func (*Blueprint_Build_Call) Run ¶
func (_c *Blueprint_Build_Call) Run(run func(query orm.Query, grammar schema.Grammar)) *Blueprint_Build_Call
func (*Blueprint_Build_Call) RunAndReturn ¶
func (_c *Blueprint_Build_Call) RunAndReturn(run func(orm.Query, schema.Grammar) error) *Blueprint_Build_Call
type Blueprint_Char_Call ¶
Blueprint_Char_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Char'
func (*Blueprint_Char_Call) Return ¶
func (_c *Blueprint_Char_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Char_Call
func (*Blueprint_Char_Call) Run ¶
func (_c *Blueprint_Char_Call) Run(run func(column string, length ...int)) *Blueprint_Char_Call
func (*Blueprint_Char_Call) RunAndReturn ¶
func (_c *Blueprint_Char_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_Char_Call
type Blueprint_Column_Call ¶ added in v1.15.3
Blueprint_Column_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Column'
func (*Blueprint_Column_Call) Return ¶ added in v1.15.3
func (_c *Blueprint_Column_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Column_Call
func (*Blueprint_Column_Call) Run ¶ added in v1.15.3
func (_c *Blueprint_Column_Call) Run(run func(column string, ttype string)) *Blueprint_Column_Call
func (*Blueprint_Column_Call) RunAndReturn ¶ added in v1.15.3
func (_c *Blueprint_Column_Call) RunAndReturn(run func(string, string) schema.ColumnDefinition) *Blueprint_Column_Call
type Blueprint_Create_Call ¶
Blueprint_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Blueprint_Create_Call) Return ¶
func (_c *Blueprint_Create_Call) Return() *Blueprint_Create_Call
func (*Blueprint_Create_Call) Run ¶
func (_c *Blueprint_Create_Call) Run(run func()) *Blueprint_Create_Call
func (*Blueprint_Create_Call) RunAndReturn ¶
func (_c *Blueprint_Create_Call) RunAndReturn(run func()) *Blueprint_Create_Call
type Blueprint_DateTimeTz_Call ¶
Blueprint_DateTimeTz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DateTimeTz'
func (*Blueprint_DateTimeTz_Call) Return ¶
func (_c *Blueprint_DateTimeTz_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_DateTimeTz_Call
func (*Blueprint_DateTimeTz_Call) Run ¶
func (_c *Blueprint_DateTimeTz_Call) Run(run func(column string, precision ...int)) *Blueprint_DateTimeTz_Call
func (*Blueprint_DateTimeTz_Call) RunAndReturn ¶
func (_c *Blueprint_DateTimeTz_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_DateTimeTz_Call
type Blueprint_DateTime_Call ¶
Blueprint_DateTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DateTime'
func (*Blueprint_DateTime_Call) Return ¶
func (_c *Blueprint_DateTime_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_DateTime_Call
func (*Blueprint_DateTime_Call) Run ¶
func (_c *Blueprint_DateTime_Call) Run(run func(column string, precision ...int)) *Blueprint_DateTime_Call
func (*Blueprint_DateTime_Call) RunAndReturn ¶
func (_c *Blueprint_DateTime_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_DateTime_Call
type Blueprint_Date_Call ¶
Blueprint_Date_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Date'
func (*Blueprint_Date_Call) Return ¶
func (_c *Blueprint_Date_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Date_Call
func (*Blueprint_Date_Call) Run ¶
func (_c *Blueprint_Date_Call) Run(run func(column string)) *Blueprint_Date_Call
func (*Blueprint_Date_Call) RunAndReturn ¶
func (_c *Blueprint_Date_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Date_Call
type Blueprint_Decimal_Call ¶
Blueprint_Decimal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Decimal'
func (*Blueprint_Decimal_Call) Return ¶
func (_c *Blueprint_Decimal_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Decimal_Call
func (*Blueprint_Decimal_Call) Run ¶
func (_c *Blueprint_Decimal_Call) Run(run func(column string)) *Blueprint_Decimal_Call
func (*Blueprint_Decimal_Call) RunAndReturn ¶
func (_c *Blueprint_Decimal_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Decimal_Call
type Blueprint_Double_Call ¶
Blueprint_Double_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Double'
func (*Blueprint_Double_Call) Return ¶
func (_c *Blueprint_Double_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Double_Call
func (*Blueprint_Double_Call) Run ¶
func (_c *Blueprint_Double_Call) Run(run func(column string)) *Blueprint_Double_Call
func (*Blueprint_Double_Call) RunAndReturn ¶
func (_c *Blueprint_Double_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Double_Call
type Blueprint_DropColumn_Call ¶
Blueprint_DropColumn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropColumn'
func (*Blueprint_DropColumn_Call) Return ¶
func (_c *Blueprint_DropColumn_Call) Return() *Blueprint_DropColumn_Call
func (*Blueprint_DropColumn_Call) Run ¶
func (_c *Blueprint_DropColumn_Call) Run(run func(column ...string)) *Blueprint_DropColumn_Call
func (*Blueprint_DropColumn_Call) RunAndReturn ¶
func (_c *Blueprint_DropColumn_Call) RunAndReturn(run func(...string)) *Blueprint_DropColumn_Call
type Blueprint_DropForeignByName_Call ¶
Blueprint_DropForeignByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropForeignByName'
func (*Blueprint_DropForeignByName_Call) Return ¶
func (_c *Blueprint_DropForeignByName_Call) Return() *Blueprint_DropForeignByName_Call
func (*Blueprint_DropForeignByName_Call) Run ¶
func (_c *Blueprint_DropForeignByName_Call) Run(run func(name string)) *Blueprint_DropForeignByName_Call
func (*Blueprint_DropForeignByName_Call) RunAndReturn ¶
func (_c *Blueprint_DropForeignByName_Call) RunAndReturn(run func(string)) *Blueprint_DropForeignByName_Call
type Blueprint_DropForeign_Call ¶
Blueprint_DropForeign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropForeign'
func (*Blueprint_DropForeign_Call) Return ¶
func (_c *Blueprint_DropForeign_Call) Return() *Blueprint_DropForeign_Call
func (*Blueprint_DropForeign_Call) Run ¶
func (_c *Blueprint_DropForeign_Call) Run(run func(column ...string)) *Blueprint_DropForeign_Call
func (*Blueprint_DropForeign_Call) RunAndReturn ¶
func (_c *Blueprint_DropForeign_Call) RunAndReturn(run func(...string)) *Blueprint_DropForeign_Call
type Blueprint_DropFullTextByName_Call ¶
Blueprint_DropFullTextByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropFullTextByName'
func (*Blueprint_DropFullTextByName_Call) Return ¶
func (_c *Blueprint_DropFullTextByName_Call) Return() *Blueprint_DropFullTextByName_Call
func (*Blueprint_DropFullTextByName_Call) Run ¶
func (_c *Blueprint_DropFullTextByName_Call) Run(run func(name string)) *Blueprint_DropFullTextByName_Call
func (*Blueprint_DropFullTextByName_Call) RunAndReturn ¶
func (_c *Blueprint_DropFullTextByName_Call) RunAndReturn(run func(string)) *Blueprint_DropFullTextByName_Call
type Blueprint_DropFullText_Call ¶
Blueprint_DropFullText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropFullText'
func (*Blueprint_DropFullText_Call) Return ¶
func (_c *Blueprint_DropFullText_Call) Return() *Blueprint_DropFullText_Call
func (*Blueprint_DropFullText_Call) Run ¶
func (_c *Blueprint_DropFullText_Call) Run(run func(column ...string)) *Blueprint_DropFullText_Call
func (*Blueprint_DropFullText_Call) RunAndReturn ¶
func (_c *Blueprint_DropFullText_Call) RunAndReturn(run func(...string)) *Blueprint_DropFullText_Call
type Blueprint_DropIfExists_Call ¶
Blueprint_DropIfExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropIfExists'
func (*Blueprint_DropIfExists_Call) Return ¶
func (_c *Blueprint_DropIfExists_Call) Return() *Blueprint_DropIfExists_Call
func (*Blueprint_DropIfExists_Call) Run ¶
func (_c *Blueprint_DropIfExists_Call) Run(run func()) *Blueprint_DropIfExists_Call
func (*Blueprint_DropIfExists_Call) RunAndReturn ¶
func (_c *Blueprint_DropIfExists_Call) RunAndReturn(run func()) *Blueprint_DropIfExists_Call
type Blueprint_DropIndexByName_Call ¶
Blueprint_DropIndexByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropIndexByName'
func (*Blueprint_DropIndexByName_Call) Return ¶
func (_c *Blueprint_DropIndexByName_Call) Return() *Blueprint_DropIndexByName_Call
func (*Blueprint_DropIndexByName_Call) Run ¶
func (_c *Blueprint_DropIndexByName_Call) Run(run func(name string)) *Blueprint_DropIndexByName_Call
func (*Blueprint_DropIndexByName_Call) RunAndReturn ¶
func (_c *Blueprint_DropIndexByName_Call) RunAndReturn(run func(string)) *Blueprint_DropIndexByName_Call
type Blueprint_DropIndex_Call ¶
Blueprint_DropIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropIndex'
func (*Blueprint_DropIndex_Call) Return ¶
func (_c *Blueprint_DropIndex_Call) Return() *Blueprint_DropIndex_Call
func (*Blueprint_DropIndex_Call) Run ¶
func (_c *Blueprint_DropIndex_Call) Run(run func(column ...string)) *Blueprint_DropIndex_Call
func (*Blueprint_DropIndex_Call) RunAndReturn ¶
func (_c *Blueprint_DropIndex_Call) RunAndReturn(run func(...string)) *Blueprint_DropIndex_Call
type Blueprint_DropPrimary_Call ¶
Blueprint_DropPrimary_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropPrimary'
func (*Blueprint_DropPrimary_Call) Return ¶
func (_c *Blueprint_DropPrimary_Call) Return() *Blueprint_DropPrimary_Call
func (*Blueprint_DropPrimary_Call) Run ¶
func (_c *Blueprint_DropPrimary_Call) Run(run func(column ...string)) *Blueprint_DropPrimary_Call
func (*Blueprint_DropPrimary_Call) RunAndReturn ¶
func (_c *Blueprint_DropPrimary_Call) RunAndReturn(run func(...string)) *Blueprint_DropPrimary_Call
type Blueprint_DropSoftDeletesTz_Call ¶
Blueprint_DropSoftDeletesTz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropSoftDeletesTz'
func (*Blueprint_DropSoftDeletesTz_Call) Return ¶
func (_c *Blueprint_DropSoftDeletesTz_Call) Return() *Blueprint_DropSoftDeletesTz_Call
func (*Blueprint_DropSoftDeletesTz_Call) Run ¶
func (_c *Blueprint_DropSoftDeletesTz_Call) Run(run func(column ...string)) *Blueprint_DropSoftDeletesTz_Call
func (*Blueprint_DropSoftDeletesTz_Call) RunAndReturn ¶
func (_c *Blueprint_DropSoftDeletesTz_Call) RunAndReturn(run func(...string)) *Blueprint_DropSoftDeletesTz_Call
type Blueprint_DropSoftDeletes_Call ¶
Blueprint_DropSoftDeletes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropSoftDeletes'
func (*Blueprint_DropSoftDeletes_Call) Return ¶
func (_c *Blueprint_DropSoftDeletes_Call) Return() *Blueprint_DropSoftDeletes_Call
func (*Blueprint_DropSoftDeletes_Call) Run ¶
func (_c *Blueprint_DropSoftDeletes_Call) Run(run func(column ...string)) *Blueprint_DropSoftDeletes_Call
func (*Blueprint_DropSoftDeletes_Call) RunAndReturn ¶
func (_c *Blueprint_DropSoftDeletes_Call) RunAndReturn(run func(...string)) *Blueprint_DropSoftDeletes_Call
type Blueprint_DropTimestampsTz_Call ¶
Blueprint_DropTimestampsTz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropTimestampsTz'
func (*Blueprint_DropTimestampsTz_Call) Return ¶
func (_c *Blueprint_DropTimestampsTz_Call) Return() *Blueprint_DropTimestampsTz_Call
func (*Blueprint_DropTimestampsTz_Call) Run ¶
func (_c *Blueprint_DropTimestampsTz_Call) Run(run func()) *Blueprint_DropTimestampsTz_Call
func (*Blueprint_DropTimestampsTz_Call) RunAndReturn ¶
func (_c *Blueprint_DropTimestampsTz_Call) RunAndReturn(run func()) *Blueprint_DropTimestampsTz_Call
type Blueprint_DropTimestamps_Call ¶
Blueprint_DropTimestamps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropTimestamps'
func (*Blueprint_DropTimestamps_Call) Return ¶
func (_c *Blueprint_DropTimestamps_Call) Return() *Blueprint_DropTimestamps_Call
func (*Blueprint_DropTimestamps_Call) Run ¶
func (_c *Blueprint_DropTimestamps_Call) Run(run func()) *Blueprint_DropTimestamps_Call
func (*Blueprint_DropTimestamps_Call) RunAndReturn ¶
func (_c *Blueprint_DropTimestamps_Call) RunAndReturn(run func()) *Blueprint_DropTimestamps_Call
type Blueprint_DropUniqueByName_Call ¶
Blueprint_DropUniqueByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropUniqueByName'
func (*Blueprint_DropUniqueByName_Call) Return ¶
func (_c *Blueprint_DropUniqueByName_Call) Return() *Blueprint_DropUniqueByName_Call
func (*Blueprint_DropUniqueByName_Call) Run ¶
func (_c *Blueprint_DropUniqueByName_Call) Run(run func(name string)) *Blueprint_DropUniqueByName_Call
func (*Blueprint_DropUniqueByName_Call) RunAndReturn ¶
func (_c *Blueprint_DropUniqueByName_Call) RunAndReturn(run func(string)) *Blueprint_DropUniqueByName_Call
type Blueprint_DropUnique_Call ¶
Blueprint_DropUnique_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropUnique'
func (*Blueprint_DropUnique_Call) Return ¶
func (_c *Blueprint_DropUnique_Call) Return() *Blueprint_DropUnique_Call
func (*Blueprint_DropUnique_Call) Run ¶
func (_c *Blueprint_DropUnique_Call) Run(run func(column ...string)) *Blueprint_DropUnique_Call
func (*Blueprint_DropUnique_Call) RunAndReturn ¶
func (_c *Blueprint_DropUnique_Call) RunAndReturn(run func(...string)) *Blueprint_DropUnique_Call
type Blueprint_Drop_Call ¶
Blueprint_Drop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Drop'
func (*Blueprint_Drop_Call) Return ¶
func (_c *Blueprint_Drop_Call) Return() *Blueprint_Drop_Call
func (*Blueprint_Drop_Call) Run ¶
func (_c *Blueprint_Drop_Call) Run(run func()) *Blueprint_Drop_Call
func (*Blueprint_Drop_Call) RunAndReturn ¶
func (_c *Blueprint_Drop_Call) RunAndReturn(run func()) *Blueprint_Drop_Call
type Blueprint_Enum_Call ¶
Blueprint_Enum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Enum'
func (*Blueprint_Enum_Call) Return ¶
func (_c *Blueprint_Enum_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Enum_Call
func (*Blueprint_Enum_Call) Run ¶
func (_c *Blueprint_Enum_Call) Run(run func(column string, array []interface{})) *Blueprint_Enum_Call
func (*Blueprint_Enum_Call) RunAndReturn ¶
func (_c *Blueprint_Enum_Call) RunAndReturn(run func(string, []interface{}) schema.ColumnDefinition) *Blueprint_Enum_Call
type Blueprint_Expecter ¶
type Blueprint_Expecter struct {
// contains filtered or unexported fields
}
func (*Blueprint_Expecter) BigIncrements ¶
func (_e *Blueprint_Expecter) BigIncrements(column interface{}) *Blueprint_BigIncrements_Call
BigIncrements is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) BigInteger ¶
func (_e *Blueprint_Expecter) BigInteger(column interface{}) *Blueprint_BigInteger_Call
BigInteger is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) Boolean ¶ added in v1.15.3
func (_e *Blueprint_Expecter) Boolean(column interface{}) *Blueprint_Boolean_Call
Boolean is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) Build ¶
func (_e *Blueprint_Expecter) Build(query interface{}, grammar interface{}) *Blueprint_Build_Call
Build is a helper method to define mock.On call
- query orm.Query
- grammar schema.Grammar
func (*Blueprint_Expecter) Char ¶
func (_e *Blueprint_Expecter) Char(column interface{}, length ...interface{}) *Blueprint_Char_Call
Char is a helper method to define mock.On call
- column string
- length ...int
func (*Blueprint_Expecter) Column ¶ added in v1.15.3
func (_e *Blueprint_Expecter) Column(column interface{}, ttype interface{}) *Blueprint_Column_Call
Column is a helper method to define mock.On call
- column string
- ttype string
func (*Blueprint_Expecter) Create ¶
func (_e *Blueprint_Expecter) Create() *Blueprint_Create_Call
Create is a helper method to define mock.On call
func (*Blueprint_Expecter) Date ¶
func (_e *Blueprint_Expecter) Date(column interface{}) *Blueprint_Date_Call
Date is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) DateTime ¶
func (_e *Blueprint_Expecter) DateTime(column interface{}, precision ...interface{}) *Blueprint_DateTime_Call
DateTime is a helper method to define mock.On call
- column string
- precision ...int
func (*Blueprint_Expecter) DateTimeTz ¶
func (_e *Blueprint_Expecter) DateTimeTz(column interface{}, precision ...interface{}) *Blueprint_DateTimeTz_Call
DateTimeTz is a helper method to define mock.On call
- column string
- precision ...int
func (*Blueprint_Expecter) Decimal ¶
func (_e *Blueprint_Expecter) Decimal(column interface{}) *Blueprint_Decimal_Call
Decimal is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) Double ¶
func (_e *Blueprint_Expecter) Double(column interface{}) *Blueprint_Double_Call
Double is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) Drop ¶
func (_e *Blueprint_Expecter) Drop() *Blueprint_Drop_Call
Drop is a helper method to define mock.On call
func (*Blueprint_Expecter) DropColumn ¶
func (_e *Blueprint_Expecter) DropColumn(column ...interface{}) *Blueprint_DropColumn_Call
DropColumn is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) DropForeign ¶
func (_e *Blueprint_Expecter) DropForeign(column ...interface{}) *Blueprint_DropForeign_Call
DropForeign is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) DropForeignByName ¶
func (_e *Blueprint_Expecter) DropForeignByName(name interface{}) *Blueprint_DropForeignByName_Call
DropForeignByName is a helper method to define mock.On call
- name string
func (*Blueprint_Expecter) DropFullText ¶
func (_e *Blueprint_Expecter) DropFullText(column ...interface{}) *Blueprint_DropFullText_Call
DropFullText is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) DropFullTextByName ¶
func (_e *Blueprint_Expecter) DropFullTextByName(name interface{}) *Blueprint_DropFullTextByName_Call
DropFullTextByName is a helper method to define mock.On call
- name string
func (*Blueprint_Expecter) DropIfExists ¶
func (_e *Blueprint_Expecter) DropIfExists() *Blueprint_DropIfExists_Call
DropIfExists is a helper method to define mock.On call
func (*Blueprint_Expecter) DropIndex ¶
func (_e *Blueprint_Expecter) DropIndex(column ...interface{}) *Blueprint_DropIndex_Call
DropIndex is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) DropIndexByName ¶
func (_e *Blueprint_Expecter) DropIndexByName(name interface{}) *Blueprint_DropIndexByName_Call
DropIndexByName is a helper method to define mock.On call
- name string
func (*Blueprint_Expecter) DropPrimary ¶
func (_e *Blueprint_Expecter) DropPrimary(column ...interface{}) *Blueprint_DropPrimary_Call
DropPrimary is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) DropSoftDeletes ¶
func (_e *Blueprint_Expecter) DropSoftDeletes(column ...interface{}) *Blueprint_DropSoftDeletes_Call
DropSoftDeletes is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) DropSoftDeletesTz ¶
func (_e *Blueprint_Expecter) DropSoftDeletesTz(column ...interface{}) *Blueprint_DropSoftDeletesTz_Call
DropSoftDeletesTz is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) DropTimestamps ¶
func (_e *Blueprint_Expecter) DropTimestamps() *Blueprint_DropTimestamps_Call
DropTimestamps is a helper method to define mock.On call
func (*Blueprint_Expecter) DropTimestampsTz ¶
func (_e *Blueprint_Expecter) DropTimestampsTz() *Blueprint_DropTimestampsTz_Call
DropTimestampsTz is a helper method to define mock.On call
func (*Blueprint_Expecter) DropUnique ¶
func (_e *Blueprint_Expecter) DropUnique(column ...interface{}) *Blueprint_DropUnique_Call
DropUnique is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) DropUniqueByName ¶
func (_e *Blueprint_Expecter) DropUniqueByName(name interface{}) *Blueprint_DropUniqueByName_Call
DropUniqueByName is a helper method to define mock.On call
- name string
func (*Blueprint_Expecter) Enum ¶
func (_e *Blueprint_Expecter) Enum(column interface{}, array interface{}) *Blueprint_Enum_Call
Enum is a helper method to define mock.On call
- column string
- array []interface{}
func (*Blueprint_Expecter) Float ¶
func (_e *Blueprint_Expecter) Float(column interface{}, precision ...interface{}) *Blueprint_Float_Call
Float is a helper method to define mock.On call
- column string
- precision ...int
func (*Blueprint_Expecter) Foreign ¶
func (_e *Blueprint_Expecter) Foreign(column ...interface{}) *Blueprint_Foreign_Call
Foreign is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) FullText ¶
func (_e *Blueprint_Expecter) FullText(column ...interface{}) *Blueprint_FullText_Call
FullText is a helper method to define mock.On call
- column ...string
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 ¶
func (_e *Blueprint_Expecter) GetCommands() *Blueprint_GetCommands_Call
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
func (*Blueprint_Expecter) ID ¶
func (_e *Blueprint_Expecter) ID(column ...interface{}) *Blueprint_ID_Call
ID is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) Increments ¶
func (_e *Blueprint_Expecter) Increments(column interface{}) *Blueprint_Increments_Call
Increments is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) Index ¶
func (_e *Blueprint_Expecter) Index(column ...interface{}) *Blueprint_Index_Call
Index is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) Integer ¶
func (_e *Blueprint_Expecter) Integer(column interface{}) *Blueprint_Integer_Call
Integer is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) IntegerIncrements ¶
func (_e *Blueprint_Expecter) IntegerIncrements(column interface{}) *Blueprint_IntegerIncrements_Call
IntegerIncrements is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) Json ¶
func (_e *Blueprint_Expecter) Json(column interface{}) *Blueprint_Json_Call
Json is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) Jsonb ¶
func (_e *Blueprint_Expecter) Jsonb(column interface{}) *Blueprint_Jsonb_Call
Jsonb is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) LongText ¶
func (_e *Blueprint_Expecter) LongText(column interface{}) *Blueprint_LongText_Call
LongText is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) MediumIncrements ¶
func (_e *Blueprint_Expecter) MediumIncrements(column interface{}) *Blueprint_MediumIncrements_Call
MediumIncrements is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) MediumInteger ¶
func (_e *Blueprint_Expecter) MediumInteger(column interface{}) *Blueprint_MediumInteger_Call
MediumInteger is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) MediumText ¶
func (_e *Blueprint_Expecter) MediumText(column interface{}) *Blueprint_MediumText_Call
MediumText is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) Primary ¶
func (_e *Blueprint_Expecter) Primary(column ...interface{}) *Blueprint_Primary_Call
Primary is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) Rename ¶
func (_e *Blueprint_Expecter) Rename(to interface{}) *Blueprint_Rename_Call
Rename is a helper method to define mock.On call
- to string
func (*Blueprint_Expecter) RenameIndex ¶
func (_e *Blueprint_Expecter) RenameIndex(from interface{}, to interface{}) *Blueprint_RenameIndex_Call
RenameIndex is a helper method to define mock.On call
- from string
- to string
func (*Blueprint_Expecter) SetTable ¶
func (_e *Blueprint_Expecter) SetTable(name interface{}) *Blueprint_SetTable_Call
SetTable is a helper method to define mock.On call
- name string
func (*Blueprint_Expecter) SmallIncrements ¶
func (_e *Blueprint_Expecter) SmallIncrements(column interface{}) *Blueprint_SmallIncrements_Call
SmallIncrements is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) SmallInteger ¶
func (_e *Blueprint_Expecter) SmallInteger(column interface{}) *Blueprint_SmallInteger_Call
SmallInteger is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) SoftDeletes ¶
func (_e *Blueprint_Expecter) SoftDeletes(column ...interface{}) *Blueprint_SoftDeletes_Call
SoftDeletes is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) SoftDeletesTz ¶
func (_e *Blueprint_Expecter) SoftDeletesTz(column ...interface{}) *Blueprint_SoftDeletesTz_Call
SoftDeletesTz is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) String ¶
func (_e *Blueprint_Expecter) String(column interface{}, length ...interface{}) *Blueprint_String_Call
String is a helper method to define mock.On call
- column string
- length ...int
func (*Blueprint_Expecter) Text ¶
func (_e *Blueprint_Expecter) Text(column interface{}) *Blueprint_Text_Call
Text is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) Time ¶
func (_e *Blueprint_Expecter) Time(column interface{}, precision ...interface{}) *Blueprint_Time_Call
Time is a helper method to define mock.On call
- column string
- precision ...int
func (*Blueprint_Expecter) TimeTz ¶
func (_e *Blueprint_Expecter) TimeTz(column interface{}, precision ...interface{}) *Blueprint_TimeTz_Call
TimeTz is a helper method to define mock.On call
- column string
- precision ...int
func (*Blueprint_Expecter) Timestamp ¶
func (_e *Blueprint_Expecter) Timestamp(column interface{}, precision ...interface{}) *Blueprint_Timestamp_Call
Timestamp is a helper method to define mock.On call
- column string
- precision ...int
func (*Blueprint_Expecter) TimestampTz ¶
func (_e *Blueprint_Expecter) TimestampTz(column interface{}, precision ...interface{}) *Blueprint_TimestampTz_Call
TimestampTz is a helper method to define mock.On call
- column string
- precision ...int
func (*Blueprint_Expecter) Timestamps ¶
func (_e *Blueprint_Expecter) Timestamps(precision ...interface{}) *Blueprint_Timestamps_Call
Timestamps is a helper method to define mock.On call
- precision ...int
func (*Blueprint_Expecter) TimestampsTz ¶
func (_e *Blueprint_Expecter) TimestampsTz(precision ...interface{}) *Blueprint_TimestampsTz_Call
TimestampsTz is a helper method to define mock.On call
- precision ...int
func (*Blueprint_Expecter) TinyIncrements ¶
func (_e *Blueprint_Expecter) TinyIncrements(column interface{}) *Blueprint_TinyIncrements_Call
TinyIncrements is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) TinyInteger ¶
func (_e *Blueprint_Expecter) TinyInteger(column interface{}) *Blueprint_TinyInteger_Call
TinyInteger is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) TinyText ¶
func (_e *Blueprint_Expecter) TinyText(column interface{}) *Blueprint_TinyText_Call
TinyText is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) ToSql ¶
func (_e *Blueprint_Expecter) ToSql(grammar interface{}) *Blueprint_ToSql_Call
ToSql is a helper method to define mock.On call
- grammar schema.Grammar
func (*Blueprint_Expecter) Unique ¶
func (_e *Blueprint_Expecter) Unique(column ...interface{}) *Blueprint_Unique_Call
Unique is a helper method to define mock.On call
- column ...string
func (*Blueprint_Expecter) UnsignedBigInteger ¶
func (_e *Blueprint_Expecter) UnsignedBigInteger(column interface{}) *Blueprint_UnsignedBigInteger_Call
UnsignedBigInteger is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) UnsignedInteger ¶
func (_e *Blueprint_Expecter) UnsignedInteger(column interface{}) *Blueprint_UnsignedInteger_Call
UnsignedInteger is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) UnsignedMediumInteger ¶
func (_e *Blueprint_Expecter) UnsignedMediumInteger(column interface{}) *Blueprint_UnsignedMediumInteger_Call
UnsignedMediumInteger is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) UnsignedSmallInteger ¶
func (_e *Blueprint_Expecter) UnsignedSmallInteger(column interface{}) *Blueprint_UnsignedSmallInteger_Call
UnsignedSmallInteger is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) UnsignedTinyInteger ¶
func (_e *Blueprint_Expecter) UnsignedTinyInteger(column interface{}) *Blueprint_UnsignedTinyInteger_Call
UnsignedTinyInteger is a helper method to define mock.On call
- column string
type Blueprint_Float_Call ¶
Blueprint_Float_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Float'
func (*Blueprint_Float_Call) Return ¶
func (_c *Blueprint_Float_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Float_Call
func (*Blueprint_Float_Call) Run ¶
func (_c *Blueprint_Float_Call) Run(run func(column string, precision ...int)) *Blueprint_Float_Call
func (*Blueprint_Float_Call) RunAndReturn ¶
func (_c *Blueprint_Float_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_Float_Call
type Blueprint_Foreign_Call ¶
Blueprint_Foreign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Foreign'
func (*Blueprint_Foreign_Call) Return ¶
func (_c *Blueprint_Foreign_Call) Return(_a0 schema.ForeignKeyDefinition) *Blueprint_Foreign_Call
func (*Blueprint_Foreign_Call) Run ¶
func (_c *Blueprint_Foreign_Call) Run(run func(column ...string)) *Blueprint_Foreign_Call
func (*Blueprint_Foreign_Call) RunAndReturn ¶
func (_c *Blueprint_Foreign_Call) RunAndReturn(run func(...string) schema.ForeignKeyDefinition) *Blueprint_Foreign_Call
type Blueprint_FullText_Call ¶
Blueprint_FullText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FullText'
func (*Blueprint_FullText_Call) Return ¶
func (_c *Blueprint_FullText_Call) Return(_a0 schema.IndexDefinition) *Blueprint_FullText_Call
func (*Blueprint_FullText_Call) Run ¶
func (_c *Blueprint_FullText_Call) Run(run func(column ...string)) *Blueprint_FullText_Call
func (*Blueprint_FullText_Call) RunAndReturn ¶
func (_c *Blueprint_FullText_Call) RunAndReturn(run func(...string) schema.IndexDefinition) *Blueprint_FullText_Call
type Blueprint_GetAddedColumns_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 (_c *Blueprint_GetAddedColumns_Call) Return(_a0 []schema.ColumnDefinition) *Blueprint_GetAddedColumns_Call
func (*Blueprint_GetAddedColumns_Call) Run ¶
func (_c *Blueprint_GetAddedColumns_Call) Run(run func()) *Blueprint_GetAddedColumns_Call
func (*Blueprint_GetAddedColumns_Call) RunAndReturn ¶
func (_c *Blueprint_GetAddedColumns_Call) RunAndReturn(run func() []schema.ColumnDefinition) *Blueprint_GetAddedColumns_Call
type Blueprint_GetCommands_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 (_c *Blueprint_GetCommands_Call) Return(_a0 []*schema.Command) *Blueprint_GetCommands_Call
func (*Blueprint_GetCommands_Call) Run ¶
func (_c *Blueprint_GetCommands_Call) Run(run func()) *Blueprint_GetCommands_Call
func (*Blueprint_GetCommands_Call) RunAndReturn ¶
func (_c *Blueprint_GetCommands_Call) RunAndReturn(run func() []*schema.Command) *Blueprint_GetCommands_Call
type Blueprint_GetTableName_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 (_c *Blueprint_GetTableName_Call) Return(_a0 string) *Blueprint_GetTableName_Call
func (*Blueprint_GetTableName_Call) Run ¶
func (_c *Blueprint_GetTableName_Call) Run(run func()) *Blueprint_GetTableName_Call
func (*Blueprint_GetTableName_Call) RunAndReturn ¶
func (_c *Blueprint_GetTableName_Call) RunAndReturn(run func() string) *Blueprint_GetTableName_Call
type Blueprint_HasCommand_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 (_c *Blueprint_HasCommand_Call) Return(_a0 bool) *Blueprint_HasCommand_Call
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 Blueprint_ID_Call ¶
Blueprint_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'
func (*Blueprint_ID_Call) Return ¶
func (_c *Blueprint_ID_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_ID_Call
func (*Blueprint_ID_Call) Run ¶
func (_c *Blueprint_ID_Call) Run(run func(column ...string)) *Blueprint_ID_Call
func (*Blueprint_ID_Call) RunAndReturn ¶
func (_c *Blueprint_ID_Call) RunAndReturn(run func(...string) schema.ColumnDefinition) *Blueprint_ID_Call
type Blueprint_Increments_Call ¶
Blueprint_Increments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Increments'
func (*Blueprint_Increments_Call) Return ¶
func (_c *Blueprint_Increments_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Increments_Call
func (*Blueprint_Increments_Call) Run ¶
func (_c *Blueprint_Increments_Call) Run(run func(column string)) *Blueprint_Increments_Call
func (*Blueprint_Increments_Call) RunAndReturn ¶
func (_c *Blueprint_Increments_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Increments_Call
type Blueprint_Index_Call ¶
Blueprint_Index_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Index'
func (*Blueprint_Index_Call) Return ¶
func (_c *Blueprint_Index_Call) Return(_a0 schema.IndexDefinition) *Blueprint_Index_Call
func (*Blueprint_Index_Call) Run ¶
func (_c *Blueprint_Index_Call) Run(run func(column ...string)) *Blueprint_Index_Call
func (*Blueprint_Index_Call) RunAndReturn ¶
func (_c *Blueprint_Index_Call) RunAndReturn(run func(...string) schema.IndexDefinition) *Blueprint_Index_Call
type Blueprint_IntegerIncrements_Call ¶
Blueprint_IntegerIncrements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IntegerIncrements'
func (*Blueprint_IntegerIncrements_Call) Return ¶
func (_c *Blueprint_IntegerIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_IntegerIncrements_Call
func (*Blueprint_IntegerIncrements_Call) Run ¶
func (_c *Blueprint_IntegerIncrements_Call) Run(run func(column string)) *Blueprint_IntegerIncrements_Call
func (*Blueprint_IntegerIncrements_Call) RunAndReturn ¶
func (_c *Blueprint_IntegerIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_IntegerIncrements_Call
type Blueprint_Integer_Call ¶
Blueprint_Integer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Integer'
func (*Blueprint_Integer_Call) Return ¶
func (_c *Blueprint_Integer_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Integer_Call
func (*Blueprint_Integer_Call) Run ¶
func (_c *Blueprint_Integer_Call) Run(run func(column string)) *Blueprint_Integer_Call
func (*Blueprint_Integer_Call) RunAndReturn ¶
func (_c *Blueprint_Integer_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Integer_Call
type Blueprint_Json_Call ¶
Blueprint_Json_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Json'
func (*Blueprint_Json_Call) Return ¶
func (_c *Blueprint_Json_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Json_Call
func (*Blueprint_Json_Call) Run ¶
func (_c *Blueprint_Json_Call) Run(run func(column string)) *Blueprint_Json_Call
func (*Blueprint_Json_Call) RunAndReturn ¶
func (_c *Blueprint_Json_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Json_Call
type Blueprint_Jsonb_Call ¶
Blueprint_Jsonb_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Jsonb'
func (*Blueprint_Jsonb_Call) Return ¶
func (_c *Blueprint_Jsonb_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Jsonb_Call
func (*Blueprint_Jsonb_Call) Run ¶
func (_c *Blueprint_Jsonb_Call) Run(run func(column string)) *Blueprint_Jsonb_Call
func (*Blueprint_Jsonb_Call) RunAndReturn ¶
func (_c *Blueprint_Jsonb_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Jsonb_Call
type Blueprint_LongText_Call ¶
Blueprint_LongText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LongText'
func (*Blueprint_LongText_Call) Return ¶
func (_c *Blueprint_LongText_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_LongText_Call
func (*Blueprint_LongText_Call) Run ¶
func (_c *Blueprint_LongText_Call) Run(run func(column string)) *Blueprint_LongText_Call
func (*Blueprint_LongText_Call) RunAndReturn ¶
func (_c *Blueprint_LongText_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_LongText_Call
type Blueprint_MediumIncrements_Call ¶
Blueprint_MediumIncrements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MediumIncrements'
func (*Blueprint_MediumIncrements_Call) Return ¶
func (_c *Blueprint_MediumIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_MediumIncrements_Call
func (*Blueprint_MediumIncrements_Call) Run ¶
func (_c *Blueprint_MediumIncrements_Call) Run(run func(column string)) *Blueprint_MediumIncrements_Call
func (*Blueprint_MediumIncrements_Call) RunAndReturn ¶
func (_c *Blueprint_MediumIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_MediumIncrements_Call
type Blueprint_MediumInteger_Call ¶
Blueprint_MediumInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MediumInteger'
func (*Blueprint_MediumInteger_Call) Return ¶
func (_c *Blueprint_MediumInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_MediumInteger_Call
func (*Blueprint_MediumInteger_Call) Run ¶
func (_c *Blueprint_MediumInteger_Call) Run(run func(column string)) *Blueprint_MediumInteger_Call
func (*Blueprint_MediumInteger_Call) RunAndReturn ¶
func (_c *Blueprint_MediumInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_MediumInteger_Call
type Blueprint_MediumText_Call ¶
Blueprint_MediumText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MediumText'
func (*Blueprint_MediumText_Call) Return ¶
func (_c *Blueprint_MediumText_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_MediumText_Call
func (*Blueprint_MediumText_Call) Run ¶
func (_c *Blueprint_MediumText_Call) Run(run func(column string)) *Blueprint_MediumText_Call
func (*Blueprint_MediumText_Call) RunAndReturn ¶
func (_c *Blueprint_MediumText_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_MediumText_Call
type Blueprint_Primary_Call ¶
Blueprint_Primary_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Primary'
func (*Blueprint_Primary_Call) Return ¶
func (_c *Blueprint_Primary_Call) Return() *Blueprint_Primary_Call
func (*Blueprint_Primary_Call) Run ¶
func (_c *Blueprint_Primary_Call) Run(run func(column ...string)) *Blueprint_Primary_Call
func (*Blueprint_Primary_Call) RunAndReturn ¶
func (_c *Blueprint_Primary_Call) RunAndReturn(run func(...string)) *Blueprint_Primary_Call
type Blueprint_RenameIndex_Call ¶
Blueprint_RenameIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenameIndex'
func (*Blueprint_RenameIndex_Call) Return ¶
func (_c *Blueprint_RenameIndex_Call) Return() *Blueprint_RenameIndex_Call
func (*Blueprint_RenameIndex_Call) Run ¶
func (_c *Blueprint_RenameIndex_Call) Run(run func(from string, to string)) *Blueprint_RenameIndex_Call
func (*Blueprint_RenameIndex_Call) RunAndReturn ¶
func (_c *Blueprint_RenameIndex_Call) RunAndReturn(run func(string, string)) *Blueprint_RenameIndex_Call
type Blueprint_Rename_Call ¶
Blueprint_Rename_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rename'
func (*Blueprint_Rename_Call) Return ¶
func (_c *Blueprint_Rename_Call) Return() *Blueprint_Rename_Call
func (*Blueprint_Rename_Call) Run ¶
func (_c *Blueprint_Rename_Call) Run(run func(to string)) *Blueprint_Rename_Call
func (*Blueprint_Rename_Call) RunAndReturn ¶
func (_c *Blueprint_Rename_Call) RunAndReturn(run func(string)) *Blueprint_Rename_Call
type Blueprint_SetTable_Call ¶
Blueprint_SetTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTable'
func (*Blueprint_SetTable_Call) Return ¶
func (_c *Blueprint_SetTable_Call) Return() *Blueprint_SetTable_Call
func (*Blueprint_SetTable_Call) Run ¶
func (_c *Blueprint_SetTable_Call) Run(run func(name string)) *Blueprint_SetTable_Call
func (*Blueprint_SetTable_Call) RunAndReturn ¶
func (_c *Blueprint_SetTable_Call) RunAndReturn(run func(string)) *Blueprint_SetTable_Call
type Blueprint_SmallIncrements_Call ¶
Blueprint_SmallIncrements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SmallIncrements'
func (*Blueprint_SmallIncrements_Call) Return ¶
func (_c *Blueprint_SmallIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_SmallIncrements_Call
func (*Blueprint_SmallIncrements_Call) Run ¶
func (_c *Blueprint_SmallIncrements_Call) Run(run func(column string)) *Blueprint_SmallIncrements_Call
func (*Blueprint_SmallIncrements_Call) RunAndReturn ¶
func (_c *Blueprint_SmallIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_SmallIncrements_Call
type Blueprint_SmallInteger_Call ¶
Blueprint_SmallInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SmallInteger'
func (*Blueprint_SmallInteger_Call) Return ¶
func (_c *Blueprint_SmallInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_SmallInteger_Call
func (*Blueprint_SmallInteger_Call) Run ¶
func (_c *Blueprint_SmallInteger_Call) Run(run func(column string)) *Blueprint_SmallInteger_Call
func (*Blueprint_SmallInteger_Call) RunAndReturn ¶
func (_c *Blueprint_SmallInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_SmallInteger_Call
type Blueprint_SoftDeletesTz_Call ¶
Blueprint_SoftDeletesTz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SoftDeletesTz'
func (*Blueprint_SoftDeletesTz_Call) Return ¶
func (_c *Blueprint_SoftDeletesTz_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_SoftDeletesTz_Call
func (*Blueprint_SoftDeletesTz_Call) Run ¶
func (_c *Blueprint_SoftDeletesTz_Call) Run(run func(column ...string)) *Blueprint_SoftDeletesTz_Call
func (*Blueprint_SoftDeletesTz_Call) RunAndReturn ¶
func (_c *Blueprint_SoftDeletesTz_Call) RunAndReturn(run func(...string) schema.ColumnDefinition) *Blueprint_SoftDeletesTz_Call
type Blueprint_SoftDeletes_Call ¶
Blueprint_SoftDeletes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SoftDeletes'
func (*Blueprint_SoftDeletes_Call) Return ¶
func (_c *Blueprint_SoftDeletes_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_SoftDeletes_Call
func (*Blueprint_SoftDeletes_Call) Run ¶
func (_c *Blueprint_SoftDeletes_Call) Run(run func(column ...string)) *Blueprint_SoftDeletes_Call
func (*Blueprint_SoftDeletes_Call) RunAndReturn ¶
func (_c *Blueprint_SoftDeletes_Call) RunAndReturn(run func(...string) schema.ColumnDefinition) *Blueprint_SoftDeletes_Call
type Blueprint_String_Call ¶
Blueprint_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*Blueprint_String_Call) Return ¶
func (_c *Blueprint_String_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_String_Call
func (*Blueprint_String_Call) Run ¶
func (_c *Blueprint_String_Call) Run(run func(column string, length ...int)) *Blueprint_String_Call
func (*Blueprint_String_Call) RunAndReturn ¶
func (_c *Blueprint_String_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_String_Call
type Blueprint_Text_Call ¶
Blueprint_Text_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Text'
func (*Blueprint_Text_Call) Return ¶
func (_c *Blueprint_Text_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Text_Call
func (*Blueprint_Text_Call) Run ¶
func (_c *Blueprint_Text_Call) Run(run func(column string)) *Blueprint_Text_Call
func (*Blueprint_Text_Call) RunAndReturn ¶
func (_c *Blueprint_Text_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_Text_Call
type Blueprint_TimeTz_Call ¶
Blueprint_TimeTz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeTz'
func (*Blueprint_TimeTz_Call) Return ¶
func (_c *Blueprint_TimeTz_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_TimeTz_Call
func (*Blueprint_TimeTz_Call) Run ¶
func (_c *Blueprint_TimeTz_Call) Run(run func(column string, precision ...int)) *Blueprint_TimeTz_Call
func (*Blueprint_TimeTz_Call) RunAndReturn ¶
func (_c *Blueprint_TimeTz_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_TimeTz_Call
type Blueprint_Time_Call ¶
Blueprint_Time_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Time'
func (*Blueprint_Time_Call) Return ¶
func (_c *Blueprint_Time_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Time_Call
func (*Blueprint_Time_Call) Run ¶
func (_c *Blueprint_Time_Call) Run(run func(column string, precision ...int)) *Blueprint_Time_Call
func (*Blueprint_Time_Call) RunAndReturn ¶
func (_c *Blueprint_Time_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_Time_Call
type Blueprint_TimestampTz_Call ¶
Blueprint_TimestampTz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimestampTz'
func (*Blueprint_TimestampTz_Call) Return ¶
func (_c *Blueprint_TimestampTz_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_TimestampTz_Call
func (*Blueprint_TimestampTz_Call) Run ¶
func (_c *Blueprint_TimestampTz_Call) Run(run func(column string, precision ...int)) *Blueprint_TimestampTz_Call
func (*Blueprint_TimestampTz_Call) RunAndReturn ¶
func (_c *Blueprint_TimestampTz_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_TimestampTz_Call
type Blueprint_Timestamp_Call ¶
Blueprint_Timestamp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Timestamp'
func (*Blueprint_Timestamp_Call) Return ¶
func (_c *Blueprint_Timestamp_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_Timestamp_Call
func (*Blueprint_Timestamp_Call) Run ¶
func (_c *Blueprint_Timestamp_Call) Run(run func(column string, precision ...int)) *Blueprint_Timestamp_Call
func (*Blueprint_Timestamp_Call) RunAndReturn ¶
func (_c *Blueprint_Timestamp_Call) RunAndReturn(run func(string, ...int) schema.ColumnDefinition) *Blueprint_Timestamp_Call
type Blueprint_TimestampsTz_Call ¶
Blueprint_TimestampsTz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimestampsTz'
func (*Blueprint_TimestampsTz_Call) Return ¶
func (_c *Blueprint_TimestampsTz_Call) Return() *Blueprint_TimestampsTz_Call
func (*Blueprint_TimestampsTz_Call) Run ¶
func (_c *Blueprint_TimestampsTz_Call) Run(run func(precision ...int)) *Blueprint_TimestampsTz_Call
func (*Blueprint_TimestampsTz_Call) RunAndReturn ¶
func (_c *Blueprint_TimestampsTz_Call) RunAndReturn(run func(...int)) *Blueprint_TimestampsTz_Call
type Blueprint_Timestamps_Call ¶
Blueprint_Timestamps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Timestamps'
func (*Blueprint_Timestamps_Call) Return ¶
func (_c *Blueprint_Timestamps_Call) Return() *Blueprint_Timestamps_Call
func (*Blueprint_Timestamps_Call) Run ¶
func (_c *Blueprint_Timestamps_Call) Run(run func(precision ...int)) *Blueprint_Timestamps_Call
func (*Blueprint_Timestamps_Call) RunAndReturn ¶
func (_c *Blueprint_Timestamps_Call) RunAndReturn(run func(...int)) *Blueprint_Timestamps_Call
type Blueprint_TinyIncrements_Call ¶
Blueprint_TinyIncrements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TinyIncrements'
func (*Blueprint_TinyIncrements_Call) Return ¶
func (_c *Blueprint_TinyIncrements_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_TinyIncrements_Call
func (*Blueprint_TinyIncrements_Call) Run ¶
func (_c *Blueprint_TinyIncrements_Call) Run(run func(column string)) *Blueprint_TinyIncrements_Call
func (*Blueprint_TinyIncrements_Call) RunAndReturn ¶
func (_c *Blueprint_TinyIncrements_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_TinyIncrements_Call
type Blueprint_TinyInteger_Call ¶
Blueprint_TinyInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TinyInteger'
func (*Blueprint_TinyInteger_Call) Return ¶
func (_c *Blueprint_TinyInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_TinyInteger_Call
func (*Blueprint_TinyInteger_Call) Run ¶
func (_c *Blueprint_TinyInteger_Call) Run(run func(column string)) *Blueprint_TinyInteger_Call
func (*Blueprint_TinyInteger_Call) RunAndReturn ¶
func (_c *Blueprint_TinyInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_TinyInteger_Call
type Blueprint_TinyText_Call ¶
Blueprint_TinyText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TinyText'
func (*Blueprint_TinyText_Call) Return ¶
func (_c *Blueprint_TinyText_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_TinyText_Call
func (*Blueprint_TinyText_Call) Run ¶
func (_c *Blueprint_TinyText_Call) Run(run func(column string)) *Blueprint_TinyText_Call
func (*Blueprint_TinyText_Call) RunAndReturn ¶
func (_c *Blueprint_TinyText_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_TinyText_Call
type Blueprint_ToSql_Call ¶
Blueprint_ToSql_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToSql'
func (*Blueprint_ToSql_Call) Return ¶
func (_c *Blueprint_ToSql_Call) Return(_a0 []string) *Blueprint_ToSql_Call
func (*Blueprint_ToSql_Call) Run ¶
func (_c *Blueprint_ToSql_Call) Run(run func(grammar schema.Grammar)) *Blueprint_ToSql_Call
func (*Blueprint_ToSql_Call) RunAndReturn ¶
func (_c *Blueprint_ToSql_Call) RunAndReturn(run func(schema.Grammar) []string) *Blueprint_ToSql_Call
type Blueprint_Unique_Call ¶
Blueprint_Unique_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unique'
func (*Blueprint_Unique_Call) Return ¶
func (_c *Blueprint_Unique_Call) Return(_a0 schema.IndexDefinition) *Blueprint_Unique_Call
func (*Blueprint_Unique_Call) Run ¶
func (_c *Blueprint_Unique_Call) Run(run func(column ...string)) *Blueprint_Unique_Call
func (*Blueprint_Unique_Call) RunAndReturn ¶
func (_c *Blueprint_Unique_Call) RunAndReturn(run func(...string) schema.IndexDefinition) *Blueprint_Unique_Call
type Blueprint_UnsignedBigInteger_Call ¶
Blueprint_UnsignedBigInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsignedBigInteger'
func (*Blueprint_UnsignedBigInteger_Call) Return ¶
func (_c *Blueprint_UnsignedBigInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedBigInteger_Call
func (*Blueprint_UnsignedBigInteger_Call) Run ¶
func (_c *Blueprint_UnsignedBigInteger_Call) Run(run func(column string)) *Blueprint_UnsignedBigInteger_Call
func (*Blueprint_UnsignedBigInteger_Call) RunAndReturn ¶
func (_c *Blueprint_UnsignedBigInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedBigInteger_Call
type Blueprint_UnsignedInteger_Call ¶
Blueprint_UnsignedInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsignedInteger'
func (*Blueprint_UnsignedInteger_Call) Return ¶
func (_c *Blueprint_UnsignedInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedInteger_Call
func (*Blueprint_UnsignedInteger_Call) Run ¶
func (_c *Blueprint_UnsignedInteger_Call) Run(run func(column string)) *Blueprint_UnsignedInteger_Call
func (*Blueprint_UnsignedInteger_Call) RunAndReturn ¶
func (_c *Blueprint_UnsignedInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedInteger_Call
type Blueprint_UnsignedMediumInteger_Call ¶
Blueprint_UnsignedMediumInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsignedMediumInteger'
func (*Blueprint_UnsignedMediumInteger_Call) Return ¶
func (_c *Blueprint_UnsignedMediumInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedMediumInteger_Call
func (*Blueprint_UnsignedMediumInteger_Call) Run ¶
func (_c *Blueprint_UnsignedMediumInteger_Call) Run(run func(column string)) *Blueprint_UnsignedMediumInteger_Call
func (*Blueprint_UnsignedMediumInteger_Call) RunAndReturn ¶
func (_c *Blueprint_UnsignedMediumInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedMediumInteger_Call
type Blueprint_UnsignedSmallInteger_Call ¶
Blueprint_UnsignedSmallInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsignedSmallInteger'
func (*Blueprint_UnsignedSmallInteger_Call) Return ¶
func (_c *Blueprint_UnsignedSmallInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedSmallInteger_Call
func (*Blueprint_UnsignedSmallInteger_Call) Run ¶
func (_c *Blueprint_UnsignedSmallInteger_Call) Run(run func(column string)) *Blueprint_UnsignedSmallInteger_Call
func (*Blueprint_UnsignedSmallInteger_Call) RunAndReturn ¶
func (_c *Blueprint_UnsignedSmallInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedSmallInteger_Call
type Blueprint_UnsignedTinyInteger_Call ¶
Blueprint_UnsignedTinyInteger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsignedTinyInteger'
func (*Blueprint_UnsignedTinyInteger_Call) Return ¶
func (_c *Blueprint_UnsignedTinyInteger_Call) Return(_a0 schema.ColumnDefinition) *Blueprint_UnsignedTinyInteger_Call
func (*Blueprint_UnsignedTinyInteger_Call) Run ¶
func (_c *Blueprint_UnsignedTinyInteger_Call) Run(run func(column string)) *Blueprint_UnsignedTinyInteger_Call
func (*Blueprint_UnsignedTinyInteger_Call) RunAndReturn ¶
func (_c *Blueprint_UnsignedTinyInteger_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *Blueprint_UnsignedTinyInteger_Call
type ColumnDefinition ¶
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) AutoIncrement ¶
func (_m *ColumnDefinition) AutoIncrement() schema.ColumnDefinition
AutoIncrement provides a mock function with no fields
func (*ColumnDefinition) Comment ¶
func (_m *ColumnDefinition) Comment(comment string) schema.ColumnDefinition
Comment provides a mock function with given fields: comment
func (*ColumnDefinition) Default ¶
func (_m *ColumnDefinition) Default(def interface{}) schema.ColumnDefinition
Default provides a mock function with given fields: def
func (*ColumnDefinition) EXPECT ¶
func (_m *ColumnDefinition) EXPECT() *ColumnDefinition_Expecter
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) 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) IsSetComment ¶
func (_m *ColumnDefinition) IsSetComment() bool
IsSetComment provides a mock function with no fields
func (*ColumnDefinition) Nullable ¶
func (_m *ColumnDefinition) Nullable() schema.ColumnDefinition
Nullable provides a mock function with no fields
func (*ColumnDefinition) OnUpdate ¶
func (_m *ColumnDefinition) OnUpdate(value interface{}) schema.ColumnDefinition
OnUpdate provides a mock function with given fields: value
func (*ColumnDefinition) Places ¶
func (_m *ColumnDefinition) Places(places int) schema.ColumnDefinition
Places provides a mock function with given fields: places
func (*ColumnDefinition) Total ¶
func (_m *ColumnDefinition) Total(total int) schema.ColumnDefinition
Total provides a mock function with given fields: total
func (*ColumnDefinition) Unsigned ¶
func (_m *ColumnDefinition) Unsigned() schema.ColumnDefinition
Unsigned provides a mock function with no fields
func (*ColumnDefinition) UseCurrent ¶
func (_m *ColumnDefinition) UseCurrent() schema.ColumnDefinition
UseCurrent provides a mock function with no fields
func (*ColumnDefinition) UseCurrentOnUpdate ¶
func (_m *ColumnDefinition) UseCurrentOnUpdate() schema.ColumnDefinition
UseCurrentOnUpdate provides a mock function with no fields
type ColumnDefinition_AutoIncrement_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 (_c *ColumnDefinition_AutoIncrement_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_AutoIncrement_Call
func (*ColumnDefinition_AutoIncrement_Call) Run ¶
func (_c *ColumnDefinition_AutoIncrement_Call) Run(run func()) *ColumnDefinition_AutoIncrement_Call
func (*ColumnDefinition_AutoIncrement_Call) RunAndReturn ¶
func (_c *ColumnDefinition_AutoIncrement_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_AutoIncrement_Call
type ColumnDefinition_Comment_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 (_c *ColumnDefinition_Comment_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Comment_Call
func (*ColumnDefinition_Comment_Call) Run ¶
func (_c *ColumnDefinition_Comment_Call) Run(run func(comment string)) *ColumnDefinition_Comment_Call
func (*ColumnDefinition_Comment_Call) RunAndReturn ¶
func (_c *ColumnDefinition_Comment_Call) RunAndReturn(run func(string) schema.ColumnDefinition) *ColumnDefinition_Comment_Call
type ColumnDefinition_Default_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 (_c *ColumnDefinition_Default_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Default_Call
func (*ColumnDefinition_Default_Call) Run ¶
func (_c *ColumnDefinition_Default_Call) Run(run func(def interface{})) *ColumnDefinition_Default_Call
func (*ColumnDefinition_Default_Call) RunAndReturn ¶
func (_c *ColumnDefinition_Default_Call) RunAndReturn(run func(interface{}) schema.ColumnDefinition) *ColumnDefinition_Default_Call
type ColumnDefinition_Expecter ¶
type ColumnDefinition_Expecter struct {
// contains filtered or unexported fields
}
func (*ColumnDefinition_Expecter) AutoIncrement ¶
func (_e *ColumnDefinition_Expecter) AutoIncrement() *ColumnDefinition_AutoIncrement_Call
AutoIncrement is a helper method to define mock.On call
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) GetAllowed ¶
func (_e *ColumnDefinition_Expecter) GetAllowed() *ColumnDefinition_GetAllowed_Call
GetAllowed is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetAutoIncrement ¶
func (_e *ColumnDefinition_Expecter) GetAutoIncrement() *ColumnDefinition_GetAutoIncrement_Call
GetAutoIncrement is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetComment ¶
func (_e *ColumnDefinition_Expecter) GetComment() *ColumnDefinition_GetComment_Call
GetComment is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetDefault ¶
func (_e *ColumnDefinition_Expecter) GetDefault() *ColumnDefinition_GetDefault_Call
GetDefault is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetLength ¶
func (_e *ColumnDefinition_Expecter) GetLength() *ColumnDefinition_GetLength_Call
GetLength is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetName ¶
func (_e *ColumnDefinition_Expecter) GetName() *ColumnDefinition_GetName_Call
GetName is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetNullable ¶
func (_e *ColumnDefinition_Expecter) GetNullable() *ColumnDefinition_GetNullable_Call
GetNullable is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetOnUpdate ¶
func (_e *ColumnDefinition_Expecter) GetOnUpdate() *ColumnDefinition_GetOnUpdate_Call
GetOnUpdate is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetPlaces ¶
func (_e *ColumnDefinition_Expecter) GetPlaces() *ColumnDefinition_GetPlaces_Call
GetPlaces is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetPrecision ¶
func (_e *ColumnDefinition_Expecter) GetPrecision() *ColumnDefinition_GetPrecision_Call
GetPrecision is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetTotal ¶
func (_e *ColumnDefinition_Expecter) GetTotal() *ColumnDefinition_GetTotal_Call
GetTotal is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetType ¶
func (_e *ColumnDefinition_Expecter) GetType() *ColumnDefinition_GetType_Call
GetType is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetUnsigned ¶
func (_e *ColumnDefinition_Expecter) GetUnsigned() *ColumnDefinition_GetUnsigned_Call
GetUnsigned is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetUseCurrent ¶
func (_e *ColumnDefinition_Expecter) GetUseCurrent() *ColumnDefinition_GetUseCurrent_Call
GetUseCurrent is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) GetUseCurrentOnUpdate ¶
func (_e *ColumnDefinition_Expecter) GetUseCurrentOnUpdate() *ColumnDefinition_GetUseCurrentOnUpdate_Call
GetUseCurrentOnUpdate is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) IsSetComment ¶
func (_e *ColumnDefinition_Expecter) IsSetComment() *ColumnDefinition_IsSetComment_Call
IsSetComment is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) Nullable ¶
func (_e *ColumnDefinition_Expecter) Nullable() *ColumnDefinition_Nullable_Call
Nullable is a helper method to define mock.On call
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) 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) 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 ¶
func (_e *ColumnDefinition_Expecter) Unsigned() *ColumnDefinition_Unsigned_Call
Unsigned is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) UseCurrent ¶
func (_e *ColumnDefinition_Expecter) UseCurrent() *ColumnDefinition_UseCurrent_Call
UseCurrent is a helper method to define mock.On call
func (*ColumnDefinition_Expecter) UseCurrentOnUpdate ¶
func (_e *ColumnDefinition_Expecter) UseCurrentOnUpdate() *ColumnDefinition_UseCurrentOnUpdate_Call
UseCurrentOnUpdate is a helper method to define mock.On call
type ColumnDefinition_GetAllowed_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 (_c *ColumnDefinition_GetAllowed_Call) Return(_a0 []interface{}) *ColumnDefinition_GetAllowed_Call
func (*ColumnDefinition_GetAllowed_Call) Run ¶
func (_c *ColumnDefinition_GetAllowed_Call) Run(run func()) *ColumnDefinition_GetAllowed_Call
func (*ColumnDefinition_GetAllowed_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetAllowed_Call) RunAndReturn(run func() []interface{}) *ColumnDefinition_GetAllowed_Call
type ColumnDefinition_GetAutoIncrement_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 (_c *ColumnDefinition_GetAutoIncrement_Call) Return(_a0 bool) *ColumnDefinition_GetAutoIncrement_Call
func (*ColumnDefinition_GetAutoIncrement_Call) Run ¶
func (_c *ColumnDefinition_GetAutoIncrement_Call) Run(run func()) *ColumnDefinition_GetAutoIncrement_Call
func (*ColumnDefinition_GetAutoIncrement_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetAutoIncrement_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetAutoIncrement_Call
type ColumnDefinition_GetComment_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 (_c *ColumnDefinition_GetComment_Call) Return(comment string) *ColumnDefinition_GetComment_Call
func (*ColumnDefinition_GetComment_Call) Run ¶
func (_c *ColumnDefinition_GetComment_Call) Run(run func()) *ColumnDefinition_GetComment_Call
func (*ColumnDefinition_GetComment_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetComment_Call) RunAndReturn(run func() string) *ColumnDefinition_GetComment_Call
type ColumnDefinition_GetDefault_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 (_c *ColumnDefinition_GetDefault_Call) Return(_a0 interface{}) *ColumnDefinition_GetDefault_Call
func (*ColumnDefinition_GetDefault_Call) Run ¶
func (_c *ColumnDefinition_GetDefault_Call) Run(run func()) *ColumnDefinition_GetDefault_Call
func (*ColumnDefinition_GetDefault_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetDefault_Call) RunAndReturn(run func() interface{}) *ColumnDefinition_GetDefault_Call
type ColumnDefinition_GetLength_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 (_c *ColumnDefinition_GetLength_Call) Return(_a0 int) *ColumnDefinition_GetLength_Call
func (*ColumnDefinition_GetLength_Call) Run ¶
func (_c *ColumnDefinition_GetLength_Call) Run(run func()) *ColumnDefinition_GetLength_Call
func (*ColumnDefinition_GetLength_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetLength_Call) RunAndReturn(run func() int) *ColumnDefinition_GetLength_Call
type ColumnDefinition_GetName_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 (_c *ColumnDefinition_GetName_Call) Return(_a0 string) *ColumnDefinition_GetName_Call
func (*ColumnDefinition_GetName_Call) Run ¶
func (_c *ColumnDefinition_GetName_Call) Run(run func()) *ColumnDefinition_GetName_Call
func (*ColumnDefinition_GetName_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetName_Call) RunAndReturn(run func() string) *ColumnDefinition_GetName_Call
type ColumnDefinition_GetNullable_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 (_c *ColumnDefinition_GetNullable_Call) Return(_a0 bool) *ColumnDefinition_GetNullable_Call
func (*ColumnDefinition_GetNullable_Call) Run ¶
func (_c *ColumnDefinition_GetNullable_Call) Run(run func()) *ColumnDefinition_GetNullable_Call
func (*ColumnDefinition_GetNullable_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetNullable_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetNullable_Call
type ColumnDefinition_GetOnUpdate_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 (_c *ColumnDefinition_GetOnUpdate_Call) Return(_a0 interface{}) *ColumnDefinition_GetOnUpdate_Call
func (*ColumnDefinition_GetOnUpdate_Call) Run ¶
func (_c *ColumnDefinition_GetOnUpdate_Call) Run(run func()) *ColumnDefinition_GetOnUpdate_Call
func (*ColumnDefinition_GetOnUpdate_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetOnUpdate_Call) RunAndReturn(run func() interface{}) *ColumnDefinition_GetOnUpdate_Call
type ColumnDefinition_GetPlaces_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 (_c *ColumnDefinition_GetPlaces_Call) Return(_a0 int) *ColumnDefinition_GetPlaces_Call
func (*ColumnDefinition_GetPlaces_Call) Run ¶
func (_c *ColumnDefinition_GetPlaces_Call) Run(run func()) *ColumnDefinition_GetPlaces_Call
func (*ColumnDefinition_GetPlaces_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetPlaces_Call) RunAndReturn(run func() int) *ColumnDefinition_GetPlaces_Call
type ColumnDefinition_GetPrecision_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 (_c *ColumnDefinition_GetPrecision_Call) Return(_a0 int) *ColumnDefinition_GetPrecision_Call
func (*ColumnDefinition_GetPrecision_Call) Run ¶
func (_c *ColumnDefinition_GetPrecision_Call) Run(run func()) *ColumnDefinition_GetPrecision_Call
func (*ColumnDefinition_GetPrecision_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetPrecision_Call) RunAndReturn(run func() int) *ColumnDefinition_GetPrecision_Call
type ColumnDefinition_GetTotal_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 (_c *ColumnDefinition_GetTotal_Call) Return(_a0 int) *ColumnDefinition_GetTotal_Call
func (*ColumnDefinition_GetTotal_Call) Run ¶
func (_c *ColumnDefinition_GetTotal_Call) Run(run func()) *ColumnDefinition_GetTotal_Call
func (*ColumnDefinition_GetTotal_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetTotal_Call) RunAndReturn(run func() int) *ColumnDefinition_GetTotal_Call
type ColumnDefinition_GetType_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 (_c *ColumnDefinition_GetType_Call) Return(_a0 string) *ColumnDefinition_GetType_Call
func (*ColumnDefinition_GetType_Call) Run ¶
func (_c *ColumnDefinition_GetType_Call) Run(run func()) *ColumnDefinition_GetType_Call
func (*ColumnDefinition_GetType_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetType_Call) RunAndReturn(run func() string) *ColumnDefinition_GetType_Call
type ColumnDefinition_GetUnsigned_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 (_c *ColumnDefinition_GetUnsigned_Call) Return(_a0 bool) *ColumnDefinition_GetUnsigned_Call
func (*ColumnDefinition_GetUnsigned_Call) Run ¶
func (_c *ColumnDefinition_GetUnsigned_Call) Run(run func()) *ColumnDefinition_GetUnsigned_Call
func (*ColumnDefinition_GetUnsigned_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetUnsigned_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetUnsigned_Call
type ColumnDefinition_GetUseCurrentOnUpdate_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 (_c *ColumnDefinition_GetUseCurrentOnUpdate_Call) Return(_a0 bool) *ColumnDefinition_GetUseCurrentOnUpdate_Call
func (*ColumnDefinition_GetUseCurrentOnUpdate_Call) Run ¶
func (_c *ColumnDefinition_GetUseCurrentOnUpdate_Call) Run(run func()) *ColumnDefinition_GetUseCurrentOnUpdate_Call
func (*ColumnDefinition_GetUseCurrentOnUpdate_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetUseCurrentOnUpdate_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetUseCurrentOnUpdate_Call
type ColumnDefinition_GetUseCurrent_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 (_c *ColumnDefinition_GetUseCurrent_Call) Return(_a0 bool) *ColumnDefinition_GetUseCurrent_Call
func (*ColumnDefinition_GetUseCurrent_Call) Run ¶
func (_c *ColumnDefinition_GetUseCurrent_Call) Run(run func()) *ColumnDefinition_GetUseCurrent_Call
func (*ColumnDefinition_GetUseCurrent_Call) RunAndReturn ¶
func (_c *ColumnDefinition_GetUseCurrent_Call) RunAndReturn(run func() bool) *ColumnDefinition_GetUseCurrent_Call
type ColumnDefinition_IsSetComment_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 (_c *ColumnDefinition_IsSetComment_Call) Return(_a0 bool) *ColumnDefinition_IsSetComment_Call
func (*ColumnDefinition_IsSetComment_Call) Run ¶
func (_c *ColumnDefinition_IsSetComment_Call) Run(run func()) *ColumnDefinition_IsSetComment_Call
func (*ColumnDefinition_IsSetComment_Call) RunAndReturn ¶
func (_c *ColumnDefinition_IsSetComment_Call) RunAndReturn(run func() bool) *ColumnDefinition_IsSetComment_Call
type ColumnDefinition_Nullable_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 (_c *ColumnDefinition_Nullable_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Nullable_Call
func (*ColumnDefinition_Nullable_Call) Run ¶
func (_c *ColumnDefinition_Nullable_Call) Run(run func()) *ColumnDefinition_Nullable_Call
func (*ColumnDefinition_Nullable_Call) RunAndReturn ¶
func (_c *ColumnDefinition_Nullable_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_Nullable_Call
type ColumnDefinition_OnUpdate_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 (_c *ColumnDefinition_OnUpdate_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_OnUpdate_Call
func (*ColumnDefinition_OnUpdate_Call) Run ¶
func (_c *ColumnDefinition_OnUpdate_Call) Run(run func(value interface{})) *ColumnDefinition_OnUpdate_Call
func (*ColumnDefinition_OnUpdate_Call) RunAndReturn ¶
func (_c *ColumnDefinition_OnUpdate_Call) RunAndReturn(run func(interface{}) schema.ColumnDefinition) *ColumnDefinition_OnUpdate_Call
type ColumnDefinition_Places_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 (_c *ColumnDefinition_Places_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Places_Call
func (*ColumnDefinition_Places_Call) Run ¶
func (_c *ColumnDefinition_Places_Call) Run(run func(places int)) *ColumnDefinition_Places_Call
func (*ColumnDefinition_Places_Call) RunAndReturn ¶
func (_c *ColumnDefinition_Places_Call) RunAndReturn(run func(int) schema.ColumnDefinition) *ColumnDefinition_Places_Call
type ColumnDefinition_Total_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 (_c *ColumnDefinition_Total_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Total_Call
func (*ColumnDefinition_Total_Call) Run ¶
func (_c *ColumnDefinition_Total_Call) Run(run func(total int)) *ColumnDefinition_Total_Call
func (*ColumnDefinition_Total_Call) RunAndReturn ¶
func (_c *ColumnDefinition_Total_Call) RunAndReturn(run func(int) schema.ColumnDefinition) *ColumnDefinition_Total_Call
type ColumnDefinition_Unsigned_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 (_c *ColumnDefinition_Unsigned_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_Unsigned_Call
func (*ColumnDefinition_Unsigned_Call) Run ¶
func (_c *ColumnDefinition_Unsigned_Call) Run(run func()) *ColumnDefinition_Unsigned_Call
func (*ColumnDefinition_Unsigned_Call) RunAndReturn ¶
func (_c *ColumnDefinition_Unsigned_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_Unsigned_Call
type ColumnDefinition_UseCurrentOnUpdate_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 (_c *ColumnDefinition_UseCurrentOnUpdate_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_UseCurrentOnUpdate_Call
func (*ColumnDefinition_UseCurrentOnUpdate_Call) Run ¶
func (_c *ColumnDefinition_UseCurrentOnUpdate_Call) Run(run func()) *ColumnDefinition_UseCurrentOnUpdate_Call
func (*ColumnDefinition_UseCurrentOnUpdate_Call) RunAndReturn ¶
func (_c *ColumnDefinition_UseCurrentOnUpdate_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_UseCurrentOnUpdate_Call
type ColumnDefinition_UseCurrent_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 (_c *ColumnDefinition_UseCurrent_Call) Return(_a0 schema.ColumnDefinition) *ColumnDefinition_UseCurrent_Call
func (*ColumnDefinition_UseCurrent_Call) Run ¶
func (_c *ColumnDefinition_UseCurrent_Call) Run(run func()) *ColumnDefinition_UseCurrent_Call
func (*ColumnDefinition_UseCurrent_Call) RunAndReturn ¶
func (_c *ColumnDefinition_UseCurrent_Call) RunAndReturn(run func() schema.ColumnDefinition) *ColumnDefinition_UseCurrent_Call
type CommonSchema ¶
CommonSchema is an autogenerated mock type for the CommonSchema type
func NewCommonSchema ¶
func NewCommonSchema(t interface {
mock.TestingT
Cleanup(func())
}) *CommonSchema
NewCommonSchema creates a new instance of CommonSchema. 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 (*CommonSchema) EXPECT ¶
func (_m *CommonSchema) EXPECT() *CommonSchema_Expecter
type CommonSchema_Expecter ¶
type CommonSchema_Expecter struct {
// contains filtered or unexported fields
}
func (*CommonSchema_Expecter) GetTables ¶
func (_e *CommonSchema_Expecter) GetTables() *CommonSchema_GetTables_Call
GetTables is a helper method to define mock.On call
func (*CommonSchema_Expecter) GetViews ¶
func (_e *CommonSchema_Expecter) GetViews() *CommonSchema_GetViews_Call
GetViews is a helper method to define mock.On call
type CommonSchema_GetTables_Call ¶
CommonSchema_GetTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTables'
func (*CommonSchema_GetTables_Call) Return ¶
func (_c *CommonSchema_GetTables_Call) Return(_a0 []schema.Table, _a1 error) *CommonSchema_GetTables_Call
func (*CommonSchema_GetTables_Call) Run ¶
func (_c *CommonSchema_GetTables_Call) Run(run func()) *CommonSchema_GetTables_Call
func (*CommonSchema_GetTables_Call) RunAndReturn ¶
func (_c *CommonSchema_GetTables_Call) RunAndReturn(run func() ([]schema.Table, error)) *CommonSchema_GetTables_Call
type CommonSchema_GetViews_Call ¶
CommonSchema_GetViews_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetViews'
func (*CommonSchema_GetViews_Call) Return ¶
func (_c *CommonSchema_GetViews_Call) Return(_a0 []schema.View, _a1 error) *CommonSchema_GetViews_Call
func (*CommonSchema_GetViews_Call) Run ¶
func (_c *CommonSchema_GetViews_Call) Run(run func()) *CommonSchema_GetViews_Call
func (*CommonSchema_GetViews_Call) RunAndReturn ¶
func (_c *CommonSchema_GetViews_Call) RunAndReturn(run func() ([]schema.View, error)) *CommonSchema_GetViews_Call
type Connection ¶
Connection is an autogenerated mock type for the Connection type
func NewConnection ¶
func NewConnection(t interface {
mock.TestingT
Cleanup(func())
}) *Connection
NewConnection creates a new instance of Connection. 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 (*Connection) Connection ¶
func (_m *Connection) Connection() string
Connection provides a mock function with no fields
func (*Connection) EXPECT ¶
func (_m *Connection) EXPECT() *Connection_Expecter
type Connection_Connection_Call ¶
Connection_Connection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connection'
func (*Connection_Connection_Call) Return ¶
func (_c *Connection_Connection_Call) Return(_a0 string) *Connection_Connection_Call
func (*Connection_Connection_Call) Run ¶
func (_c *Connection_Connection_Call) Run(run func()) *Connection_Connection_Call
func (*Connection_Connection_Call) RunAndReturn ¶
func (_c *Connection_Connection_Call) RunAndReturn(run func() string) *Connection_Connection_Call
type Connection_Expecter ¶
type Connection_Expecter struct {
// contains filtered or unexported fields
}
func (*Connection_Expecter) Connection ¶
func (_e *Connection_Expecter) Connection() *Connection_Connection_Call
Connection is a helper method to define mock.On call
type DriverSchema ¶
DriverSchema is an autogenerated mock type for the DriverSchema type
func NewDriverSchema ¶
func NewDriverSchema(t interface {
mock.TestingT
Cleanup(func())
}) *DriverSchema
NewDriverSchema creates a new instance of DriverSchema. 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 (*DriverSchema) DropAllTables ¶
func (_m *DriverSchema) DropAllTables() error
DropAllTables provides a mock function with no fields
func (*DriverSchema) DropAllTypes ¶
func (_m *DriverSchema) DropAllTypes() error
DropAllTypes provides a mock function with no fields
func (*DriverSchema) DropAllViews ¶
func (_m *DriverSchema) DropAllViews() error
DropAllViews provides a mock function with no fields
func (*DriverSchema) EXPECT ¶
func (_m *DriverSchema) EXPECT() *DriverSchema_Expecter
func (*DriverSchema) GetColumns ¶
func (_m *DriverSchema) GetColumns(table string) ([]schema.Column, error)
GetColumns provides a mock function with given fields: table
func (*DriverSchema) GetIndexes ¶
func (_m *DriverSchema) GetIndexes(table string) ([]schema.Index, error)
GetIndexes provides a mock function with given fields: table
type DriverSchema_DropAllTables_Call ¶
DriverSchema_DropAllTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropAllTables'
func (*DriverSchema_DropAllTables_Call) Return ¶
func (_c *DriverSchema_DropAllTables_Call) Return(_a0 error) *DriverSchema_DropAllTables_Call
func (*DriverSchema_DropAllTables_Call) Run ¶
func (_c *DriverSchema_DropAllTables_Call) Run(run func()) *DriverSchema_DropAllTables_Call
func (*DriverSchema_DropAllTables_Call) RunAndReturn ¶
func (_c *DriverSchema_DropAllTables_Call) RunAndReturn(run func() error) *DriverSchema_DropAllTables_Call
type DriverSchema_DropAllTypes_Call ¶
DriverSchema_DropAllTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropAllTypes'
func (*DriverSchema_DropAllTypes_Call) Return ¶
func (_c *DriverSchema_DropAllTypes_Call) Return(_a0 error) *DriverSchema_DropAllTypes_Call
func (*DriverSchema_DropAllTypes_Call) Run ¶
func (_c *DriverSchema_DropAllTypes_Call) Run(run func()) *DriverSchema_DropAllTypes_Call
func (*DriverSchema_DropAllTypes_Call) RunAndReturn ¶
func (_c *DriverSchema_DropAllTypes_Call) RunAndReturn(run func() error) *DriverSchema_DropAllTypes_Call
type DriverSchema_DropAllViews_Call ¶
DriverSchema_DropAllViews_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropAllViews'
func (*DriverSchema_DropAllViews_Call) Return ¶
func (_c *DriverSchema_DropAllViews_Call) Return(_a0 error) *DriverSchema_DropAllViews_Call
func (*DriverSchema_DropAllViews_Call) Run ¶
func (_c *DriverSchema_DropAllViews_Call) Run(run func()) *DriverSchema_DropAllViews_Call
func (*DriverSchema_DropAllViews_Call) RunAndReturn ¶
func (_c *DriverSchema_DropAllViews_Call) RunAndReturn(run func() error) *DriverSchema_DropAllViews_Call
type DriverSchema_Expecter ¶
type DriverSchema_Expecter struct {
// contains filtered or unexported fields
}
func (*DriverSchema_Expecter) DropAllTables ¶
func (_e *DriverSchema_Expecter) DropAllTables() *DriverSchema_DropAllTables_Call
DropAllTables is a helper method to define mock.On call
func (*DriverSchema_Expecter) DropAllTypes ¶
func (_e *DriverSchema_Expecter) DropAllTypes() *DriverSchema_DropAllTypes_Call
DropAllTypes is a helper method to define mock.On call
func (*DriverSchema_Expecter) DropAllViews ¶
func (_e *DriverSchema_Expecter) DropAllViews() *DriverSchema_DropAllViews_Call
DropAllViews is a helper method to define mock.On call
func (*DriverSchema_Expecter) GetColumns ¶
func (_e *DriverSchema_Expecter) GetColumns(table interface{}) *DriverSchema_GetColumns_Call
GetColumns is a helper method to define mock.On call
- table string
func (*DriverSchema_Expecter) GetIndexes ¶
func (_e *DriverSchema_Expecter) GetIndexes(table interface{}) *DriverSchema_GetIndexes_Call
GetIndexes is a helper method to define mock.On call
- table string
func (*DriverSchema_Expecter) GetTypes ¶
func (_e *DriverSchema_Expecter) GetTypes() *DriverSchema_GetTypes_Call
GetTypes is a helper method to define mock.On call
type DriverSchema_GetColumns_Call ¶
DriverSchema_GetColumns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetColumns'
func (*DriverSchema_GetColumns_Call) Return ¶
func (_c *DriverSchema_GetColumns_Call) Return(_a0 []schema.Column, _a1 error) *DriverSchema_GetColumns_Call
func (*DriverSchema_GetColumns_Call) Run ¶
func (_c *DriverSchema_GetColumns_Call) Run(run func(table string)) *DriverSchema_GetColumns_Call
func (*DriverSchema_GetColumns_Call) RunAndReturn ¶
func (_c *DriverSchema_GetColumns_Call) RunAndReturn(run func(string) ([]schema.Column, error)) *DriverSchema_GetColumns_Call
type DriverSchema_GetIndexes_Call ¶
DriverSchema_GetIndexes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndexes'
func (*DriverSchema_GetIndexes_Call) Return ¶
func (_c *DriverSchema_GetIndexes_Call) Return(_a0 []schema.Index, _a1 error) *DriverSchema_GetIndexes_Call
func (*DriverSchema_GetIndexes_Call) Run ¶
func (_c *DriverSchema_GetIndexes_Call) Run(run func(table string)) *DriverSchema_GetIndexes_Call
func (*DriverSchema_GetIndexes_Call) RunAndReturn ¶
func (_c *DriverSchema_GetIndexes_Call) RunAndReturn(run func(string) ([]schema.Index, error)) *DriverSchema_GetIndexes_Call
type DriverSchema_GetTypes_Call ¶
DriverSchema_GetTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTypes'
func (*DriverSchema_GetTypes_Call) Return ¶
func (_c *DriverSchema_GetTypes_Call) Return(_a0 []schema.Type, _a1 error) *DriverSchema_GetTypes_Call
func (*DriverSchema_GetTypes_Call) Run ¶
func (_c *DriverSchema_GetTypes_Call) Run(run func()) *DriverSchema_GetTypes_Call
func (*DriverSchema_GetTypes_Call) RunAndReturn ¶
func (_c *DriverSchema_GetTypes_Call) RunAndReturn(run func() ([]schema.Type, error)) *DriverSchema_GetTypes_Call
type ForeignKeyDefinition ¶
ForeignKeyDefinition is an autogenerated mock type for the ForeignKeyDefinition type
func NewForeignKeyDefinition ¶
func NewForeignKeyDefinition(t interface {
mock.TestingT
Cleanup(func())
}) *ForeignKeyDefinition
NewForeignKeyDefinition creates a new instance of ForeignKeyDefinition. 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 (*ForeignKeyDefinition) CascadeOnDelete ¶
func (_m *ForeignKeyDefinition) CascadeOnDelete() schema.ForeignKeyDefinition
CascadeOnDelete provides a mock function with no fields
func (*ForeignKeyDefinition) CascadeOnUpdate ¶
func (_m *ForeignKeyDefinition) CascadeOnUpdate() schema.ForeignKeyDefinition
CascadeOnUpdate provides a mock function with no fields
func (*ForeignKeyDefinition) EXPECT ¶
func (_m *ForeignKeyDefinition) EXPECT() *ForeignKeyDefinition_Expecter
func (*ForeignKeyDefinition) Name ¶
func (_m *ForeignKeyDefinition) Name(name string) schema.ForeignKeyDefinition
Name provides a mock function with given fields: name
func (*ForeignKeyDefinition) NoActionOnDelete ¶
func (_m *ForeignKeyDefinition) NoActionOnDelete() schema.ForeignKeyDefinition
NoActionOnDelete provides a mock function with no fields
func (*ForeignKeyDefinition) NoActionOnUpdate ¶
func (_m *ForeignKeyDefinition) NoActionOnUpdate() schema.ForeignKeyDefinition
NoActionOnUpdate provides a mock function with no fields
func (*ForeignKeyDefinition) NullOnDelete ¶
func (_m *ForeignKeyDefinition) NullOnDelete() schema.ForeignKeyDefinition
NullOnDelete provides a mock function with no fields
func (*ForeignKeyDefinition) On ¶
func (_m *ForeignKeyDefinition) On(table string) schema.ForeignKeyDefinition
On provides a mock function with given fields: table
func (*ForeignKeyDefinition) References ¶
func (_m *ForeignKeyDefinition) References(columns ...string) schema.ForeignKeyDefinition
References provides a mock function with given fields: columns
func (*ForeignKeyDefinition) RestrictOnDelete ¶
func (_m *ForeignKeyDefinition) RestrictOnDelete() schema.ForeignKeyDefinition
RestrictOnDelete provides a mock function with no fields
func (*ForeignKeyDefinition) RestrictOnUpdate ¶
func (_m *ForeignKeyDefinition) RestrictOnUpdate() schema.ForeignKeyDefinition
RestrictOnUpdate provides a mock function with no fields
type ForeignKeyDefinition_CascadeOnDelete_Call ¶
ForeignKeyDefinition_CascadeOnDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CascadeOnDelete'
func (*ForeignKeyDefinition_CascadeOnDelete_Call) Return ¶
func (_c *ForeignKeyDefinition_CascadeOnDelete_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_CascadeOnDelete_Call
func (*ForeignKeyDefinition_CascadeOnDelete_Call) Run ¶
func (_c *ForeignKeyDefinition_CascadeOnDelete_Call) Run(run func()) *ForeignKeyDefinition_CascadeOnDelete_Call
func (*ForeignKeyDefinition_CascadeOnDelete_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_CascadeOnDelete_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_CascadeOnDelete_Call
type ForeignKeyDefinition_CascadeOnUpdate_Call ¶
ForeignKeyDefinition_CascadeOnUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CascadeOnUpdate'
func (*ForeignKeyDefinition_CascadeOnUpdate_Call) Return ¶
func (_c *ForeignKeyDefinition_CascadeOnUpdate_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_CascadeOnUpdate_Call
func (*ForeignKeyDefinition_CascadeOnUpdate_Call) Run ¶
func (_c *ForeignKeyDefinition_CascadeOnUpdate_Call) Run(run func()) *ForeignKeyDefinition_CascadeOnUpdate_Call
func (*ForeignKeyDefinition_CascadeOnUpdate_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_CascadeOnUpdate_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_CascadeOnUpdate_Call
type ForeignKeyDefinition_Expecter ¶
type ForeignKeyDefinition_Expecter struct {
// contains filtered or unexported fields
}
func (*ForeignKeyDefinition_Expecter) CascadeOnDelete ¶
func (_e *ForeignKeyDefinition_Expecter) CascadeOnDelete() *ForeignKeyDefinition_CascadeOnDelete_Call
CascadeOnDelete is a helper method to define mock.On call
func (*ForeignKeyDefinition_Expecter) CascadeOnUpdate ¶
func (_e *ForeignKeyDefinition_Expecter) CascadeOnUpdate() *ForeignKeyDefinition_CascadeOnUpdate_Call
CascadeOnUpdate is a helper method to define mock.On call
func (*ForeignKeyDefinition_Expecter) Name ¶
func (_e *ForeignKeyDefinition_Expecter) Name(name interface{}) *ForeignKeyDefinition_Name_Call
Name is a helper method to define mock.On call
- name string
func (*ForeignKeyDefinition_Expecter) NoActionOnDelete ¶
func (_e *ForeignKeyDefinition_Expecter) NoActionOnDelete() *ForeignKeyDefinition_NoActionOnDelete_Call
NoActionOnDelete is a helper method to define mock.On call
func (*ForeignKeyDefinition_Expecter) NoActionOnUpdate ¶
func (_e *ForeignKeyDefinition_Expecter) NoActionOnUpdate() *ForeignKeyDefinition_NoActionOnUpdate_Call
NoActionOnUpdate is a helper method to define mock.On call
func (*ForeignKeyDefinition_Expecter) NullOnDelete ¶
func (_e *ForeignKeyDefinition_Expecter) NullOnDelete() *ForeignKeyDefinition_NullOnDelete_Call
NullOnDelete is a helper method to define mock.On call
func (*ForeignKeyDefinition_Expecter) On ¶
func (_e *ForeignKeyDefinition_Expecter) On(table interface{}) *ForeignKeyDefinition_On_Call
On is a helper method to define mock.On call
- table string
func (*ForeignKeyDefinition_Expecter) References ¶
func (_e *ForeignKeyDefinition_Expecter) References(columns ...interface{}) *ForeignKeyDefinition_References_Call
References is a helper method to define mock.On call
- columns ...string
func (*ForeignKeyDefinition_Expecter) RestrictOnDelete ¶
func (_e *ForeignKeyDefinition_Expecter) RestrictOnDelete() *ForeignKeyDefinition_RestrictOnDelete_Call
RestrictOnDelete is a helper method to define mock.On call
func (*ForeignKeyDefinition_Expecter) RestrictOnUpdate ¶
func (_e *ForeignKeyDefinition_Expecter) RestrictOnUpdate() *ForeignKeyDefinition_RestrictOnUpdate_Call
RestrictOnUpdate is a helper method to define mock.On call
type ForeignKeyDefinition_Name_Call ¶
ForeignKeyDefinition_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*ForeignKeyDefinition_Name_Call) Return ¶
func (_c *ForeignKeyDefinition_Name_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_Name_Call
func (*ForeignKeyDefinition_Name_Call) Run ¶
func (_c *ForeignKeyDefinition_Name_Call) Run(run func(name string)) *ForeignKeyDefinition_Name_Call
func (*ForeignKeyDefinition_Name_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_Name_Call) RunAndReturn(run func(string) schema.ForeignKeyDefinition) *ForeignKeyDefinition_Name_Call
type ForeignKeyDefinition_NoActionOnDelete_Call ¶
ForeignKeyDefinition_NoActionOnDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoActionOnDelete'
func (*ForeignKeyDefinition_NoActionOnDelete_Call) Run ¶
func (_c *ForeignKeyDefinition_NoActionOnDelete_Call) Run(run func()) *ForeignKeyDefinition_NoActionOnDelete_Call
func (*ForeignKeyDefinition_NoActionOnDelete_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_NoActionOnDelete_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_NoActionOnDelete_Call
type ForeignKeyDefinition_NoActionOnUpdate_Call ¶
ForeignKeyDefinition_NoActionOnUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoActionOnUpdate'
func (*ForeignKeyDefinition_NoActionOnUpdate_Call) Run ¶
func (_c *ForeignKeyDefinition_NoActionOnUpdate_Call) Run(run func()) *ForeignKeyDefinition_NoActionOnUpdate_Call
func (*ForeignKeyDefinition_NoActionOnUpdate_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_NoActionOnUpdate_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_NoActionOnUpdate_Call
type ForeignKeyDefinition_NullOnDelete_Call ¶
ForeignKeyDefinition_NullOnDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NullOnDelete'
func (*ForeignKeyDefinition_NullOnDelete_Call) Return ¶
func (_c *ForeignKeyDefinition_NullOnDelete_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_NullOnDelete_Call
func (*ForeignKeyDefinition_NullOnDelete_Call) Run ¶
func (_c *ForeignKeyDefinition_NullOnDelete_Call) Run(run func()) *ForeignKeyDefinition_NullOnDelete_Call
func (*ForeignKeyDefinition_NullOnDelete_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_NullOnDelete_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_NullOnDelete_Call
type ForeignKeyDefinition_On_Call ¶
ForeignKeyDefinition_On_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'On'
func (*ForeignKeyDefinition_On_Call) Return ¶
func (_c *ForeignKeyDefinition_On_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_On_Call
func (*ForeignKeyDefinition_On_Call) Run ¶
func (_c *ForeignKeyDefinition_On_Call) Run(run func(table string)) *ForeignKeyDefinition_On_Call
func (*ForeignKeyDefinition_On_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_On_Call) RunAndReturn(run func(string) schema.ForeignKeyDefinition) *ForeignKeyDefinition_On_Call
type ForeignKeyDefinition_References_Call ¶
ForeignKeyDefinition_References_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'References'
func (*ForeignKeyDefinition_References_Call) Return ¶
func (_c *ForeignKeyDefinition_References_Call) Return(_a0 schema.ForeignKeyDefinition) *ForeignKeyDefinition_References_Call
func (*ForeignKeyDefinition_References_Call) Run ¶
func (_c *ForeignKeyDefinition_References_Call) Run(run func(columns ...string)) *ForeignKeyDefinition_References_Call
func (*ForeignKeyDefinition_References_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_References_Call) RunAndReturn(run func(...string) schema.ForeignKeyDefinition) *ForeignKeyDefinition_References_Call
type ForeignKeyDefinition_RestrictOnDelete_Call ¶
ForeignKeyDefinition_RestrictOnDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestrictOnDelete'
func (*ForeignKeyDefinition_RestrictOnDelete_Call) Run ¶
func (_c *ForeignKeyDefinition_RestrictOnDelete_Call) Run(run func()) *ForeignKeyDefinition_RestrictOnDelete_Call
func (*ForeignKeyDefinition_RestrictOnDelete_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_RestrictOnDelete_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_RestrictOnDelete_Call
type ForeignKeyDefinition_RestrictOnUpdate_Call ¶
ForeignKeyDefinition_RestrictOnUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestrictOnUpdate'
func (*ForeignKeyDefinition_RestrictOnUpdate_Call) Run ¶
func (_c *ForeignKeyDefinition_RestrictOnUpdate_Call) Run(run func()) *ForeignKeyDefinition_RestrictOnUpdate_Call
func (*ForeignKeyDefinition_RestrictOnUpdate_Call) RunAndReturn ¶
func (_c *ForeignKeyDefinition_RestrictOnUpdate_Call) RunAndReturn(run func() schema.ForeignKeyDefinition) *ForeignKeyDefinition_RestrictOnUpdate_Call
type Grammar ¶
Grammar is an autogenerated mock type for the Grammar type
func NewGrammar ¶
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 ¶
CompileAdd provides a mock function with given fields: blueprint, command
func (*Grammar) CompileColumns ¶
CompileColumns provides a mock function with given fields: _a0, table
func (*Grammar) CompileComment ¶
CompileComment provides a mock function with given fields: blueprint, command
func (*Grammar) CompileCreate ¶
CompileCreate provides a mock function with given fields: blueprint
func (*Grammar) CompileDrop ¶
CompileDrop provides a mock function with given fields: blueprint
func (*Grammar) CompileDropAllDomains ¶
CompileDropAllDomains provides a mock function with given fields: domains
func (*Grammar) CompileDropAllTables ¶
CompileDropAllTables provides a mock function with given fields: tables
func (*Grammar) CompileDropAllTypes ¶
CompileDropAllTypes provides a mock function with given fields: types
func (*Grammar) CompileDropAllViews ¶
CompileDropAllViews provides a mock function with given fields: views
func (*Grammar) CompileDropColumn ¶
CompileDropColumn provides a mock function with given fields: blueprint, command
func (*Grammar) CompileDropForeign ¶
CompileDropForeign provides a mock function with given fields: blueprint, command
func (*Grammar) CompileDropFullText ¶
CompileDropFullText provides a mock function with given fields: blueprint, command
func (*Grammar) CompileDropIfExists ¶
CompileDropIfExists provides a mock function with given fields: blueprint
func (*Grammar) CompileDropIndex ¶
CompileDropIndex provides a mock function with given fields: blueprint, command
func (*Grammar) CompileDropPrimary ¶
CompileDropPrimary provides a mock function with given fields: blueprint, command
func (*Grammar) CompileDropUnique ¶
CompileDropUnique provides a mock function with given fields: blueprint, command
func (*Grammar) CompileForeign ¶
CompileForeign provides a mock function with given fields: blueprint, command
func (*Grammar) CompileForeignKeys ¶
CompileForeignKeys provides a mock function with given fields: _a0, table
func (*Grammar) CompileFullText ¶
CompileFullText provides a mock function with given fields: blueprint, command
func (*Grammar) CompileIndex ¶
CompileIndex provides a mock function with given fields: blueprint, command
func (*Grammar) CompileIndexes ¶
CompileIndexes provides a mock function with given fields: _a0, table
func (*Grammar) CompilePrimary ¶
CompilePrimary provides a mock function with given fields: blueprint, command
func (*Grammar) CompileRename ¶
CompileRename provides a mock function with given fields: blueprint, command
func (*Grammar) CompileRenameIndex ¶
func (_m *Grammar) CompileRenameIndex(_a0 schema.Schema, blueprint schema.Blueprint, command *schema.Command) []string
CompileRenameIndex provides a mock function with given fields: _a0, blueprint, command
func (*Grammar) CompileTables ¶
CompileTables provides a mock function with given fields: database
func (*Grammar) CompileTypes ¶
CompileTypes provides a mock function with no fields
func (*Grammar) CompileUnique ¶
CompileUnique provides a mock function with given fields: blueprint, command
func (*Grammar) CompileViews ¶
CompileViews provides a mock function with given fields: database
func (*Grammar) EXPECT ¶
func (_m *Grammar) EXPECT() *Grammar_Expecter
func (*Grammar) GetAttributeCommands ¶
GetAttributeCommands provides a mock function with no fields
func (*Grammar) TypeBigInteger ¶
func (_m *Grammar) TypeBigInteger(column schema.ColumnDefinition) string
TypeBigInteger provides a mock function with given fields: column
func (*Grammar) TypeBoolean ¶ added in v1.15.3
func (_m *Grammar) TypeBoolean(column schema.ColumnDefinition) string
TypeBoolean provides a mock function with given fields: column
func (*Grammar) TypeChar ¶
func (_m *Grammar) TypeChar(column schema.ColumnDefinition) string
TypeChar provides a mock function with given fields: column
func (*Grammar) TypeDate ¶
func (_m *Grammar) TypeDate(column schema.ColumnDefinition) string
TypeDate provides a mock function with given fields: column
func (*Grammar) TypeDateTime ¶
func (_m *Grammar) TypeDateTime(column schema.ColumnDefinition) string
TypeDateTime provides a mock function with given fields: column
func (*Grammar) TypeDateTimeTz ¶
func (_m *Grammar) TypeDateTimeTz(column schema.ColumnDefinition) string
TypeDateTimeTz provides a mock function with given fields: column
func (*Grammar) TypeDecimal ¶
func (_m *Grammar) TypeDecimal(column schema.ColumnDefinition) string
TypeDecimal provides a mock function with given fields: column
func (*Grammar) TypeDouble ¶
func (_m *Grammar) TypeDouble(column schema.ColumnDefinition) string
TypeDouble provides a mock function with given fields: column
func (*Grammar) TypeEnum ¶
func (_m *Grammar) TypeEnum(column schema.ColumnDefinition) string
TypeEnum provides a mock function with given fields: column
func (*Grammar) TypeFloat ¶
func (_m *Grammar) TypeFloat(column schema.ColumnDefinition) string
TypeFloat provides a mock function with given fields: column
func (*Grammar) TypeInteger ¶
func (_m *Grammar) TypeInteger(column schema.ColumnDefinition) string
TypeInteger provides a mock function with given fields: column
func (*Grammar) TypeJson ¶
func (_m *Grammar) TypeJson(column schema.ColumnDefinition) string
TypeJson provides a mock function with given fields: column
func (*Grammar) TypeJsonb ¶
func (_m *Grammar) TypeJsonb(column schema.ColumnDefinition) string
TypeJsonb provides a mock function with given fields: column
func (*Grammar) TypeLongText ¶
func (_m *Grammar) TypeLongText(column schema.ColumnDefinition) string
TypeLongText provides a mock function with given fields: column
func (*Grammar) TypeMediumInteger ¶
func (_m *Grammar) TypeMediumInteger(column schema.ColumnDefinition) string
TypeMediumInteger provides a mock function with given fields: column
func (*Grammar) TypeMediumText ¶
func (_m *Grammar) TypeMediumText(column schema.ColumnDefinition) string
TypeMediumText provides a mock function with given fields: column
func (*Grammar) TypeSmallInteger ¶
func (_m *Grammar) TypeSmallInteger(column schema.ColumnDefinition) string
TypeSmallInteger provides a mock function with given fields: column
func (*Grammar) TypeString ¶
func (_m *Grammar) TypeString(column schema.ColumnDefinition) string
TypeString provides a mock function with given fields: column
func (*Grammar) TypeText ¶
func (_m *Grammar) TypeText(column schema.ColumnDefinition) string
TypeText provides a mock function with given fields: column
func (*Grammar) TypeTime ¶
func (_m *Grammar) TypeTime(column schema.ColumnDefinition) string
TypeTime provides a mock function with given fields: column
func (*Grammar) TypeTimeTz ¶
func (_m *Grammar) TypeTimeTz(column schema.ColumnDefinition) string
TypeTimeTz provides a mock function with given fields: column
func (*Grammar) TypeTimestamp ¶
func (_m *Grammar) TypeTimestamp(column schema.ColumnDefinition) string
TypeTimestamp provides a mock function with given fields: column
func (*Grammar) TypeTimestampTz ¶
func (_m *Grammar) TypeTimestampTz(column schema.ColumnDefinition) string
TypeTimestampTz provides a mock function with given fields: column
func (*Grammar) TypeTinyInteger ¶
func (_m *Grammar) TypeTinyInteger(column schema.ColumnDefinition) string
TypeTinyInteger provides a mock function with given fields: column
func (*Grammar) TypeTinyText ¶
func (_m *Grammar) TypeTinyText(column schema.ColumnDefinition) string
TypeTinyText provides a mock function with given fields: column
type Grammar_CompileAdd_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 (_c *Grammar_CompileAdd_Call) Return(_a0 string) *Grammar_CompileAdd_Call
func (*Grammar_CompileAdd_Call) Run ¶
func (_c *Grammar_CompileAdd_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileAdd_Call
func (*Grammar_CompileAdd_Call) RunAndReturn ¶
func (_c *Grammar_CompileAdd_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileAdd_Call
type Grammar_CompileColumns_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 (_c *Grammar_CompileColumns_Call) Return(_a0 string) *Grammar_CompileColumns_Call
func (*Grammar_CompileColumns_Call) Run ¶
func (_c *Grammar_CompileColumns_Call) Run(run func(_a0 string, table string)) *Grammar_CompileColumns_Call
func (*Grammar_CompileColumns_Call) RunAndReturn ¶
func (_c *Grammar_CompileColumns_Call) RunAndReturn(run func(string, string) string) *Grammar_CompileColumns_Call
type Grammar_CompileComment_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 (_c *Grammar_CompileComment_Call) Return(_a0 string) *Grammar_CompileComment_Call
func (*Grammar_CompileComment_Call) Run ¶
func (_c *Grammar_CompileComment_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileComment_Call
func (*Grammar_CompileComment_Call) RunAndReturn ¶
func (_c *Grammar_CompileComment_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileComment_Call
type Grammar_CompileCreate_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 (_c *Grammar_CompileCreate_Call) Return(_a0 string) *Grammar_CompileCreate_Call
func (*Grammar_CompileCreate_Call) Run ¶
func (_c *Grammar_CompileCreate_Call) Run(run func(blueprint schema.Blueprint)) *Grammar_CompileCreate_Call
func (*Grammar_CompileCreate_Call) RunAndReturn ¶
func (_c *Grammar_CompileCreate_Call) RunAndReturn(run func(schema.Blueprint) string) *Grammar_CompileCreate_Call
type Grammar_CompileDropAllDomains_Call ¶
Grammar_CompileDropAllDomains_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompileDropAllDomains'
func (*Grammar_CompileDropAllDomains_Call) Return ¶
func (_c *Grammar_CompileDropAllDomains_Call) Return(_a0 string) *Grammar_CompileDropAllDomains_Call
func (*Grammar_CompileDropAllDomains_Call) Run ¶
func (_c *Grammar_CompileDropAllDomains_Call) Run(run func(domains []string)) *Grammar_CompileDropAllDomains_Call
func (*Grammar_CompileDropAllDomains_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropAllDomains_Call) RunAndReturn(run func([]string) string) *Grammar_CompileDropAllDomains_Call
type Grammar_CompileDropAllTables_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 (_c *Grammar_CompileDropAllTables_Call) Return(_a0 string) *Grammar_CompileDropAllTables_Call
func (*Grammar_CompileDropAllTables_Call) Run ¶
func (_c *Grammar_CompileDropAllTables_Call) Run(run func(tables []string)) *Grammar_CompileDropAllTables_Call
func (*Grammar_CompileDropAllTables_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropAllTables_Call) RunAndReturn(run func([]string) string) *Grammar_CompileDropAllTables_Call
type Grammar_CompileDropAllTypes_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 (_c *Grammar_CompileDropAllTypes_Call) Return(_a0 string) *Grammar_CompileDropAllTypes_Call
func (*Grammar_CompileDropAllTypes_Call) Run ¶
func (_c *Grammar_CompileDropAllTypes_Call) Run(run func(types []string)) *Grammar_CompileDropAllTypes_Call
func (*Grammar_CompileDropAllTypes_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropAllTypes_Call) RunAndReturn(run func([]string) string) *Grammar_CompileDropAllTypes_Call
type Grammar_CompileDropAllViews_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 (_c *Grammar_CompileDropAllViews_Call) Return(_a0 string) *Grammar_CompileDropAllViews_Call
func (*Grammar_CompileDropAllViews_Call) Run ¶
func (_c *Grammar_CompileDropAllViews_Call) Run(run func(views []string)) *Grammar_CompileDropAllViews_Call
func (*Grammar_CompileDropAllViews_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropAllViews_Call) RunAndReturn(run func([]string) string) *Grammar_CompileDropAllViews_Call
type Grammar_CompileDropColumn_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 (_c *Grammar_CompileDropColumn_Call) Return(_a0 []string) *Grammar_CompileDropColumn_Call
func (*Grammar_CompileDropColumn_Call) Run ¶
func (_c *Grammar_CompileDropColumn_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropColumn_Call
func (*Grammar_CompileDropColumn_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropColumn_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) []string) *Grammar_CompileDropColumn_Call
type Grammar_CompileDropForeign_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 (_c *Grammar_CompileDropForeign_Call) Return(_a0 string) *Grammar_CompileDropForeign_Call
func (*Grammar_CompileDropForeign_Call) Run ¶
func (_c *Grammar_CompileDropForeign_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropForeign_Call
func (*Grammar_CompileDropForeign_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropForeign_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropForeign_Call
type Grammar_CompileDropFullText_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 (_c *Grammar_CompileDropFullText_Call) Return(_a0 string) *Grammar_CompileDropFullText_Call
func (*Grammar_CompileDropFullText_Call) Run ¶
func (_c *Grammar_CompileDropFullText_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropFullText_Call
func (*Grammar_CompileDropFullText_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropFullText_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropFullText_Call
type Grammar_CompileDropIfExists_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 (_c *Grammar_CompileDropIfExists_Call) Return(_a0 string) *Grammar_CompileDropIfExists_Call
func (*Grammar_CompileDropIfExists_Call) Run ¶
func (_c *Grammar_CompileDropIfExists_Call) Run(run func(blueprint schema.Blueprint)) *Grammar_CompileDropIfExists_Call
func (*Grammar_CompileDropIfExists_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropIfExists_Call) RunAndReturn(run func(schema.Blueprint) string) *Grammar_CompileDropIfExists_Call
type Grammar_CompileDropIndex_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 (_c *Grammar_CompileDropIndex_Call) Return(_a0 string) *Grammar_CompileDropIndex_Call
func (*Grammar_CompileDropIndex_Call) Run ¶
func (_c *Grammar_CompileDropIndex_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropIndex_Call
func (*Grammar_CompileDropIndex_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropIndex_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropIndex_Call
type Grammar_CompileDropPrimary_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 (_c *Grammar_CompileDropPrimary_Call) Return(_a0 string) *Grammar_CompileDropPrimary_Call
func (*Grammar_CompileDropPrimary_Call) Run ¶
func (_c *Grammar_CompileDropPrimary_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropPrimary_Call
func (*Grammar_CompileDropPrimary_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropPrimary_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropPrimary_Call
type Grammar_CompileDropUnique_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 (_c *Grammar_CompileDropUnique_Call) Return(_a0 string) *Grammar_CompileDropUnique_Call
func (*Grammar_CompileDropUnique_Call) Run ¶
func (_c *Grammar_CompileDropUnique_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileDropUnique_Call
func (*Grammar_CompileDropUnique_Call) RunAndReturn ¶
func (_c *Grammar_CompileDropUnique_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileDropUnique_Call
type Grammar_CompileDrop_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 (_c *Grammar_CompileDrop_Call) Return(_a0 string) *Grammar_CompileDrop_Call
func (*Grammar_CompileDrop_Call) Run ¶
func (_c *Grammar_CompileDrop_Call) Run(run func(blueprint schema.Blueprint)) *Grammar_CompileDrop_Call
func (*Grammar_CompileDrop_Call) RunAndReturn ¶
func (_c *Grammar_CompileDrop_Call) RunAndReturn(run func(schema.Blueprint) string) *Grammar_CompileDrop_Call
type Grammar_CompileForeignKeys_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 (_c *Grammar_CompileForeignKeys_Call) Return(_a0 string) *Grammar_CompileForeignKeys_Call
func (*Grammar_CompileForeignKeys_Call) Run ¶
func (_c *Grammar_CompileForeignKeys_Call) Run(run func(_a0 string, table string)) *Grammar_CompileForeignKeys_Call
func (*Grammar_CompileForeignKeys_Call) RunAndReturn ¶
func (_c *Grammar_CompileForeignKeys_Call) RunAndReturn(run func(string, string) string) *Grammar_CompileForeignKeys_Call
type Grammar_CompileForeign_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 (_c *Grammar_CompileForeign_Call) Return(_a0 string) *Grammar_CompileForeign_Call
func (*Grammar_CompileForeign_Call) Run ¶
func (_c *Grammar_CompileForeign_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileForeign_Call
func (*Grammar_CompileForeign_Call) RunAndReturn ¶
func (_c *Grammar_CompileForeign_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileForeign_Call
type Grammar_CompileFullText_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 (_c *Grammar_CompileFullText_Call) Return(_a0 string) *Grammar_CompileFullText_Call
func (*Grammar_CompileFullText_Call) Run ¶
func (_c *Grammar_CompileFullText_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileFullText_Call
func (*Grammar_CompileFullText_Call) RunAndReturn ¶
func (_c *Grammar_CompileFullText_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileFullText_Call
type Grammar_CompileIndex_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 (_c *Grammar_CompileIndex_Call) Return(_a0 string) *Grammar_CompileIndex_Call
func (*Grammar_CompileIndex_Call) Run ¶
func (_c *Grammar_CompileIndex_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileIndex_Call
func (*Grammar_CompileIndex_Call) RunAndReturn ¶
func (_c *Grammar_CompileIndex_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileIndex_Call
type Grammar_CompileIndexes_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 (_c *Grammar_CompileIndexes_Call) Return(_a0 string) *Grammar_CompileIndexes_Call
func (*Grammar_CompileIndexes_Call) Run ¶
func (_c *Grammar_CompileIndexes_Call) Run(run func(_a0 string, table string)) *Grammar_CompileIndexes_Call
func (*Grammar_CompileIndexes_Call) RunAndReturn ¶
func (_c *Grammar_CompileIndexes_Call) RunAndReturn(run func(string, string) string) *Grammar_CompileIndexes_Call
type Grammar_CompilePrimary_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 (_c *Grammar_CompilePrimary_Call) Return(_a0 string) *Grammar_CompilePrimary_Call
func (*Grammar_CompilePrimary_Call) Run ¶
func (_c *Grammar_CompilePrimary_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompilePrimary_Call
func (*Grammar_CompilePrimary_Call) RunAndReturn ¶
func (_c *Grammar_CompilePrimary_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompilePrimary_Call
type Grammar_CompileRenameIndex_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 (_c *Grammar_CompileRenameIndex_Call) Return(_a0 []string) *Grammar_CompileRenameIndex_Call
func (*Grammar_CompileRenameIndex_Call) Run ¶
func (_c *Grammar_CompileRenameIndex_Call) Run(run func(_a0 schema.Schema, blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileRenameIndex_Call
func (*Grammar_CompileRenameIndex_Call) RunAndReturn ¶
func (_c *Grammar_CompileRenameIndex_Call) RunAndReturn(run func(schema.Schema, schema.Blueprint, *schema.Command) []string) *Grammar_CompileRenameIndex_Call
type Grammar_CompileRename_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 (_c *Grammar_CompileRename_Call) Return(_a0 string) *Grammar_CompileRename_Call
func (*Grammar_CompileRename_Call) Run ¶
func (_c *Grammar_CompileRename_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileRename_Call
func (*Grammar_CompileRename_Call) RunAndReturn ¶
func (_c *Grammar_CompileRename_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileRename_Call
type Grammar_CompileTables_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 (_c *Grammar_CompileTables_Call) Return(_a0 string) *Grammar_CompileTables_Call
func (*Grammar_CompileTables_Call) Run ¶
func (_c *Grammar_CompileTables_Call) Run(run func(database string)) *Grammar_CompileTables_Call
func (*Grammar_CompileTables_Call) RunAndReturn ¶
func (_c *Grammar_CompileTables_Call) RunAndReturn(run func(string) string) *Grammar_CompileTables_Call
type Grammar_CompileTypes_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 (_c *Grammar_CompileTypes_Call) Return(_a0 string) *Grammar_CompileTypes_Call
func (*Grammar_CompileTypes_Call) Run ¶
func (_c *Grammar_CompileTypes_Call) Run(run func()) *Grammar_CompileTypes_Call
func (*Grammar_CompileTypes_Call) RunAndReturn ¶
func (_c *Grammar_CompileTypes_Call) RunAndReturn(run func() string) *Grammar_CompileTypes_Call
type Grammar_CompileUnique_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 (_c *Grammar_CompileUnique_Call) Return(_a0 string) *Grammar_CompileUnique_Call
func (*Grammar_CompileUnique_Call) Run ¶
func (_c *Grammar_CompileUnique_Call) Run(run func(blueprint schema.Blueprint, command *schema.Command)) *Grammar_CompileUnique_Call
func (*Grammar_CompileUnique_Call) RunAndReturn ¶
func (_c *Grammar_CompileUnique_Call) RunAndReturn(run func(schema.Blueprint, *schema.Command) string) *Grammar_CompileUnique_Call
type Grammar_CompileViews_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 (_c *Grammar_CompileViews_Call) Return(_a0 string) *Grammar_CompileViews_Call
func (*Grammar_CompileViews_Call) Run ¶
func (_c *Grammar_CompileViews_Call) Run(run func(database string)) *Grammar_CompileViews_Call
func (*Grammar_CompileViews_Call) RunAndReturn ¶
func (_c *Grammar_CompileViews_Call) RunAndReturn(run func(string) string) *Grammar_CompileViews_Call
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 schema.Blueprint
- command *schema.Command
func (*Grammar_Expecter) CompileColumns ¶
func (_e *Grammar_Expecter) CompileColumns(_a0 interface{}, table interface{}) *Grammar_CompileColumns_Call
CompileColumns is a helper method to define mock.On call
- _a0 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 schema.Blueprint
- command *schema.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 schema.Blueprint
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 schema.Blueprint
func (*Grammar_Expecter) CompileDropAllDomains ¶
func (_e *Grammar_Expecter) CompileDropAllDomains(domains interface{}) *Grammar_CompileDropAllDomains_Call
CompileDropAllDomains is a helper method to define mock.On call
- domains []string
func (*Grammar_Expecter) CompileDropAllTables ¶
func (_e *Grammar_Expecter) CompileDropAllTables(tables interface{}) *Grammar_CompileDropAllTables_Call
CompileDropAllTables is a helper method to define mock.On call
- tables []string
func (*Grammar_Expecter) CompileDropAllTypes ¶
func (_e *Grammar_Expecter) CompileDropAllTypes(types interface{}) *Grammar_CompileDropAllTypes_Call
CompileDropAllTypes is a helper method to define mock.On call
- types []string
func (*Grammar_Expecter) CompileDropAllViews ¶
func (_e *Grammar_Expecter) CompileDropAllViews(views interface{}) *Grammar_CompileDropAllViews_Call
CompileDropAllViews is a helper method to define mock.On call
- views []string
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 schema.Blueprint
- command *schema.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 schema.Blueprint
- command *schema.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 schema.Blueprint
- command *schema.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 schema.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 schema.Blueprint
- command *schema.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 schema.Blueprint
- command *schema.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 schema.Blueprint
- command *schema.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 schema.Blueprint
- command *schema.Command
func (*Grammar_Expecter) CompileForeignKeys ¶
func (_e *Grammar_Expecter) CompileForeignKeys(_a0 interface{}, table interface{}) *Grammar_CompileForeignKeys_Call
CompileForeignKeys is a helper method to define mock.On call
- _a0 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 schema.Blueprint
- command *schema.Command
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 schema.Blueprint
- command *schema.Command
func (*Grammar_Expecter) CompileIndexes ¶
func (_e *Grammar_Expecter) CompileIndexes(_a0 interface{}, table interface{}) *Grammar_CompileIndexes_Call
CompileIndexes is a helper method to define mock.On call
- _a0 string
- table string
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 schema.Blueprint
- command *schema.Command
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 schema.Blueprint
- command *schema.Command
func (*Grammar_Expecter) CompileRenameIndex ¶
func (_e *Grammar_Expecter) CompileRenameIndex(_a0 interface{}, blueprint interface{}, command interface{}) *Grammar_CompileRenameIndex_Call
CompileRenameIndex is a helper method to define mock.On call
- _a0 schema.Schema
- blueprint schema.Blueprint
- command *schema.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 schema.Blueprint
- command *schema.Command
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 schema.ColumnDefinition
func (*Grammar_Expecter) TypeBoolean ¶ added in v1.15.3
func (_e *Grammar_Expecter) TypeBoolean(column interface{}) *Grammar_TypeBoolean_Call
TypeBoolean is a helper method to define mock.On call
- column schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.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 schema.ColumnDefinition
type Grammar_GetAttributeCommands_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 (_c *Grammar_GetAttributeCommands_Call) Return(_a0 []string) *Grammar_GetAttributeCommands_Call
func (*Grammar_GetAttributeCommands_Call) Run ¶
func (_c *Grammar_GetAttributeCommands_Call) Run(run func()) *Grammar_GetAttributeCommands_Call
func (*Grammar_GetAttributeCommands_Call) RunAndReturn ¶
func (_c *Grammar_GetAttributeCommands_Call) RunAndReturn(run func() []string) *Grammar_GetAttributeCommands_Call
type Grammar_TypeBigInteger_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 (_c *Grammar_TypeBigInteger_Call) Return(_a0 string) *Grammar_TypeBigInteger_Call
func (*Grammar_TypeBigInteger_Call) Run ¶
func (_c *Grammar_TypeBigInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeBigInteger_Call
func (*Grammar_TypeBigInteger_Call) RunAndReturn ¶
func (_c *Grammar_TypeBigInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeBigInteger_Call
type Grammar_TypeBoolean_Call ¶ added in v1.15.3
Grammar_TypeBoolean_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TypeBoolean'
func (*Grammar_TypeBoolean_Call) Return ¶ added in v1.15.3
func (_c *Grammar_TypeBoolean_Call) Return(_a0 string) *Grammar_TypeBoolean_Call
func (*Grammar_TypeBoolean_Call) Run ¶ added in v1.15.3
func (_c *Grammar_TypeBoolean_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeBoolean_Call
func (*Grammar_TypeBoolean_Call) RunAndReturn ¶ added in v1.15.3
func (_c *Grammar_TypeBoolean_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeBoolean_Call
type Grammar_TypeChar_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 (_c *Grammar_TypeChar_Call) Return(_a0 string) *Grammar_TypeChar_Call
func (*Grammar_TypeChar_Call) Run ¶
func (_c *Grammar_TypeChar_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeChar_Call
func (*Grammar_TypeChar_Call) RunAndReturn ¶
func (_c *Grammar_TypeChar_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeChar_Call
type Grammar_TypeDateTimeTz_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 (_c *Grammar_TypeDateTimeTz_Call) Return(_a0 string) *Grammar_TypeDateTimeTz_Call
func (*Grammar_TypeDateTimeTz_Call) Run ¶
func (_c *Grammar_TypeDateTimeTz_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeDateTimeTz_Call
func (*Grammar_TypeDateTimeTz_Call) RunAndReturn ¶
func (_c *Grammar_TypeDateTimeTz_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeDateTimeTz_Call
type Grammar_TypeDateTime_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 (_c *Grammar_TypeDateTime_Call) Return(_a0 string) *Grammar_TypeDateTime_Call
func (*Grammar_TypeDateTime_Call) Run ¶
func (_c *Grammar_TypeDateTime_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeDateTime_Call
func (*Grammar_TypeDateTime_Call) RunAndReturn ¶
func (_c *Grammar_TypeDateTime_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeDateTime_Call
type Grammar_TypeDate_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 (_c *Grammar_TypeDate_Call) Return(_a0 string) *Grammar_TypeDate_Call
func (*Grammar_TypeDate_Call) Run ¶
func (_c *Grammar_TypeDate_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeDate_Call
func (*Grammar_TypeDate_Call) RunAndReturn ¶
func (_c *Grammar_TypeDate_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeDate_Call
type Grammar_TypeDecimal_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 (_c *Grammar_TypeDecimal_Call) Return(_a0 string) *Grammar_TypeDecimal_Call
func (*Grammar_TypeDecimal_Call) Run ¶
func (_c *Grammar_TypeDecimal_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeDecimal_Call
func (*Grammar_TypeDecimal_Call) RunAndReturn ¶
func (_c *Grammar_TypeDecimal_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeDecimal_Call
type Grammar_TypeDouble_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 (_c *Grammar_TypeDouble_Call) Return(_a0 string) *Grammar_TypeDouble_Call
func (*Grammar_TypeDouble_Call) Run ¶
func (_c *Grammar_TypeDouble_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeDouble_Call
func (*Grammar_TypeDouble_Call) RunAndReturn ¶
func (_c *Grammar_TypeDouble_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeDouble_Call
type Grammar_TypeEnum_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 (_c *Grammar_TypeEnum_Call) Return(_a0 string) *Grammar_TypeEnum_Call
func (*Grammar_TypeEnum_Call) Run ¶
func (_c *Grammar_TypeEnum_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeEnum_Call
func (*Grammar_TypeEnum_Call) RunAndReturn ¶
func (_c *Grammar_TypeEnum_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeEnum_Call
type Grammar_TypeFloat_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 (_c *Grammar_TypeFloat_Call) Return(_a0 string) *Grammar_TypeFloat_Call
func (*Grammar_TypeFloat_Call) Run ¶
func (_c *Grammar_TypeFloat_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeFloat_Call
func (*Grammar_TypeFloat_Call) RunAndReturn ¶
func (_c *Grammar_TypeFloat_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeFloat_Call
type Grammar_TypeInteger_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 (_c *Grammar_TypeInteger_Call) Return(_a0 string) *Grammar_TypeInteger_Call
func (*Grammar_TypeInteger_Call) Run ¶
func (_c *Grammar_TypeInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeInteger_Call
func (*Grammar_TypeInteger_Call) RunAndReturn ¶
func (_c *Grammar_TypeInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeInteger_Call
type Grammar_TypeJson_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 (_c *Grammar_TypeJson_Call) Return(_a0 string) *Grammar_TypeJson_Call
func (*Grammar_TypeJson_Call) Run ¶
func (_c *Grammar_TypeJson_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeJson_Call
func (*Grammar_TypeJson_Call) RunAndReturn ¶
func (_c *Grammar_TypeJson_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeJson_Call
type Grammar_TypeJsonb_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 (_c *Grammar_TypeJsonb_Call) Return(_a0 string) *Grammar_TypeJsonb_Call
func (*Grammar_TypeJsonb_Call) Run ¶
func (_c *Grammar_TypeJsonb_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeJsonb_Call
func (*Grammar_TypeJsonb_Call) RunAndReturn ¶
func (_c *Grammar_TypeJsonb_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeJsonb_Call
type Grammar_TypeLongText_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 (_c *Grammar_TypeLongText_Call) Return(_a0 string) *Grammar_TypeLongText_Call
func (*Grammar_TypeLongText_Call) Run ¶
func (_c *Grammar_TypeLongText_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeLongText_Call
func (*Grammar_TypeLongText_Call) RunAndReturn ¶
func (_c *Grammar_TypeLongText_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeLongText_Call
type Grammar_TypeMediumInteger_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 (_c *Grammar_TypeMediumInteger_Call) Return(_a0 string) *Grammar_TypeMediumInteger_Call
func (*Grammar_TypeMediumInteger_Call) Run ¶
func (_c *Grammar_TypeMediumInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeMediumInteger_Call
func (*Grammar_TypeMediumInteger_Call) RunAndReturn ¶
func (_c *Grammar_TypeMediumInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeMediumInteger_Call
type Grammar_TypeMediumText_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 (_c *Grammar_TypeMediumText_Call) Return(_a0 string) *Grammar_TypeMediumText_Call
func (*Grammar_TypeMediumText_Call) Run ¶
func (_c *Grammar_TypeMediumText_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeMediumText_Call
func (*Grammar_TypeMediumText_Call) RunAndReturn ¶
func (_c *Grammar_TypeMediumText_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeMediumText_Call
type Grammar_TypeSmallInteger_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 (_c *Grammar_TypeSmallInteger_Call) Return(_a0 string) *Grammar_TypeSmallInteger_Call
func (*Grammar_TypeSmallInteger_Call) Run ¶
func (_c *Grammar_TypeSmallInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeSmallInteger_Call
func (*Grammar_TypeSmallInteger_Call) RunAndReturn ¶
func (_c *Grammar_TypeSmallInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeSmallInteger_Call
type Grammar_TypeString_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 (_c *Grammar_TypeString_Call) Return(_a0 string) *Grammar_TypeString_Call
func (*Grammar_TypeString_Call) Run ¶
func (_c *Grammar_TypeString_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeString_Call
func (*Grammar_TypeString_Call) RunAndReturn ¶
func (_c *Grammar_TypeString_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeString_Call
type Grammar_TypeText_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 (_c *Grammar_TypeText_Call) Return(_a0 string) *Grammar_TypeText_Call
func (*Grammar_TypeText_Call) Run ¶
func (_c *Grammar_TypeText_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeText_Call
func (*Grammar_TypeText_Call) RunAndReturn ¶
func (_c *Grammar_TypeText_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeText_Call
type Grammar_TypeTimeTz_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 (_c *Grammar_TypeTimeTz_Call) Return(_a0 string) *Grammar_TypeTimeTz_Call
func (*Grammar_TypeTimeTz_Call) Run ¶
func (_c *Grammar_TypeTimeTz_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTimeTz_Call
func (*Grammar_TypeTimeTz_Call) RunAndReturn ¶
func (_c *Grammar_TypeTimeTz_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTimeTz_Call
type Grammar_TypeTime_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 (_c *Grammar_TypeTime_Call) Return(_a0 string) *Grammar_TypeTime_Call
func (*Grammar_TypeTime_Call) Run ¶
func (_c *Grammar_TypeTime_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTime_Call
func (*Grammar_TypeTime_Call) RunAndReturn ¶
func (_c *Grammar_TypeTime_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTime_Call
type Grammar_TypeTimestampTz_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 (_c *Grammar_TypeTimestampTz_Call) Return(_a0 string) *Grammar_TypeTimestampTz_Call
func (*Grammar_TypeTimestampTz_Call) Run ¶
func (_c *Grammar_TypeTimestampTz_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTimestampTz_Call
func (*Grammar_TypeTimestampTz_Call) RunAndReturn ¶
func (_c *Grammar_TypeTimestampTz_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTimestampTz_Call
type Grammar_TypeTimestamp_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 (_c *Grammar_TypeTimestamp_Call) Return(_a0 string) *Grammar_TypeTimestamp_Call
func (*Grammar_TypeTimestamp_Call) Run ¶
func (_c *Grammar_TypeTimestamp_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTimestamp_Call
func (*Grammar_TypeTimestamp_Call) RunAndReturn ¶
func (_c *Grammar_TypeTimestamp_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTimestamp_Call
type Grammar_TypeTinyInteger_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 (_c *Grammar_TypeTinyInteger_Call) Return(_a0 string) *Grammar_TypeTinyInteger_Call
func (*Grammar_TypeTinyInteger_Call) Run ¶
func (_c *Grammar_TypeTinyInteger_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTinyInteger_Call
func (*Grammar_TypeTinyInteger_Call) RunAndReturn ¶
func (_c *Grammar_TypeTinyInteger_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTinyInteger_Call
type Grammar_TypeTinyText_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 (_c *Grammar_TypeTinyText_Call) Return(_a0 string) *Grammar_TypeTinyText_Call
func (*Grammar_TypeTinyText_Call) Run ¶
func (_c *Grammar_TypeTinyText_Call) Run(run func(column schema.ColumnDefinition)) *Grammar_TypeTinyText_Call
func (*Grammar_TypeTinyText_Call) RunAndReturn ¶
func (_c *Grammar_TypeTinyText_Call) RunAndReturn(run func(schema.ColumnDefinition) string) *Grammar_TypeTinyText_Call
type IndexDefinition ¶
IndexDefinition is an autogenerated mock type for the IndexDefinition type
func NewIndexDefinition ¶
func NewIndexDefinition(t interface {
mock.TestingT
Cleanup(func())
}) *IndexDefinition
NewIndexDefinition creates a new instance of IndexDefinition. 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 (*IndexDefinition) Algorithm ¶
func (_m *IndexDefinition) Algorithm(algorithm string) schema.IndexDefinition
Algorithm provides a mock function with given fields: algorithm
func (*IndexDefinition) Deferrable ¶
func (_m *IndexDefinition) Deferrable() schema.IndexDefinition
Deferrable provides a mock function with no fields
func (*IndexDefinition) EXPECT ¶
func (_m *IndexDefinition) EXPECT() *IndexDefinition_Expecter
func (*IndexDefinition) InitiallyImmediate ¶
func (_m *IndexDefinition) InitiallyImmediate() schema.IndexDefinition
InitiallyImmediate provides a mock function with no fields
func (*IndexDefinition) Language ¶
func (_m *IndexDefinition) Language(name string) schema.IndexDefinition
Language provides a mock function with given fields: name
func (*IndexDefinition) Name ¶
func (_m *IndexDefinition) Name(name string) schema.IndexDefinition
Name provides a mock function with given fields: name
type IndexDefinition_Algorithm_Call ¶
IndexDefinition_Algorithm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Algorithm'
func (*IndexDefinition_Algorithm_Call) Return ¶
func (_c *IndexDefinition_Algorithm_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_Algorithm_Call
func (*IndexDefinition_Algorithm_Call) Run ¶
func (_c *IndexDefinition_Algorithm_Call) Run(run func(algorithm string)) *IndexDefinition_Algorithm_Call
func (*IndexDefinition_Algorithm_Call) RunAndReturn ¶
func (_c *IndexDefinition_Algorithm_Call) RunAndReturn(run func(string) schema.IndexDefinition) *IndexDefinition_Algorithm_Call
type IndexDefinition_Deferrable_Call ¶
IndexDefinition_Deferrable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deferrable'
func (*IndexDefinition_Deferrable_Call) Return ¶
func (_c *IndexDefinition_Deferrable_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_Deferrable_Call
func (*IndexDefinition_Deferrable_Call) Run ¶
func (_c *IndexDefinition_Deferrable_Call) Run(run func()) *IndexDefinition_Deferrable_Call
func (*IndexDefinition_Deferrable_Call) RunAndReturn ¶
func (_c *IndexDefinition_Deferrable_Call) RunAndReturn(run func() schema.IndexDefinition) *IndexDefinition_Deferrable_Call
type IndexDefinition_Expecter ¶
type IndexDefinition_Expecter struct {
// contains filtered or unexported fields
}
func (*IndexDefinition_Expecter) Algorithm ¶
func (_e *IndexDefinition_Expecter) Algorithm(algorithm interface{}) *IndexDefinition_Algorithm_Call
Algorithm is a helper method to define mock.On call
- algorithm string
func (*IndexDefinition_Expecter) Deferrable ¶
func (_e *IndexDefinition_Expecter) Deferrable() *IndexDefinition_Deferrable_Call
Deferrable is a helper method to define mock.On call
func (*IndexDefinition_Expecter) InitiallyImmediate ¶
func (_e *IndexDefinition_Expecter) InitiallyImmediate() *IndexDefinition_InitiallyImmediate_Call
InitiallyImmediate is a helper method to define mock.On call
func (*IndexDefinition_Expecter) Language ¶
func (_e *IndexDefinition_Expecter) Language(name interface{}) *IndexDefinition_Language_Call
Language is a helper method to define mock.On call
- name string
func (*IndexDefinition_Expecter) Name ¶
func (_e *IndexDefinition_Expecter) Name(name interface{}) *IndexDefinition_Name_Call
Name is a helper method to define mock.On call
- name string
type IndexDefinition_InitiallyImmediate_Call ¶
IndexDefinition_InitiallyImmediate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitiallyImmediate'
func (*IndexDefinition_InitiallyImmediate_Call) Return ¶
func (_c *IndexDefinition_InitiallyImmediate_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_InitiallyImmediate_Call
func (*IndexDefinition_InitiallyImmediate_Call) Run ¶
func (_c *IndexDefinition_InitiallyImmediate_Call) Run(run func()) *IndexDefinition_InitiallyImmediate_Call
func (*IndexDefinition_InitiallyImmediate_Call) RunAndReturn ¶
func (_c *IndexDefinition_InitiallyImmediate_Call) RunAndReturn(run func() schema.IndexDefinition) *IndexDefinition_InitiallyImmediate_Call
type IndexDefinition_Language_Call ¶
IndexDefinition_Language_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Language'
func (*IndexDefinition_Language_Call) Return ¶
func (_c *IndexDefinition_Language_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_Language_Call
func (*IndexDefinition_Language_Call) Run ¶
func (_c *IndexDefinition_Language_Call) Run(run func(name string)) *IndexDefinition_Language_Call
func (*IndexDefinition_Language_Call) RunAndReturn ¶
func (_c *IndexDefinition_Language_Call) RunAndReturn(run func(string) schema.IndexDefinition) *IndexDefinition_Language_Call
type IndexDefinition_Name_Call ¶
IndexDefinition_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*IndexDefinition_Name_Call) Return ¶
func (_c *IndexDefinition_Name_Call) Return(_a0 schema.IndexDefinition) *IndexDefinition_Name_Call
func (*IndexDefinition_Name_Call) Run ¶
func (_c *IndexDefinition_Name_Call) Run(run func(name string)) *IndexDefinition_Name_Call
func (*IndexDefinition_Name_Call) RunAndReturn ¶
func (_c *IndexDefinition_Name_Call) RunAndReturn(run func(string) schema.IndexDefinition) *IndexDefinition_Name_Call
type Migration ¶
Migration is an autogenerated mock type for the Migration type
func NewMigration ¶
NewMigration creates a new instance of Migration. 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 (*Migration) EXPECT ¶
func (_m *Migration) EXPECT() *Migration_Expecter
type Migration_Down_Call ¶
Migration_Down_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Down'
func (*Migration_Down_Call) Return ¶
func (_c *Migration_Down_Call) Return(_a0 error) *Migration_Down_Call
func (*Migration_Down_Call) Run ¶
func (_c *Migration_Down_Call) Run(run func()) *Migration_Down_Call
func (*Migration_Down_Call) RunAndReturn ¶
func (_c *Migration_Down_Call) RunAndReturn(run func() error) *Migration_Down_Call
type Migration_Expecter ¶
type Migration_Expecter struct {
// contains filtered or unexported fields
}
func (*Migration_Expecter) Down ¶
func (_e *Migration_Expecter) Down() *Migration_Down_Call
Down is a helper method to define mock.On call
func (*Migration_Expecter) Signature ¶
func (_e *Migration_Expecter) Signature() *Migration_Signature_Call
Signature is a helper method to define mock.On call
func (*Migration_Expecter) Up ¶
func (_e *Migration_Expecter) Up() *Migration_Up_Call
Up is a helper method to define mock.On call
type Migration_Signature_Call ¶
Migration_Signature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Signature'
func (*Migration_Signature_Call) Return ¶
func (_c *Migration_Signature_Call) Return(_a0 string) *Migration_Signature_Call
func (*Migration_Signature_Call) Run ¶
func (_c *Migration_Signature_Call) Run(run func()) *Migration_Signature_Call
func (*Migration_Signature_Call) RunAndReturn ¶
func (_c *Migration_Signature_Call) RunAndReturn(run func() string) *Migration_Signature_Call
type Migration_Up_Call ¶
Migration_Up_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Up'
func (*Migration_Up_Call) Return ¶
func (_c *Migration_Up_Call) Return(_a0 error) *Migration_Up_Call
func (*Migration_Up_Call) Run ¶
func (_c *Migration_Up_Call) Run(run func()) *Migration_Up_Call
func (*Migration_Up_Call) RunAndReturn ¶
func (_c *Migration_Up_Call) RunAndReturn(run func() error) *Migration_Up_Call
type Processor ¶
Processor is an autogenerated mock type for the Processor type
func NewProcessor ¶
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 ¶
ProcessColumns provides a mock function with given fields: dbColumns
func (*Processor) ProcessForeignKeys ¶
func (_m *Processor) ProcessForeignKeys(dbIndexes []schema.DBForeignKey) []schema.ForeignKey
ProcessForeignKeys provides a mock function with given fields: dbIndexes
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 []schema.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 []schema.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 []schema.DBIndex
type Processor_ProcessColumns_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 (_c *Processor_ProcessColumns_Call) Return(_a0 []schema.Column) *Processor_ProcessColumns_Call
func (*Processor_ProcessColumns_Call) Run ¶
func (_c *Processor_ProcessColumns_Call) Run(run func(dbColumns []schema.DBColumn)) *Processor_ProcessColumns_Call
func (*Processor_ProcessColumns_Call) RunAndReturn ¶
func (_c *Processor_ProcessColumns_Call) RunAndReturn(run func([]schema.DBColumn) []schema.Column) *Processor_ProcessColumns_Call
type Processor_ProcessForeignKeys_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 (_c *Processor_ProcessForeignKeys_Call) Return(_a0 []schema.ForeignKey) *Processor_ProcessForeignKeys_Call
func (*Processor_ProcessForeignKeys_Call) Run ¶
func (_c *Processor_ProcessForeignKeys_Call) Run(run func(dbIndexes []schema.DBForeignKey)) *Processor_ProcessForeignKeys_Call
func (*Processor_ProcessForeignKeys_Call) RunAndReturn ¶
func (_c *Processor_ProcessForeignKeys_Call) RunAndReturn(run func([]schema.DBForeignKey) []schema.ForeignKey) *Processor_ProcessForeignKeys_Call
type Processor_ProcessIndexes_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 (_c *Processor_ProcessIndexes_Call) Return(_a0 []schema.Index) *Processor_ProcessIndexes_Call
func (*Processor_ProcessIndexes_Call) Run ¶
func (_c *Processor_ProcessIndexes_Call) Run(run func(dbIndexes []schema.DBIndex)) *Processor_ProcessIndexes_Call
func (*Processor_ProcessIndexes_Call) RunAndReturn ¶
func (_c *Processor_ProcessIndexes_Call) RunAndReturn(run func([]schema.DBIndex) []schema.Index) *Processor_ProcessIndexes_Call
type Schema ¶
Schema is an autogenerated mock type for the Schema type
func NewSchema ¶
NewSchema creates a new instance of Schema. 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 (*Schema) Connection ¶
Connection provides a mock function with given fields: name
func (*Schema) DropAllTables ¶
DropAllTables provides a mock function with no fields
func (*Schema) DropAllTypes ¶
DropAllTypes provides a mock function with no fields
func (*Schema) DropAllViews ¶
DropAllViews provides a mock function with no fields
func (*Schema) DropColumns ¶
DropColumns provides a mock function with given fields: table, columns
func (*Schema) DropIfExists ¶
DropIfExists provides a mock function with given fields: table
func (*Schema) EXPECT ¶
func (_m *Schema) EXPECT() *Schema_Expecter
func (*Schema) GetColumnListing ¶
GetColumnListing provides a mock function with given fields: table
func (*Schema) GetColumns ¶
GetColumns provides a mock function with given fields: table
func (*Schema) GetConnection ¶
GetConnection provides a mock function with no fields
func (*Schema) GetForeignKeys ¶
func (_m *Schema) GetForeignKeys(table string) ([]schema.ForeignKey, error)
GetForeignKeys provides a mock function with given fields: table
func (*Schema) GetIndexListing ¶
GetIndexListing provides a mock function with given fields: table
func (*Schema) GetIndexes ¶
GetIndexes provides a mock function with given fields: table
func (*Schema) GetTableListing ¶
GetTableListing provides a mock function with no fields
func (*Schema) HasColumns ¶
HasColumns provides a mock function with given fields: table, columns
func (*Schema) Migrations ¶
Migrations provides a mock function with no fields
func (*Schema) SetConnection ¶
SetConnection provides a mock function with given fields: name
type Schema_Connection_Call ¶
Schema_Connection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connection'
func (*Schema_Connection_Call) Return ¶
func (_c *Schema_Connection_Call) Return(_a0 schema.Schema) *Schema_Connection_Call
func (*Schema_Connection_Call) Run ¶
func (_c *Schema_Connection_Call) Run(run func(name string)) *Schema_Connection_Call
func (*Schema_Connection_Call) RunAndReturn ¶
func (_c *Schema_Connection_Call) RunAndReturn(run func(string) schema.Schema) *Schema_Connection_Call
type Schema_Create_Call ¶
Schema_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Schema_Create_Call) Return ¶
func (_c *Schema_Create_Call) Return(_a0 error) *Schema_Create_Call
func (*Schema_Create_Call) Run ¶
func (_c *Schema_Create_Call) Run(run func(table string, callback func(schema.Blueprint))) *Schema_Create_Call
func (*Schema_Create_Call) RunAndReturn ¶
func (_c *Schema_Create_Call) RunAndReturn(run func(string, func(schema.Blueprint)) error) *Schema_Create_Call
type Schema_DropAllTables_Call ¶
Schema_DropAllTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropAllTables'
func (*Schema_DropAllTables_Call) Return ¶
func (_c *Schema_DropAllTables_Call) Return(_a0 error) *Schema_DropAllTables_Call
func (*Schema_DropAllTables_Call) Run ¶
func (_c *Schema_DropAllTables_Call) Run(run func()) *Schema_DropAllTables_Call
func (*Schema_DropAllTables_Call) RunAndReturn ¶
func (_c *Schema_DropAllTables_Call) RunAndReturn(run func() error) *Schema_DropAllTables_Call
type Schema_DropAllTypes_Call ¶
Schema_DropAllTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropAllTypes'
func (*Schema_DropAllTypes_Call) Return ¶
func (_c *Schema_DropAllTypes_Call) Return(_a0 error) *Schema_DropAllTypes_Call
func (*Schema_DropAllTypes_Call) Run ¶
func (_c *Schema_DropAllTypes_Call) Run(run func()) *Schema_DropAllTypes_Call
func (*Schema_DropAllTypes_Call) RunAndReturn ¶
func (_c *Schema_DropAllTypes_Call) RunAndReturn(run func() error) *Schema_DropAllTypes_Call
type Schema_DropAllViews_Call ¶
Schema_DropAllViews_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropAllViews'
func (*Schema_DropAllViews_Call) Return ¶
func (_c *Schema_DropAllViews_Call) Return(_a0 error) *Schema_DropAllViews_Call
func (*Schema_DropAllViews_Call) Run ¶
func (_c *Schema_DropAllViews_Call) Run(run func()) *Schema_DropAllViews_Call
func (*Schema_DropAllViews_Call) RunAndReturn ¶
func (_c *Schema_DropAllViews_Call) RunAndReturn(run func() error) *Schema_DropAllViews_Call
type Schema_DropColumns_Call ¶
Schema_DropColumns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropColumns'
func (*Schema_DropColumns_Call) Return ¶
func (_c *Schema_DropColumns_Call) Return(_a0 error) *Schema_DropColumns_Call
func (*Schema_DropColumns_Call) Run ¶
func (_c *Schema_DropColumns_Call) Run(run func(table string, columns []string)) *Schema_DropColumns_Call
func (*Schema_DropColumns_Call) RunAndReturn ¶
func (_c *Schema_DropColumns_Call) RunAndReturn(run func(string, []string) error) *Schema_DropColumns_Call
type Schema_DropIfExists_Call ¶
Schema_DropIfExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropIfExists'
func (*Schema_DropIfExists_Call) Return ¶
func (_c *Schema_DropIfExists_Call) Return(_a0 error) *Schema_DropIfExists_Call
func (*Schema_DropIfExists_Call) Run ¶
func (_c *Schema_DropIfExists_Call) Run(run func(table string)) *Schema_DropIfExists_Call
func (*Schema_DropIfExists_Call) RunAndReturn ¶
func (_c *Schema_DropIfExists_Call) RunAndReturn(run func(string) error) *Schema_DropIfExists_Call
type Schema_Drop_Call ¶
Schema_Drop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Drop'
func (*Schema_Drop_Call) Return ¶
func (_c *Schema_Drop_Call) Return(_a0 error) *Schema_Drop_Call
func (*Schema_Drop_Call) Run ¶
func (_c *Schema_Drop_Call) Run(run func(table string)) *Schema_Drop_Call
func (*Schema_Drop_Call) RunAndReturn ¶
func (_c *Schema_Drop_Call) RunAndReturn(run func(string) error) *Schema_Drop_Call
type Schema_Expecter ¶
type Schema_Expecter struct {
// contains filtered or unexported fields
}
func (*Schema_Expecter) Connection ¶
func (_e *Schema_Expecter) Connection(name interface{}) *Schema_Connection_Call
Connection is a helper method to define mock.On call
- name string
func (*Schema_Expecter) Create ¶
func (_e *Schema_Expecter) Create(table interface{}, callback interface{}) *Schema_Create_Call
Create is a helper method to define mock.On call
- table string
- callback func(schema.Blueprint)
func (*Schema_Expecter) Drop ¶
func (_e *Schema_Expecter) Drop(table interface{}) *Schema_Drop_Call
Drop is a helper method to define mock.On call
- table string
func (*Schema_Expecter) DropAllTables ¶
func (_e *Schema_Expecter) DropAllTables() *Schema_DropAllTables_Call
DropAllTables is a helper method to define mock.On call
func (*Schema_Expecter) DropAllTypes ¶
func (_e *Schema_Expecter) DropAllTypes() *Schema_DropAllTypes_Call
DropAllTypes is a helper method to define mock.On call
func (*Schema_Expecter) DropAllViews ¶
func (_e *Schema_Expecter) DropAllViews() *Schema_DropAllViews_Call
DropAllViews is a helper method to define mock.On call
func (*Schema_Expecter) DropColumns ¶
func (_e *Schema_Expecter) DropColumns(table interface{}, columns interface{}) *Schema_DropColumns_Call
DropColumns is a helper method to define mock.On call
- table string
- columns []string
func (*Schema_Expecter) DropIfExists ¶
func (_e *Schema_Expecter) DropIfExists(table interface{}) *Schema_DropIfExists_Call
DropIfExists is a helper method to define mock.On call
- table string
func (*Schema_Expecter) GetColumnListing ¶
func (_e *Schema_Expecter) GetColumnListing(table interface{}) *Schema_GetColumnListing_Call
GetColumnListing is a helper method to define mock.On call
- table string
func (*Schema_Expecter) GetColumns ¶
func (_e *Schema_Expecter) GetColumns(table interface{}) *Schema_GetColumns_Call
GetColumns is a helper method to define mock.On call
- table string
func (*Schema_Expecter) GetConnection ¶
func (_e *Schema_Expecter) GetConnection() *Schema_GetConnection_Call
GetConnection is a helper method to define mock.On call
func (*Schema_Expecter) GetForeignKeys ¶
func (_e *Schema_Expecter) GetForeignKeys(table interface{}) *Schema_GetForeignKeys_Call
GetForeignKeys is a helper method to define mock.On call
- table string
func (*Schema_Expecter) GetIndexListing ¶
func (_e *Schema_Expecter) GetIndexListing(table interface{}) *Schema_GetIndexListing_Call
GetIndexListing is a helper method to define mock.On call
- table string
func (*Schema_Expecter) GetIndexes ¶
func (_e *Schema_Expecter) GetIndexes(table interface{}) *Schema_GetIndexes_Call
GetIndexes is a helper method to define mock.On call
- table string
func (*Schema_Expecter) GetTableListing ¶
func (_e *Schema_Expecter) GetTableListing() *Schema_GetTableListing_Call
GetTableListing is a helper method to define mock.On call
func (*Schema_Expecter) GetTables ¶
func (_e *Schema_Expecter) GetTables() *Schema_GetTables_Call
GetTables is a helper method to define mock.On call
func (*Schema_Expecter) GetTypes ¶
func (_e *Schema_Expecter) GetTypes() *Schema_GetTypes_Call
GetTypes is a helper method to define mock.On call
func (*Schema_Expecter) GetViews ¶
func (_e *Schema_Expecter) GetViews() *Schema_GetViews_Call
GetViews is a helper method to define mock.On call
func (*Schema_Expecter) HasColumn ¶
func (_e *Schema_Expecter) HasColumn(table interface{}, column interface{}) *Schema_HasColumn_Call
HasColumn is a helper method to define mock.On call
- table string
- column string
func (*Schema_Expecter) HasColumns ¶
func (_e *Schema_Expecter) HasColumns(table interface{}, columns interface{}) *Schema_HasColumns_Call
HasColumns is a helper method to define mock.On call
- table string
- columns []string
func (*Schema_Expecter) HasIndex ¶
func (_e *Schema_Expecter) HasIndex(table interface{}, index interface{}) *Schema_HasIndex_Call
HasIndex is a helper method to define mock.On call
- table string
- index string
func (*Schema_Expecter) HasTable ¶
func (_e *Schema_Expecter) HasTable(name interface{}) *Schema_HasTable_Call
HasTable is a helper method to define mock.On call
- name string
func (*Schema_Expecter) HasType ¶
func (_e *Schema_Expecter) HasType(name interface{}) *Schema_HasType_Call
HasType is a helper method to define mock.On call
- name string
func (*Schema_Expecter) HasView ¶
func (_e *Schema_Expecter) HasView(name interface{}) *Schema_HasView_Call
HasView is a helper method to define mock.On call
- name string
func (*Schema_Expecter) Migrations ¶
func (_e *Schema_Expecter) Migrations() *Schema_Migrations_Call
Migrations is a helper method to define mock.On call
func (*Schema_Expecter) Orm ¶
func (_e *Schema_Expecter) Orm() *Schema_Orm_Call
Orm is a helper method to define mock.On call
func (*Schema_Expecter) Register ¶
func (_e *Schema_Expecter) Register(_a0 interface{}) *Schema_Register_Call
Register is a helper method to define mock.On call
- _a0 []schema.Migration
func (*Schema_Expecter) Rename ¶
func (_e *Schema_Expecter) Rename(from interface{}, to interface{}) *Schema_Rename_Call
Rename is a helper method to define mock.On call
- from string
- to string
func (*Schema_Expecter) SetConnection ¶
func (_e *Schema_Expecter) SetConnection(name interface{}) *Schema_SetConnection_Call
SetConnection is a helper method to define mock.On call
- name string
func (*Schema_Expecter) Sql ¶
func (_e *Schema_Expecter) Sql(sql interface{}) *Schema_Sql_Call
Sql is a helper method to define mock.On call
- sql string
func (*Schema_Expecter) Table ¶
func (_e *Schema_Expecter) Table(table interface{}, callback interface{}) *Schema_Table_Call
Table is a helper method to define mock.On call
- table string
- callback func(schema.Blueprint)
type Schema_GetColumnListing_Call ¶
Schema_GetColumnListing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetColumnListing'
func (*Schema_GetColumnListing_Call) Return ¶
func (_c *Schema_GetColumnListing_Call) Return(_a0 []string) *Schema_GetColumnListing_Call
func (*Schema_GetColumnListing_Call) Run ¶
func (_c *Schema_GetColumnListing_Call) Run(run func(table string)) *Schema_GetColumnListing_Call
func (*Schema_GetColumnListing_Call) RunAndReturn ¶
func (_c *Schema_GetColumnListing_Call) RunAndReturn(run func(string) []string) *Schema_GetColumnListing_Call
type Schema_GetColumns_Call ¶
Schema_GetColumns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetColumns'
func (*Schema_GetColumns_Call) Return ¶
func (_c *Schema_GetColumns_Call) Return(_a0 []schema.Column, _a1 error) *Schema_GetColumns_Call
func (*Schema_GetColumns_Call) Run ¶
func (_c *Schema_GetColumns_Call) Run(run func(table string)) *Schema_GetColumns_Call
func (*Schema_GetColumns_Call) RunAndReturn ¶
func (_c *Schema_GetColumns_Call) RunAndReturn(run func(string) ([]schema.Column, error)) *Schema_GetColumns_Call
type Schema_GetConnection_Call ¶
Schema_GetConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConnection'
func (*Schema_GetConnection_Call) Return ¶
func (_c *Schema_GetConnection_Call) Return(_a0 string) *Schema_GetConnection_Call
func (*Schema_GetConnection_Call) Run ¶
func (_c *Schema_GetConnection_Call) Run(run func()) *Schema_GetConnection_Call
func (*Schema_GetConnection_Call) RunAndReturn ¶
func (_c *Schema_GetConnection_Call) RunAndReturn(run func() string) *Schema_GetConnection_Call
type Schema_GetForeignKeys_Call ¶
Schema_GetForeignKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForeignKeys'
func (*Schema_GetForeignKeys_Call) Return ¶
func (_c *Schema_GetForeignKeys_Call) Return(_a0 []schema.ForeignKey, _a1 error) *Schema_GetForeignKeys_Call
func (*Schema_GetForeignKeys_Call) Run ¶
func (_c *Schema_GetForeignKeys_Call) Run(run func(table string)) *Schema_GetForeignKeys_Call
func (*Schema_GetForeignKeys_Call) RunAndReturn ¶
func (_c *Schema_GetForeignKeys_Call) RunAndReturn(run func(string) ([]schema.ForeignKey, error)) *Schema_GetForeignKeys_Call
type Schema_GetIndexListing_Call ¶
Schema_GetIndexListing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndexListing'
func (*Schema_GetIndexListing_Call) Return ¶
func (_c *Schema_GetIndexListing_Call) Return(_a0 []string) *Schema_GetIndexListing_Call
func (*Schema_GetIndexListing_Call) Run ¶
func (_c *Schema_GetIndexListing_Call) Run(run func(table string)) *Schema_GetIndexListing_Call
func (*Schema_GetIndexListing_Call) RunAndReturn ¶
func (_c *Schema_GetIndexListing_Call) RunAndReturn(run func(string) []string) *Schema_GetIndexListing_Call
type Schema_GetIndexes_Call ¶
Schema_GetIndexes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIndexes'
func (*Schema_GetIndexes_Call) Return ¶
func (_c *Schema_GetIndexes_Call) Return(_a0 []schema.Index, _a1 error) *Schema_GetIndexes_Call
func (*Schema_GetIndexes_Call) Run ¶
func (_c *Schema_GetIndexes_Call) Run(run func(table string)) *Schema_GetIndexes_Call
func (*Schema_GetIndexes_Call) RunAndReturn ¶
func (_c *Schema_GetIndexes_Call) RunAndReturn(run func(string) ([]schema.Index, error)) *Schema_GetIndexes_Call
type Schema_GetTableListing_Call ¶
Schema_GetTableListing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTableListing'
func (*Schema_GetTableListing_Call) Return ¶
func (_c *Schema_GetTableListing_Call) Return(_a0 []string) *Schema_GetTableListing_Call
func (*Schema_GetTableListing_Call) Run ¶
func (_c *Schema_GetTableListing_Call) Run(run func()) *Schema_GetTableListing_Call
func (*Schema_GetTableListing_Call) RunAndReturn ¶
func (_c *Schema_GetTableListing_Call) RunAndReturn(run func() []string) *Schema_GetTableListing_Call
type Schema_GetTables_Call ¶
Schema_GetTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTables'
func (*Schema_GetTables_Call) Return ¶
func (_c *Schema_GetTables_Call) Return(_a0 []schema.Table, _a1 error) *Schema_GetTables_Call
func (*Schema_GetTables_Call) Run ¶
func (_c *Schema_GetTables_Call) Run(run func()) *Schema_GetTables_Call
func (*Schema_GetTables_Call) RunAndReturn ¶
func (_c *Schema_GetTables_Call) RunAndReturn(run func() ([]schema.Table, error)) *Schema_GetTables_Call
type Schema_GetTypes_Call ¶
Schema_GetTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTypes'
func (*Schema_GetTypes_Call) Return ¶
func (_c *Schema_GetTypes_Call) Return(_a0 []schema.Type, _a1 error) *Schema_GetTypes_Call
func (*Schema_GetTypes_Call) Run ¶
func (_c *Schema_GetTypes_Call) Run(run func()) *Schema_GetTypes_Call
func (*Schema_GetTypes_Call) RunAndReturn ¶
func (_c *Schema_GetTypes_Call) RunAndReturn(run func() ([]schema.Type, error)) *Schema_GetTypes_Call
type Schema_GetViews_Call ¶
Schema_GetViews_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetViews'
func (*Schema_GetViews_Call) Return ¶
func (_c *Schema_GetViews_Call) Return(_a0 []schema.View, _a1 error) *Schema_GetViews_Call
func (*Schema_GetViews_Call) Run ¶
func (_c *Schema_GetViews_Call) Run(run func()) *Schema_GetViews_Call
func (*Schema_GetViews_Call) RunAndReturn ¶
func (_c *Schema_GetViews_Call) RunAndReturn(run func() ([]schema.View, error)) *Schema_GetViews_Call
type Schema_HasColumn_Call ¶
Schema_HasColumn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasColumn'
func (*Schema_HasColumn_Call) Return ¶
func (_c *Schema_HasColumn_Call) Return(_a0 bool) *Schema_HasColumn_Call
func (*Schema_HasColumn_Call) Run ¶
func (_c *Schema_HasColumn_Call) Run(run func(table string, column string)) *Schema_HasColumn_Call
func (*Schema_HasColumn_Call) RunAndReturn ¶
func (_c *Schema_HasColumn_Call) RunAndReturn(run func(string, string) bool) *Schema_HasColumn_Call
type Schema_HasColumns_Call ¶
Schema_HasColumns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasColumns'
func (*Schema_HasColumns_Call) Return ¶
func (_c *Schema_HasColumns_Call) Return(_a0 bool) *Schema_HasColumns_Call
func (*Schema_HasColumns_Call) Run ¶
func (_c *Schema_HasColumns_Call) Run(run func(table string, columns []string)) *Schema_HasColumns_Call
func (*Schema_HasColumns_Call) RunAndReturn ¶
func (_c *Schema_HasColumns_Call) RunAndReturn(run func(string, []string) bool) *Schema_HasColumns_Call
type Schema_HasIndex_Call ¶
Schema_HasIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasIndex'
func (*Schema_HasIndex_Call) Return ¶
func (_c *Schema_HasIndex_Call) Return(_a0 bool) *Schema_HasIndex_Call
func (*Schema_HasIndex_Call) Run ¶
func (_c *Schema_HasIndex_Call) Run(run func(table string, index string)) *Schema_HasIndex_Call
func (*Schema_HasIndex_Call) RunAndReturn ¶
func (_c *Schema_HasIndex_Call) RunAndReturn(run func(string, string) bool) *Schema_HasIndex_Call
type Schema_HasTable_Call ¶
Schema_HasTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasTable'
func (*Schema_HasTable_Call) Return ¶
func (_c *Schema_HasTable_Call) Return(_a0 bool) *Schema_HasTable_Call
func (*Schema_HasTable_Call) Run ¶
func (_c *Schema_HasTable_Call) Run(run func(name string)) *Schema_HasTable_Call
func (*Schema_HasTable_Call) RunAndReturn ¶
func (_c *Schema_HasTable_Call) RunAndReturn(run func(string) bool) *Schema_HasTable_Call
type Schema_HasType_Call ¶
Schema_HasType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasType'
func (*Schema_HasType_Call) Return ¶
func (_c *Schema_HasType_Call) Return(_a0 bool) *Schema_HasType_Call
func (*Schema_HasType_Call) Run ¶
func (_c *Schema_HasType_Call) Run(run func(name string)) *Schema_HasType_Call
func (*Schema_HasType_Call) RunAndReturn ¶
func (_c *Schema_HasType_Call) RunAndReturn(run func(string) bool) *Schema_HasType_Call
type Schema_HasView_Call ¶
Schema_HasView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasView'
func (*Schema_HasView_Call) Return ¶
func (_c *Schema_HasView_Call) Return(_a0 bool) *Schema_HasView_Call
func (*Schema_HasView_Call) Run ¶
func (_c *Schema_HasView_Call) Run(run func(name string)) *Schema_HasView_Call
func (*Schema_HasView_Call) RunAndReturn ¶
func (_c *Schema_HasView_Call) RunAndReturn(run func(string) bool) *Schema_HasView_Call
type Schema_Migrations_Call ¶
Schema_Migrations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Migrations'
func (*Schema_Migrations_Call) Return ¶
func (_c *Schema_Migrations_Call) Return(_a0 []schema.Migration) *Schema_Migrations_Call
func (*Schema_Migrations_Call) Run ¶
func (_c *Schema_Migrations_Call) Run(run func()) *Schema_Migrations_Call
func (*Schema_Migrations_Call) RunAndReturn ¶
func (_c *Schema_Migrations_Call) RunAndReturn(run func() []schema.Migration) *Schema_Migrations_Call
type Schema_Orm_Call ¶
Schema_Orm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Orm'
func (*Schema_Orm_Call) Return ¶
func (_c *Schema_Orm_Call) Return(_a0 orm.Orm) *Schema_Orm_Call
func (*Schema_Orm_Call) Run ¶
func (_c *Schema_Orm_Call) Run(run func()) *Schema_Orm_Call
func (*Schema_Orm_Call) RunAndReturn ¶
func (_c *Schema_Orm_Call) RunAndReturn(run func() orm.Orm) *Schema_Orm_Call
type Schema_Register_Call ¶
Schema_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*Schema_Register_Call) Return ¶
func (_c *Schema_Register_Call) Return() *Schema_Register_Call
func (*Schema_Register_Call) Run ¶
func (_c *Schema_Register_Call) Run(run func(_a0 []schema.Migration)) *Schema_Register_Call
func (*Schema_Register_Call) RunAndReturn ¶
func (_c *Schema_Register_Call) RunAndReturn(run func([]schema.Migration)) *Schema_Register_Call
type Schema_Rename_Call ¶
Schema_Rename_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rename'
func (*Schema_Rename_Call) Return ¶
func (_c *Schema_Rename_Call) Return(_a0 error) *Schema_Rename_Call
func (*Schema_Rename_Call) Run ¶
func (_c *Schema_Rename_Call) Run(run func(from string, to string)) *Schema_Rename_Call
func (*Schema_Rename_Call) RunAndReturn ¶
func (_c *Schema_Rename_Call) RunAndReturn(run func(string, string) error) *Schema_Rename_Call
type Schema_SetConnection_Call ¶
Schema_SetConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConnection'
func (*Schema_SetConnection_Call) Return ¶
func (_c *Schema_SetConnection_Call) Return() *Schema_SetConnection_Call
func (*Schema_SetConnection_Call) Run ¶
func (_c *Schema_SetConnection_Call) Run(run func(name string)) *Schema_SetConnection_Call
func (*Schema_SetConnection_Call) RunAndReturn ¶
func (_c *Schema_SetConnection_Call) RunAndReturn(run func(string)) *Schema_SetConnection_Call
type Schema_Sql_Call ¶
Schema_Sql_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sql'
func (*Schema_Sql_Call) Return ¶
func (_c *Schema_Sql_Call) Return(_a0 error) *Schema_Sql_Call
func (*Schema_Sql_Call) Run ¶
func (_c *Schema_Sql_Call) Run(run func(sql string)) *Schema_Sql_Call
func (*Schema_Sql_Call) RunAndReturn ¶
func (_c *Schema_Sql_Call) RunAndReturn(run func(string) error) *Schema_Sql_Call
type Schema_Table_Call ¶
Schema_Table_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Table'
func (*Schema_Table_Call) Return ¶
func (_c *Schema_Table_Call) Return(_a0 error) *Schema_Table_Call
func (*Schema_Table_Call) Run ¶
func (_c *Schema_Table_Call) Run(run func(table string, callback func(schema.Blueprint))) *Schema_Table_Call
func (*Schema_Table_Call) RunAndReturn ¶
func (_c *Schema_Table_Call) RunAndReturn(run func(string, func(schema.Blueprint)) error) *Schema_Table_Call