Documentation
¶
Index ¶
- type Blueprint
- func (_m *Blueprint) BigIncrements(column string) driver.ColumnDefinition
- func (_m *Blueprint) BigInteger(column string) driver.ColumnDefinition
- func (_m *Blueprint) Boolean(column string) driver.ColumnDefinition
- func (_m *Blueprint) Build(query orm.Query, grammar driver.Grammar) error
- func (_m *Blueprint) Char(column string, length ...int) driver.ColumnDefinition
- func (_m *Blueprint) Column(column string, ttype string) driver.ColumnDefinition
- func (_m *Blueprint) Comment(value string)
- func (_m *Blueprint) Create()
- func (_m *Blueprint) Date(column string) driver.ColumnDefinition
- func (_m *Blueprint) DateTime(column string, precision ...int) driver.ColumnDefinition
- func (_m *Blueprint) DateTimeTz(column string, precision ...int) driver.ColumnDefinition
- func (_m *Blueprint) Decimal(column string) driver.ColumnDefinition
- func (_m *Blueprint) Double(column string) driver.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{}) driver.ColumnDefinition
- func (_m *Blueprint) Float(column string, precision ...int) driver.ColumnDefinition
- func (_m *Blueprint) Foreign(column ...string) schema.ForeignKeyDefinition
- func (_m *Blueprint) FullText(column ...string) schema.IndexDefinition
- func (_m *Blueprint) GetAddedColumns() []driver.ColumnDefinition
- func (_m *Blueprint) GetCommands() []*driver.Command
- func (_m *Blueprint) GetTableName() string
- func (_m *Blueprint) HasCommand(command string) bool
- func (_m *Blueprint) ID(column ...string) driver.ColumnDefinition
- func (_m *Blueprint) Increments(column string) driver.ColumnDefinition
- func (_m *Blueprint) Index(column ...string) schema.IndexDefinition
- func (_m *Blueprint) Integer(column string) driver.ColumnDefinition
- func (_m *Blueprint) IntegerIncrements(column string) driver.ColumnDefinition
- func (_m *Blueprint) Json(column string) driver.ColumnDefinition
- func (_m *Blueprint) Jsonb(column string) driver.ColumnDefinition
- func (_m *Blueprint) LongText(column string) driver.ColumnDefinition
- func (_m *Blueprint) MediumIncrements(column string) driver.ColumnDefinition
- func (_m *Blueprint) MediumInteger(column string) driver.ColumnDefinition
- func (_m *Blueprint) MediumText(column string) driver.ColumnDefinition
- func (_m *Blueprint) Morphs(name string, indexName ...string)
- func (_m *Blueprint) NullableMorphs(name string, indexName ...string)
- func (_m *Blueprint) NumericMorphs(name string, indexName ...string)
- func (_m *Blueprint) Primary(column ...string)
- func (_m *Blueprint) Rename(to string)
- func (_m *Blueprint) RenameColumn(from string, to string)
- func (_m *Blueprint) RenameIndex(from string, to string)
- func (_m *Blueprint) SetTable(name string)
- func (_m *Blueprint) SmallIncrements(column string) driver.ColumnDefinition
- func (_m *Blueprint) SmallInteger(column string) driver.ColumnDefinition
- func (_m *Blueprint) SoftDeletes(column ...string) driver.ColumnDefinition
- func (_m *Blueprint) SoftDeletesTz(column ...string) driver.ColumnDefinition
- func (_m *Blueprint) String(column string, length ...int) driver.ColumnDefinition
- func (_m *Blueprint) Text(column string) driver.ColumnDefinition
- func (_m *Blueprint) Time(column string, precision ...int) driver.ColumnDefinition
- func (_m *Blueprint) TimeTz(column string, precision ...int) driver.ColumnDefinition
- func (_m *Blueprint) Timestamp(column string, precision ...int) driver.ColumnDefinition
- func (_m *Blueprint) TimestampTz(column string, precision ...int) driver.ColumnDefinition
- func (_m *Blueprint) Timestamps(precision ...int)
- func (_m *Blueprint) TimestampsTz(precision ...int)
- func (_m *Blueprint) TinyIncrements(column string) driver.ColumnDefinition
- func (_m *Blueprint) TinyInteger(column string) driver.ColumnDefinition
- func (_m *Blueprint) TinyText(column string) driver.ColumnDefinition
- func (_m *Blueprint) ToSql(grammar driver.Grammar) ([]string, error)
- func (_m *Blueprint) Ulid(column string, length ...int) driver.ColumnDefinition
- func (_m *Blueprint) UlidMorphs(name string, indexName ...string)
- func (_m *Blueprint) Unique(column ...string) schema.IndexDefinition
- func (_m *Blueprint) UnsignedBigInteger(column string) driver.ColumnDefinition
- func (_m *Blueprint) UnsignedInteger(column string) driver.ColumnDefinition
- func (_m *Blueprint) UnsignedMediumInteger(column string) driver.ColumnDefinition
- func (_m *Blueprint) UnsignedSmallInteger(column string) driver.ColumnDefinition
- func (_m *Blueprint) UnsignedTinyInteger(column string) driver.ColumnDefinition
- func (_m *Blueprint) Uuid(column string) driver.ColumnDefinition
- func (_m *Blueprint) UuidMorphs(name string, indexName ...string)
- type Blueprint_BigIncrements_Call
- func (_c *Blueprint_BigIncrements_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_BigIncrements_Call
- type Blueprint_BigInteger_Call
- func (_c *Blueprint_BigInteger_Call) Return(_a0 driver.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) driver.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 driver.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) driver.ColumnDefinition) *Blueprint_Column_Call
- type Blueprint_Comment_Call
- type Blueprint_Create_Call
- type Blueprint_DateTimeTz_Call
- func (_c *Blueprint_DateTimeTz_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_DateTimeTz_Call
- type Blueprint_DateTime_Call
- func (_c *Blueprint_DateTime_Call) Return(_a0 driver.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) driver.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 driver.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{}) driver.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) Comment(value interface{}) *Blueprint_Comment_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) Morphs(name interface{}, indexName ...interface{}) *Blueprint_Morphs_Call
- func (_e *Blueprint_Expecter) NullableMorphs(name interface{}, indexName ...interface{}) *Blueprint_NullableMorphs_Call
- func (_e *Blueprint_Expecter) NumericMorphs(name interface{}, indexName ...interface{}) *Blueprint_NumericMorphs_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) RenameColumn(from interface{}, to interface{}) *Blueprint_RenameColumn_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) Ulid(column interface{}, length ...interface{}) *Blueprint_Ulid_Call
- func (_e *Blueprint_Expecter) UlidMorphs(name interface{}, indexName ...interface{}) *Blueprint_UlidMorphs_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
- func (_e *Blueprint_Expecter) Uuid(column interface{}) *Blueprint_Uuid_Call
- func (_e *Blueprint_Expecter) UuidMorphs(name interface{}, indexName ...interface{}) *Blueprint_UuidMorphs_Call
- type Blueprint_Float_Call
- func (_c *Blueprint_Float_Call) Return(_a0 driver.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) driver.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 []driver.ColumnDefinition) *Blueprint_GetAddedColumns_Call
- func (_c *Blueprint_GetAddedColumns_Call) Run(run func()) *Blueprint_GetAddedColumns_Call
- func (_c *Blueprint_GetAddedColumns_Call) RunAndReturn(run func() []driver.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 driver.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) driver.ColumnDefinition) *Blueprint_Increments_Call
- type Blueprint_Index_Call
- type Blueprint_IntegerIncrements_Call
- func (_c *Blueprint_IntegerIncrements_Call) Return(_a0 driver.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) driver.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 driver.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) driver.ColumnDefinition) *Blueprint_MediumIncrements_Call
- type Blueprint_MediumInteger_Call
- func (_c *Blueprint_MediumInteger_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_MediumInteger_Call
- type Blueprint_MediumText_Call
- func (_c *Blueprint_MediumText_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_MediumText_Call
- type Blueprint_Morphs_Call
- type Blueprint_NullableMorphs_Call
- func (_c *Blueprint_NullableMorphs_Call) Return() *Blueprint_NullableMorphs_Call
- func (_c *Blueprint_NullableMorphs_Call) Run(run func(name string, indexName ...string)) *Blueprint_NullableMorphs_Call
- func (_c *Blueprint_NullableMorphs_Call) RunAndReturn(run func(string, ...string)) *Blueprint_NullableMorphs_Call
- type Blueprint_NumericMorphs_Call
- func (_c *Blueprint_NumericMorphs_Call) Return() *Blueprint_NumericMorphs_Call
- func (_c *Blueprint_NumericMorphs_Call) Run(run func(name string, indexName ...string)) *Blueprint_NumericMorphs_Call
- func (_c *Blueprint_NumericMorphs_Call) RunAndReturn(run func(string, ...string)) *Blueprint_NumericMorphs_Call
- type Blueprint_Primary_Call
- type Blueprint_RenameColumn_Call
- type Blueprint_RenameIndex_Call
- type Blueprint_Rename_Call
- type Blueprint_SetTable_Call
- type Blueprint_SmallIncrements_Call
- func (_c *Blueprint_SmallIncrements_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_SmallIncrements_Call
- type Blueprint_SmallInteger_Call
- func (_c *Blueprint_SmallInteger_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_SmallInteger_Call
- type Blueprint_SoftDeletesTz_Call
- func (_c *Blueprint_SoftDeletesTz_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_SoftDeletesTz_Call
- type Blueprint_SoftDeletes_Call
- func (_c *Blueprint_SoftDeletes_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_SoftDeletes_Call
- type Blueprint_String_Call
- func (_c *Blueprint_String_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_String_Call
- type Blueprint_Text_Call
- type Blueprint_TimeTz_Call
- func (_c *Blueprint_TimeTz_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_TimeTz_Call
- type Blueprint_Time_Call
- func (_c *Blueprint_Time_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_Time_Call
- type Blueprint_TimestampTz_Call
- func (_c *Blueprint_TimestampTz_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_TimestampTz_Call
- type Blueprint_Timestamp_Call
- func (_c *Blueprint_Timestamp_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_Timestamp_Call
- type Blueprint_TimestampsTz_Call
- type Blueprint_Timestamps_Call
- type Blueprint_TinyIncrements_Call
- func (_c *Blueprint_TinyIncrements_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_TinyIncrements_Call
- type Blueprint_TinyInteger_Call
- func (_c *Blueprint_TinyInteger_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_TinyInteger_Call
- type Blueprint_TinyText_Call
- type Blueprint_ToSql_Call
- type Blueprint_UlidMorphs_Call
- type Blueprint_Ulid_Call
- type Blueprint_Unique_Call
- type Blueprint_UnsignedBigInteger_Call
- func (_c *Blueprint_UnsignedBigInteger_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_UnsignedBigInteger_Call
- type Blueprint_UnsignedInteger_Call
- func (_c *Blueprint_UnsignedInteger_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_UnsignedInteger_Call
- type Blueprint_UnsignedMediumInteger_Call
- func (_c *Blueprint_UnsignedMediumInteger_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_UnsignedMediumInteger_Call
- type Blueprint_UnsignedSmallInteger_Call
- func (_c *Blueprint_UnsignedSmallInteger_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_UnsignedSmallInteger_Call
- type Blueprint_UnsignedTinyInteger_Call
- func (_c *Blueprint_UnsignedTinyInteger_Call) Return(_a0 driver.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) driver.ColumnDefinition) *Blueprint_UnsignedTinyInteger_Call
- type Blueprint_UuidMorphs_Call
- type Blueprint_Uuid_Call
- type ColumnType
- type ColumnType_Expecter
- func (_e *ColumnType_Expecter[K, V]) Key() *ColumnType_Key_Call[K, V]
- func (_e *ColumnType_Expecter[K, V]) MarshalJSON() *ColumnType_MarshalJSON_Call[K, V]
- func (_e *ColumnType_Expecter[K, V]) String() *ColumnType_String_Call[K, V]
- func (_e *ColumnType_Expecter[K, V]) Value() *ColumnType_Value_Call[K, V]
- type ColumnType_Key_Call
- type ColumnType_MarshalJSON_Call
- func (_c *ColumnType_MarshalJSON_Call[K, V]) Return(_a0 []byte, _a1 error) *ColumnType_MarshalJSON_Call[K, V]
- func (_c *ColumnType_MarshalJSON_Call[K, V]) Run(run func()) *ColumnType_MarshalJSON_Call[K, V]
- func (_c *ColumnType_MarshalJSON_Call[K, V]) RunAndReturn(run func() ([]byte, error)) *ColumnType_MarshalJSON_Call[K, V]
- type ColumnType_String_Call
- type ColumnType_Value_Call
- type Connection
- type Connection_Connection_Call
- type Connection_Expecter
- 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 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 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) Extend(extend schema.Extension) schema.Schema
- func (_m *Schema) GetColumnListing(table string) []string
- func (_m *Schema) GetColumns(table string) ([]driver.Column, error)
- func (_m *Schema) GetConnection() string
- func (_m *Schema) GetForeignKeys(table string) ([]driver.ForeignKey, error)
- func (_m *Schema) GetIndexListing(table string) []string
- func (_m *Schema) GetIndexes(table string) ([]driver.Index, error)
- func (_m *Schema) GetTableListing() []string
- func (_m *Schema) GetTables() ([]driver.Table, error)
- func (_m *Schema) GetTypes() ([]driver.Type, error)
- func (_m *Schema) GetViews() ([]driver.View, error)
- func (_m *Schema) GoTypes() []schema.GoType
- 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) Prune() error
- 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) Extend(extend interface{}) *Schema_Extend_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) GoTypes() *Schema_GoTypes_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) Prune() *Schema_Prune_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_Extend_Call
- type Schema_GetColumnListing_Call
- type Schema_GetColumns_Call
- type Schema_GetConnection_Call
- type Schema_GetForeignKeys_Call
- func (_c *Schema_GetForeignKeys_Call) Return(_a0 []driver.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) ([]driver.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_GoTypes_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_Prune_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) driver.ColumnDefinition
BigIncrements provides a mock function with given fields: column
func (*Blueprint) BigInteger ¶
func (_m *Blueprint) BigInteger(column string) driver.ColumnDefinition
BigInteger provides a mock function with given fields: column
func (*Blueprint) Boolean ¶ added in v1.15.3
func (_m *Blueprint) Boolean(column string) driver.ColumnDefinition
Boolean provides a mock function with given fields: column
func (*Blueprint) Char ¶
func (_m *Blueprint) Char(column string, length ...int) driver.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) driver.ColumnDefinition
Column provides a mock function with given fields: column, ttype
func (*Blueprint) Comment ¶ added in v1.16.0
Comment provides a mock function with given fields: value
func (*Blueprint) Create ¶
func (_m *Blueprint) Create()
Create provides a mock function with no fields
func (*Blueprint) Date ¶
func (_m *Blueprint) Date(column string) driver.ColumnDefinition
Date provides a mock function with given fields: column
func (*Blueprint) DateTime ¶
func (_m *Blueprint) DateTime(column string, precision ...int) driver.ColumnDefinition
DateTime provides a mock function with given fields: column, precision
func (*Blueprint) DateTimeTz ¶
func (_m *Blueprint) DateTimeTz(column string, precision ...int) driver.ColumnDefinition
DateTimeTz provides a mock function with given fields: column, precision
func (*Blueprint) Decimal ¶
func (_m *Blueprint) Decimal(column string) driver.ColumnDefinition
Decimal provides a mock function with given fields: column
func (*Blueprint) Double ¶
func (_m *Blueprint) Double(column string) driver.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{}) driver.ColumnDefinition
Enum provides a mock function with given fields: column, array
func (*Blueprint) Float ¶
func (_m *Blueprint) Float(column string, precision ...int) driver.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() []driver.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) driver.ColumnDefinition
ID provides a mock function with given fields: column
func (*Blueprint) Increments ¶
func (_m *Blueprint) Increments(column string) driver.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) driver.ColumnDefinition
Integer provides a mock function with given fields: column
func (*Blueprint) IntegerIncrements ¶
func (_m *Blueprint) IntegerIncrements(column string) driver.ColumnDefinition
IntegerIncrements provides a mock function with given fields: column
func (*Blueprint) Json ¶
func (_m *Blueprint) Json(column string) driver.ColumnDefinition
Json provides a mock function with given fields: column
func (*Blueprint) Jsonb ¶
func (_m *Blueprint) Jsonb(column string) driver.ColumnDefinition
Jsonb provides a mock function with given fields: column
func (*Blueprint) LongText ¶
func (_m *Blueprint) LongText(column string) driver.ColumnDefinition
LongText provides a mock function with given fields: column
func (*Blueprint) MediumIncrements ¶
func (_m *Blueprint) MediumIncrements(column string) driver.ColumnDefinition
MediumIncrements provides a mock function with given fields: column
func (*Blueprint) MediumInteger ¶
func (_m *Blueprint) MediumInteger(column string) driver.ColumnDefinition
MediumInteger provides a mock function with given fields: column
func (*Blueprint) MediumText ¶
func (_m *Blueprint) MediumText(column string) driver.ColumnDefinition
MediumText provides a mock function with given fields: column
func (*Blueprint) Morphs ¶ added in v1.16.0
Morphs provides a mock function with given fields: name, indexName
func (*Blueprint) NullableMorphs ¶ added in v1.16.0
NullableMorphs provides a mock function with given fields: name, indexName
func (*Blueprint) NumericMorphs ¶ added in v1.16.0
NumericMorphs provides a mock function with given fields: name, indexName
func (*Blueprint) RenameColumn ¶ added in v1.16.0
RenameColumn provides a mock function with given fields: from, to
func (*Blueprint) RenameIndex ¶
RenameIndex provides a mock function with given fields: from, to
func (*Blueprint) SmallIncrements ¶
func (_m *Blueprint) SmallIncrements(column string) driver.ColumnDefinition
SmallIncrements provides a mock function with given fields: column
func (*Blueprint) SmallInteger ¶
func (_m *Blueprint) SmallInteger(column string) driver.ColumnDefinition
SmallInteger provides a mock function with given fields: column
func (*Blueprint) SoftDeletes ¶
func (_m *Blueprint) SoftDeletes(column ...string) driver.ColumnDefinition
SoftDeletes provides a mock function with given fields: column
func (*Blueprint) SoftDeletesTz ¶
func (_m *Blueprint) SoftDeletesTz(column ...string) driver.ColumnDefinition
SoftDeletesTz provides a mock function with given fields: column
func (*Blueprint) String ¶
func (_m *Blueprint) String(column string, length ...int) driver.ColumnDefinition
String provides a mock function with given fields: column, length
func (*Blueprint) Text ¶
func (_m *Blueprint) Text(column string) driver.ColumnDefinition
Text provides a mock function with given fields: column
func (*Blueprint) Time ¶
func (_m *Blueprint) Time(column string, precision ...int) driver.ColumnDefinition
Time provides a mock function with given fields: column, precision
func (*Blueprint) TimeTz ¶
func (_m *Blueprint) TimeTz(column string, precision ...int) driver.ColumnDefinition
TimeTz provides a mock function with given fields: column, precision
func (*Blueprint) Timestamp ¶
func (_m *Blueprint) Timestamp(column string, precision ...int) driver.ColumnDefinition
Timestamp provides a mock function with given fields: column, precision
func (*Blueprint) TimestampTz ¶
func (_m *Blueprint) TimestampTz(column string, precision ...int) driver.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) driver.ColumnDefinition
TinyIncrements provides a mock function with given fields: column
func (*Blueprint) TinyInteger ¶
func (_m *Blueprint) TinyInteger(column string) driver.ColumnDefinition
TinyInteger provides a mock function with given fields: column
func (*Blueprint) TinyText ¶
func (_m *Blueprint) TinyText(column string) driver.ColumnDefinition
TinyText provides a mock function with given fields: column
func (*Blueprint) Ulid ¶ added in v1.16.0
func (_m *Blueprint) Ulid(column string, length ...int) driver.ColumnDefinition
Ulid provides a mock function with given fields: column, length
func (*Blueprint) UlidMorphs ¶ added in v1.16.0
UlidMorphs provides a mock function with given fields: name, indexName
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) driver.ColumnDefinition
UnsignedBigInteger provides a mock function with given fields: column
func (*Blueprint) UnsignedInteger ¶
func (_m *Blueprint) UnsignedInteger(column string) driver.ColumnDefinition
UnsignedInteger provides a mock function with given fields: column
func (*Blueprint) UnsignedMediumInteger ¶
func (_m *Blueprint) UnsignedMediumInteger(column string) driver.ColumnDefinition
UnsignedMediumInteger provides a mock function with given fields: column
func (*Blueprint) UnsignedSmallInteger ¶
func (_m *Blueprint) UnsignedSmallInteger(column string) driver.ColumnDefinition
UnsignedSmallInteger provides a mock function with given fields: column
func (*Blueprint) UnsignedTinyInteger ¶
func (_m *Blueprint) UnsignedTinyInteger(column string) driver.ColumnDefinition
UnsignedTinyInteger provides a mock function with given fields: column
func (*Blueprint) Uuid ¶ added in v1.16.0
func (_m *Blueprint) Uuid(column string) driver.ColumnDefinition
Uuid provides a mock function with given fields: column
func (*Blueprint) UuidMorphs ¶ added in v1.16.0
UuidMorphs provides a mock function with given fields: name, indexName
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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.Grammar)) *Blueprint_Build_Call
func (*Blueprint_Build_Call) RunAndReturn ¶
func (_c *Blueprint_Build_Call) RunAndReturn(run func(orm.Query, driver.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 driver.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) driver.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 driver.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) driver.ColumnDefinition) *Blueprint_Column_Call
type Blueprint_Comment_Call ¶ added in v1.16.0
Blueprint_Comment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Comment'
func (*Blueprint_Comment_Call) Return ¶ added in v1.16.0
func (_c *Blueprint_Comment_Call) Return() *Blueprint_Comment_Call
func (*Blueprint_Comment_Call) Run ¶ added in v1.16.0
func (_c *Blueprint_Comment_Call) Run(run func(value string)) *Blueprint_Comment_Call
func (*Blueprint_Comment_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Blueprint_Comment_Call) RunAndReturn(run func(string)) *Blueprint_Comment_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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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{}) driver.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 driver.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) Comment ¶ added in v1.16.0
func (_e *Blueprint_Expecter) Comment(value interface{}) *Blueprint_Comment_Call
Comment is a helper method to define mock.On call
- value 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) Morphs ¶ added in v1.16.0
func (_e *Blueprint_Expecter) Morphs(name interface{}, indexName ...interface{}) *Blueprint_Morphs_Call
Morphs is a helper method to define mock.On call
- name string
- indexName ...string
func (*Blueprint_Expecter) NullableMorphs ¶ added in v1.16.0
func (_e *Blueprint_Expecter) NullableMorphs(name interface{}, indexName ...interface{}) *Blueprint_NullableMorphs_Call
NullableMorphs is a helper method to define mock.On call
- name string
- indexName ...string
func (*Blueprint_Expecter) NumericMorphs ¶ added in v1.16.0
func (_e *Blueprint_Expecter) NumericMorphs(name interface{}, indexName ...interface{}) *Blueprint_NumericMorphs_Call
NumericMorphs is a helper method to define mock.On call
- name string
- indexName ...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) RenameColumn ¶ added in v1.16.0
func (_e *Blueprint_Expecter) RenameColumn(from interface{}, to interface{}) *Blueprint_RenameColumn_Call
RenameColumn is a helper method to define mock.On call
- from string
- 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 driver.Grammar
func (*Blueprint_Expecter) Ulid ¶ added in v1.16.0
func (_e *Blueprint_Expecter) Ulid(column interface{}, length ...interface{}) *Blueprint_Ulid_Call
Ulid is a helper method to define mock.On call
- column string
- length ...int
func (*Blueprint_Expecter) UlidMorphs ¶ added in v1.16.0
func (_e *Blueprint_Expecter) UlidMorphs(name interface{}, indexName ...interface{}) *Blueprint_UlidMorphs_Call
UlidMorphs is a helper method to define mock.On call
- name string
- indexName ...string
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
func (*Blueprint_Expecter) Uuid ¶ added in v1.16.0
func (_e *Blueprint_Expecter) Uuid(column interface{}) *Blueprint_Uuid_Call
Uuid is a helper method to define mock.On call
- column string
func (*Blueprint_Expecter) UuidMorphs ¶ added in v1.16.0
func (_e *Blueprint_Expecter) UuidMorphs(name interface{}, indexName ...interface{}) *Blueprint_UuidMorphs_Call
UuidMorphs is a helper method to define mock.On call
- name string
- indexName ...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 driver.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) driver.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 []driver.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() []driver.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 []*driver.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() []*driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.ColumnDefinition) *Blueprint_MediumText_Call
type Blueprint_Morphs_Call ¶ added in v1.16.0
Blueprint_Morphs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Morphs'
func (*Blueprint_Morphs_Call) Return ¶ added in v1.16.0
func (_c *Blueprint_Morphs_Call) Return() *Blueprint_Morphs_Call
func (*Blueprint_Morphs_Call) Run ¶ added in v1.16.0
func (_c *Blueprint_Morphs_Call) Run(run func(name string, indexName ...string)) *Blueprint_Morphs_Call
func (*Blueprint_Morphs_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Blueprint_Morphs_Call) RunAndReturn(run func(string, ...string)) *Blueprint_Morphs_Call
type Blueprint_NullableMorphs_Call ¶ added in v1.16.0
Blueprint_NullableMorphs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NullableMorphs'
func (*Blueprint_NullableMorphs_Call) Return ¶ added in v1.16.0
func (_c *Blueprint_NullableMorphs_Call) Return() *Blueprint_NullableMorphs_Call
func (*Blueprint_NullableMorphs_Call) Run ¶ added in v1.16.0
func (_c *Blueprint_NullableMorphs_Call) Run(run func(name string, indexName ...string)) *Blueprint_NullableMorphs_Call
func (*Blueprint_NullableMorphs_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Blueprint_NullableMorphs_Call) RunAndReturn(run func(string, ...string)) *Blueprint_NullableMorphs_Call
type Blueprint_NumericMorphs_Call ¶ added in v1.16.0
Blueprint_NumericMorphs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NumericMorphs'
func (*Blueprint_NumericMorphs_Call) Return ¶ added in v1.16.0
func (_c *Blueprint_NumericMorphs_Call) Return() *Blueprint_NumericMorphs_Call
func (*Blueprint_NumericMorphs_Call) Run ¶ added in v1.16.0
func (_c *Blueprint_NumericMorphs_Call) Run(run func(name string, indexName ...string)) *Blueprint_NumericMorphs_Call
func (*Blueprint_NumericMorphs_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Blueprint_NumericMorphs_Call) RunAndReturn(run func(string, ...string)) *Blueprint_NumericMorphs_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_RenameColumn_Call ¶ added in v1.16.0
Blueprint_RenameColumn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenameColumn'
func (*Blueprint_RenameColumn_Call) Return ¶ added in v1.16.0
func (_c *Blueprint_RenameColumn_Call) Return() *Blueprint_RenameColumn_Call
func (*Blueprint_RenameColumn_Call) Run ¶ added in v1.16.0
func (_c *Blueprint_RenameColumn_Call) Run(run func(from string, to string)) *Blueprint_RenameColumn_Call
func (*Blueprint_RenameColumn_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Blueprint_RenameColumn_Call) RunAndReturn(run func(string, string)) *Blueprint_RenameColumn_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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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, _a1 error) *Blueprint_ToSql_Call
func (*Blueprint_ToSql_Call) Run ¶
func (_c *Blueprint_ToSql_Call) Run(run func(grammar driver.Grammar)) *Blueprint_ToSql_Call
func (*Blueprint_ToSql_Call) RunAndReturn ¶
func (_c *Blueprint_ToSql_Call) RunAndReturn(run func(driver.Grammar) ([]string, error)) *Blueprint_ToSql_Call
type Blueprint_UlidMorphs_Call ¶ added in v1.16.0
Blueprint_UlidMorphs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UlidMorphs'
func (*Blueprint_UlidMorphs_Call) Return ¶ added in v1.16.0
func (_c *Blueprint_UlidMorphs_Call) Return() *Blueprint_UlidMorphs_Call
func (*Blueprint_UlidMorphs_Call) Run ¶ added in v1.16.0
func (_c *Blueprint_UlidMorphs_Call) Run(run func(name string, indexName ...string)) *Blueprint_UlidMorphs_Call
func (*Blueprint_UlidMorphs_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Blueprint_UlidMorphs_Call) RunAndReturn(run func(string, ...string)) *Blueprint_UlidMorphs_Call
type Blueprint_Ulid_Call ¶ added in v1.16.0
Blueprint_Ulid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ulid'
func (*Blueprint_Ulid_Call) Return ¶ added in v1.16.0
func (_c *Blueprint_Ulid_Call) Return(_a0 driver.ColumnDefinition) *Blueprint_Ulid_Call
func (*Blueprint_Ulid_Call) Run ¶ added in v1.16.0
func (_c *Blueprint_Ulid_Call) Run(run func(column string, length ...int)) *Blueprint_Ulid_Call
func (*Blueprint_Ulid_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Blueprint_Ulid_Call) RunAndReturn(run func(string, ...int) driver.ColumnDefinition) *Blueprint_Ulid_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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.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 driver.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) driver.ColumnDefinition) *Blueprint_UnsignedTinyInteger_Call
type Blueprint_UuidMorphs_Call ¶ added in v1.16.0
Blueprint_UuidMorphs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UuidMorphs'
func (*Blueprint_UuidMorphs_Call) Return ¶ added in v1.16.0
func (_c *Blueprint_UuidMorphs_Call) Return() *Blueprint_UuidMorphs_Call
func (*Blueprint_UuidMorphs_Call) Run ¶ added in v1.16.0
func (_c *Blueprint_UuidMorphs_Call) Run(run func(name string, indexName ...string)) *Blueprint_UuidMorphs_Call
func (*Blueprint_UuidMorphs_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Blueprint_UuidMorphs_Call) RunAndReturn(run func(string, ...string)) *Blueprint_UuidMorphs_Call
type Blueprint_Uuid_Call ¶ added in v1.16.0
Blueprint_Uuid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Uuid'
func (*Blueprint_Uuid_Call) Return ¶ added in v1.16.0
func (_c *Blueprint_Uuid_Call) Return(_a0 driver.ColumnDefinition) *Blueprint_Uuid_Call
func (*Blueprint_Uuid_Call) Run ¶ added in v1.16.0
func (_c *Blueprint_Uuid_Call) Run(run func(column string)) *Blueprint_Uuid_Call
func (*Blueprint_Uuid_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Blueprint_Uuid_Call) RunAndReturn(run func(string) driver.ColumnDefinition) *Blueprint_Uuid_Call
type ColumnType ¶ added in v1.16.0
type ColumnType[K comparable, V interface{}] struct { mock.Mock }
ColumnType is an autogenerated mock type for the ColumnType type
func NewColumnType ¶ added in v1.16.0
func NewColumnType[K comparable, V interface{}](t interface { mock.TestingT Cleanup(func()) }) *ColumnType[K, V]
NewColumnType creates a new instance of ColumnType. 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 (*ColumnType[K, V]) EXPECT ¶ added in v1.16.0
func (_m *ColumnType[K, V]) EXPECT() *ColumnType_Expecter[K, V]
func (*ColumnType[K, V]) Key ¶ added in v1.16.0
func (_m *ColumnType[K, V]) Key() string
Key provides a mock function with no fields
func (*ColumnType[K, V]) MarshalJSON ¶ added in v1.16.0
func (_m *ColumnType[K, V]) MarshalJSON() ([]byte, error)
MarshalJSON provides a mock function with no fields
func (*ColumnType[K, V]) String ¶ added in v1.16.0
func (_m *ColumnType[K, V]) String() string
String provides a mock function with no fields
func (*ColumnType[K, V]) Value ¶ added in v1.16.0
func (_m *ColumnType[K, V]) Value() string
Value provides a mock function with no fields
type ColumnType_Expecter ¶ added in v1.16.0
type ColumnType_Expecter[K comparable, V interface{}] struct { // contains filtered or unexported fields }
func (*ColumnType_Expecter[K, V]) Key ¶ added in v1.16.0
func (_e *ColumnType_Expecter[K, V]) Key() *ColumnType_Key_Call[K, V]
Key is a helper method to define mock.On call
func (*ColumnType_Expecter[K, V]) MarshalJSON ¶ added in v1.16.0
func (_e *ColumnType_Expecter[K, V]) MarshalJSON() *ColumnType_MarshalJSON_Call[K, V]
MarshalJSON is a helper method to define mock.On call
func (*ColumnType_Expecter[K, V]) String ¶ added in v1.16.0
func (_e *ColumnType_Expecter[K, V]) String() *ColumnType_String_Call[K, V]
String is a helper method to define mock.On call
func (*ColumnType_Expecter[K, V]) Value ¶ added in v1.16.0
func (_e *ColumnType_Expecter[K, V]) Value() *ColumnType_Value_Call[K, V]
Value is a helper method to define mock.On call
type ColumnType_Key_Call ¶ added in v1.16.0
type ColumnType_Key_Call[K comparable, V interface{}] struct { *mock.Call }
ColumnType_Key_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Key'
func (*ColumnType_Key_Call[K, V]) Return ¶ added in v1.16.0
func (_c *ColumnType_Key_Call[K, V]) Return(_a0 string) *ColumnType_Key_Call[K, V]
func (*ColumnType_Key_Call[K, V]) Run ¶ added in v1.16.0
func (_c *ColumnType_Key_Call[K, V]) Run(run func()) *ColumnType_Key_Call[K, V]
func (*ColumnType_Key_Call[K, V]) RunAndReturn ¶ added in v1.16.0
func (_c *ColumnType_Key_Call[K, V]) RunAndReturn(run func() string) *ColumnType_Key_Call[K, V]
type ColumnType_MarshalJSON_Call ¶ added in v1.16.0
type ColumnType_MarshalJSON_Call[K comparable, V interface{}] struct { *mock.Call }
ColumnType_MarshalJSON_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarshalJSON'
func (*ColumnType_MarshalJSON_Call[K, V]) Return ¶ added in v1.16.0
func (_c *ColumnType_MarshalJSON_Call[K, V]) Return(_a0 []byte, _a1 error) *ColumnType_MarshalJSON_Call[K, V]
func (*ColumnType_MarshalJSON_Call[K, V]) Run ¶ added in v1.16.0
func (_c *ColumnType_MarshalJSON_Call[K, V]) Run(run func()) *ColumnType_MarshalJSON_Call[K, V]
func (*ColumnType_MarshalJSON_Call[K, V]) RunAndReturn ¶ added in v1.16.0
func (_c *ColumnType_MarshalJSON_Call[K, V]) RunAndReturn(run func() ([]byte, error)) *ColumnType_MarshalJSON_Call[K, V]
type ColumnType_String_Call ¶ added in v1.16.0
type ColumnType_String_Call[K comparable, V interface{}] struct { *mock.Call }
ColumnType_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*ColumnType_String_Call[K, V]) Return ¶ added in v1.16.0
func (_c *ColumnType_String_Call[K, V]) Return(_a0 string) *ColumnType_String_Call[K, V]
func (*ColumnType_String_Call[K, V]) Run ¶ added in v1.16.0
func (_c *ColumnType_String_Call[K, V]) Run(run func()) *ColumnType_String_Call[K, V]
func (*ColumnType_String_Call[K, V]) RunAndReturn ¶ added in v1.16.0
func (_c *ColumnType_String_Call[K, V]) RunAndReturn(run func() string) *ColumnType_String_Call[K, V]
type ColumnType_Value_Call ¶ added in v1.16.0
type ColumnType_Value_Call[K comparable, V interface{}] struct { *mock.Call }
ColumnType_Value_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Value'
func (*ColumnType_Value_Call[K, V]) Return ¶ added in v1.16.0
func (_c *ColumnType_Value_Call[K, V]) Return(_a0 string) *ColumnType_Value_Call[K, V]
func (*ColumnType_Value_Call[K, V]) Run ¶ added in v1.16.0
func (_c *ColumnType_Value_Call[K, V]) Run(run func()) *ColumnType_Value_Call[K, V]
func (*ColumnType_Value_Call[K, V]) RunAndReturn ¶ added in v1.16.0
func (_c *ColumnType_Value_Call[K, V]) RunAndReturn(run func() string) *ColumnType_Value_Call[K, V]
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 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 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 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) ([]driver.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) Extend ¶ added in v1.16.0
func (_e *Schema_Expecter) Extend(extend interface{}) *Schema_Extend_Call
Extend is a helper method to define mock.On call
- extend schema.Extension
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) GoTypes ¶ added in v1.16.0
func (_e *Schema_Expecter) GoTypes() *Schema_GoTypes_Call
GoTypes 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) Prune ¶ added in v1.16.0
func (_e *Schema_Expecter) Prune() *Schema_Prune_Call
Prune 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_Extend_Call ¶ added in v1.16.0
Schema_Extend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Extend'
func (*Schema_Extend_Call) Return ¶ added in v1.16.0
func (_c *Schema_Extend_Call) Return(_a0 schema.Schema) *Schema_Extend_Call
func (*Schema_Extend_Call) Run ¶ added in v1.16.0
func (_c *Schema_Extend_Call) Run(run func(extend schema.Extension)) *Schema_Extend_Call
func (*Schema_Extend_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Schema_Extend_Call) RunAndReturn(run func(schema.Extension) schema.Schema) *Schema_Extend_Call
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 []driver.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) ([]driver.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 []driver.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) ([]driver.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 []driver.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) ([]driver.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 []driver.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() ([]driver.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 []driver.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() ([]driver.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 []driver.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() ([]driver.View, error)) *Schema_GetViews_Call
type Schema_GoTypes_Call ¶ added in v1.16.0
Schema_GoTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GoTypes'
func (*Schema_GoTypes_Call) Return ¶ added in v1.16.0
func (_c *Schema_GoTypes_Call) Return(_a0 []schema.GoType) *Schema_GoTypes_Call
func (*Schema_GoTypes_Call) Run ¶ added in v1.16.0
func (_c *Schema_GoTypes_Call) Run(run func()) *Schema_GoTypes_Call
func (*Schema_GoTypes_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Schema_GoTypes_Call) RunAndReturn(run func() []schema.GoType) *Schema_GoTypes_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_Prune_Call ¶ added in v1.16.0
Schema_Prune_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Prune'
func (*Schema_Prune_Call) Return ¶ added in v1.16.0
func (_c *Schema_Prune_Call) Return(_a0 error) *Schema_Prune_Call
func (*Schema_Prune_Call) Run ¶ added in v1.16.0
func (_c *Schema_Prune_Call) Run(run func()) *Schema_Prune_Call
func (*Schema_Prune_Call) RunAndReturn ¶ added in v1.16.0
func (_c *Schema_Prune_Call) RunAndReturn(run func() error) *Schema_Prune_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