Documentation ¶
Index ¶
- type Configuration
- type Configuration_Expecter
- type Configuration_GetCustomPostgreSQLConfigs_Call
- func (_c *Configuration_GetCustomPostgreSQLConfigs_Call) Return(_a0 *postgresql.PostgreSQLConfig) *Configuration_GetCustomPostgreSQLConfigs_Call
- func (_c *Configuration_GetCustomPostgreSQLConfigs_Call) Run(run func(database string, host string, username string, password string)) *Configuration_GetCustomPostgreSQLConfigs_Call
- func (_c *Configuration_GetCustomPostgreSQLConfigs_Call) RunAndReturn(run func(string, string, string, string) *postgresql.PostgreSQLConfig) *Configuration_GetCustomPostgreSQLConfigs_Call
- type Configuration_GetDefaultPostgreSQLConfigs_Call
- func (_c *Configuration_GetDefaultPostgreSQLConfigs_Call) Return(_a0 *postgresql.PostgreSQLConfig) *Configuration_GetDefaultPostgreSQLConfigs_Call
- func (_c *Configuration_GetDefaultPostgreSQLConfigs_Call) Run(run func()) *Configuration_GetDefaultPostgreSQLConfigs_Call
- func (_c *Configuration_GetDefaultPostgreSQLConfigs_Call) RunAndReturn(run func() *postgresql.PostgreSQLConfig) *Configuration_GetDefaultPostgreSQLConfigs_Call
- type PostgreSQLService
- func (_m *PostgreSQLService) Begin(opts ...*sql.TxOptions) *gorm.DB
- func (_m *PostgreSQLService) Commit() *gorm.DB
- func (_m *PostgreSQLService) Connection(fc func(*gorm.DB) error) error
- func (_m *PostgreSQLService) Count(count *int64) *gorm.DB
- func (_m *PostgreSQLService) Create(value interface{}) *gorm.DB
- func (_m *PostgreSQLService) CreateInBatches(value interface{}, batchSize int) *gorm.DB
- func (_m *PostgreSQLService) Delete(value interface{}, conds ...interface{}) *gorm.DB
- func (_m *PostgreSQLService) EXPECT() *PostgreSQLService_Expecter
- func (_m *PostgreSQLService) Exec(_a0 string, values ...interface{}) *gorm.DB
- func (_m *PostgreSQLService) Find(dest interface{}, conds ...interface{}) *gorm.DB
- func (_m *PostgreSQLService) FindInBatches(dest interface{}, batchSize int, fc func(*gorm.DB, int) error) *gorm.DB
- func (_m *PostgreSQLService) First(dest interface{}, conds ...interface{}) *gorm.DB
- func (_m *PostgreSQLService) FirstOrCreate(dest interface{}, conds ...interface{}) *gorm.DB
- func (_m *PostgreSQLService) FirstOrInit(dest interface{}, conds ...interface{}) *gorm.DB
- func (_m *PostgreSQLService) Last(dest interface{}, conds ...interface{}) *gorm.DB
- func (_m *PostgreSQLService) Pluck(column string, dest interface{}) *gorm.DB
- func (_m *PostgreSQLService) Rollback() *gorm.DB
- func (_m *PostgreSQLService) RollbackTo(name string) *gorm.DB
- func (_m *PostgreSQLService) Row() *sql.Row
- func (_m *PostgreSQLService) Rows() (*sql.Rows, error)
- func (_m *PostgreSQLService) Save(value interface{}) *gorm.DB
- func (_m *PostgreSQLService) SavePoint(name string) *gorm.DB
- func (_m *PostgreSQLService) Scan(dest interface{}) *gorm.DB
- func (_m *PostgreSQLService) ScanRows(rows *sql.Rows, dest interface{}) error
- func (_m *PostgreSQLService) Take(dest interface{}, conds ...interface{}) *gorm.DB
- func (_m *PostgreSQLService) Transaction(fc func(*gorm.DB) error, opts ...*sql.TxOptions) error
- func (_m *PostgreSQLService) Update(column string, value interface{}) *gorm.DB
- func (_m *PostgreSQLService) UpdateColumn(column string, value interface{}) *gorm.DB
- func (_m *PostgreSQLService) UpdateColumns(values interface{}) *gorm.DB
- func (_m *PostgreSQLService) Updates(values interface{}) *gorm.DB
- type PostgreSQLService_Begin_Call
- func (_c *PostgreSQLService_Begin_Call) Return(_a0 *gorm.DB) *PostgreSQLService_Begin_Call
- func (_c *PostgreSQLService_Begin_Call) Run(run func(opts ...*sql.TxOptions)) *PostgreSQLService_Begin_Call
- func (_c *PostgreSQLService_Begin_Call) RunAndReturn(run func(...*sql.TxOptions) *gorm.DB) *PostgreSQLService_Begin_Call
- type PostgreSQLService_Commit_Call
- type PostgreSQLService_Connection_Call
- func (_c *PostgreSQLService_Connection_Call) Return(err error) *PostgreSQLService_Connection_Call
- func (_c *PostgreSQLService_Connection_Call) Run(run func(fc func(*gorm.DB) error)) *PostgreSQLService_Connection_Call
- func (_c *PostgreSQLService_Connection_Call) RunAndReturn(run func(func(*gorm.DB) error) error) *PostgreSQLService_Connection_Call
- type PostgreSQLService_Count_Call
- type PostgreSQLService_CreateInBatches_Call
- func (_c *PostgreSQLService_CreateInBatches_Call) Return(tx *gorm.DB) *PostgreSQLService_CreateInBatches_Call
- func (_c *PostgreSQLService_CreateInBatches_Call) Run(run func(value interface{}, batchSize int)) *PostgreSQLService_CreateInBatches_Call
- func (_c *PostgreSQLService_CreateInBatches_Call) RunAndReturn(run func(interface{}, int) *gorm.DB) *PostgreSQLService_CreateInBatches_Call
- type PostgreSQLService_Create_Call
- func (_c *PostgreSQLService_Create_Call) Return(tx *gorm.DB) *PostgreSQLService_Create_Call
- func (_c *PostgreSQLService_Create_Call) Run(run func(value interface{})) *PostgreSQLService_Create_Call
- func (_c *PostgreSQLService_Create_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_Create_Call
- type PostgreSQLService_Delete_Call
- func (_c *PostgreSQLService_Delete_Call) Return(tx *gorm.DB) *PostgreSQLService_Delete_Call
- func (_c *PostgreSQLService_Delete_Call) Run(run func(value interface{}, conds ...interface{})) *PostgreSQLService_Delete_Call
- func (_c *PostgreSQLService_Delete_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_Delete_Call
- type PostgreSQLService_Exec_Call
- func (_c *PostgreSQLService_Exec_Call) Return(tx *gorm.DB) *PostgreSQLService_Exec_Call
- func (_c *PostgreSQLService_Exec_Call) Run(run func(_a0 string, values ...interface{})) *PostgreSQLService_Exec_Call
- func (_c *PostgreSQLService_Exec_Call) RunAndReturn(run func(string, ...interface{}) *gorm.DB) *PostgreSQLService_Exec_Call
- type PostgreSQLService_Expecter
- func (_e *PostgreSQLService_Expecter) Begin(opts ...interface{}) *PostgreSQLService_Begin_Call
- func (_e *PostgreSQLService_Expecter) Commit() *PostgreSQLService_Commit_Call
- func (_e *PostgreSQLService_Expecter) Connection(fc interface{}) *PostgreSQLService_Connection_Call
- func (_e *PostgreSQLService_Expecter) Count(count interface{}) *PostgreSQLService_Count_Call
- func (_e *PostgreSQLService_Expecter) Create(value interface{}) *PostgreSQLService_Create_Call
- func (_e *PostgreSQLService_Expecter) CreateInBatches(value interface{}, batchSize interface{}) *PostgreSQLService_CreateInBatches_Call
- func (_e *PostgreSQLService_Expecter) Delete(value interface{}, conds ...interface{}) *PostgreSQLService_Delete_Call
- func (_e *PostgreSQLService_Expecter) Exec(_a0 interface{}, values ...interface{}) *PostgreSQLService_Exec_Call
- func (_e *PostgreSQLService_Expecter) Find(dest interface{}, conds ...interface{}) *PostgreSQLService_Find_Call
- func (_e *PostgreSQLService_Expecter) FindInBatches(dest interface{}, batchSize interface{}, fc interface{}) *PostgreSQLService_FindInBatches_Call
- func (_e *PostgreSQLService_Expecter) First(dest interface{}, conds ...interface{}) *PostgreSQLService_First_Call
- func (_e *PostgreSQLService_Expecter) FirstOrCreate(dest interface{}, conds ...interface{}) *PostgreSQLService_FirstOrCreate_Call
- func (_e *PostgreSQLService_Expecter) FirstOrInit(dest interface{}, conds ...interface{}) *PostgreSQLService_FirstOrInit_Call
- func (_e *PostgreSQLService_Expecter) Last(dest interface{}, conds ...interface{}) *PostgreSQLService_Last_Call
- func (_e *PostgreSQLService_Expecter) Pluck(column interface{}, dest interface{}) *PostgreSQLService_Pluck_Call
- func (_e *PostgreSQLService_Expecter) Rollback() *PostgreSQLService_Rollback_Call
- func (_e *PostgreSQLService_Expecter) RollbackTo(name interface{}) *PostgreSQLService_RollbackTo_Call
- func (_e *PostgreSQLService_Expecter) Row() *PostgreSQLService_Row_Call
- func (_e *PostgreSQLService_Expecter) Rows() *PostgreSQLService_Rows_Call
- func (_e *PostgreSQLService_Expecter) Save(value interface{}) *PostgreSQLService_Save_Call
- func (_e *PostgreSQLService_Expecter) SavePoint(name interface{}) *PostgreSQLService_SavePoint_Call
- func (_e *PostgreSQLService_Expecter) Scan(dest interface{}) *PostgreSQLService_Scan_Call
- func (_e *PostgreSQLService_Expecter) ScanRows(rows interface{}, dest interface{}) *PostgreSQLService_ScanRows_Call
- func (_e *PostgreSQLService_Expecter) Take(dest interface{}, conds ...interface{}) *PostgreSQLService_Take_Call
- func (_e *PostgreSQLService_Expecter) Transaction(fc interface{}, opts ...interface{}) *PostgreSQLService_Transaction_Call
- func (_e *PostgreSQLService_Expecter) Update(column interface{}, value interface{}) *PostgreSQLService_Update_Call
- func (_e *PostgreSQLService_Expecter) UpdateColumn(column interface{}, value interface{}) *PostgreSQLService_UpdateColumn_Call
- func (_e *PostgreSQLService_Expecter) UpdateColumns(values interface{}) *PostgreSQLService_UpdateColumns_Call
- func (_e *PostgreSQLService_Expecter) Updates(values interface{}) *PostgreSQLService_Updates_Call
- type PostgreSQLService_FindInBatches_Call
- func (_c *PostgreSQLService_FindInBatches_Call) Return(_a0 *gorm.DB) *PostgreSQLService_FindInBatches_Call
- func (_c *PostgreSQLService_FindInBatches_Call) Run(run func(dest interface{}, batchSize int, fc func(*gorm.DB, int) error)) *PostgreSQLService_FindInBatches_Call
- func (_c *PostgreSQLService_FindInBatches_Call) RunAndReturn(run func(interface{}, int, func(*gorm.DB, int) error) *gorm.DB) *PostgreSQLService_FindInBatches_Call
- type PostgreSQLService_Find_Call
- func (_c *PostgreSQLService_Find_Call) Return(tx *gorm.DB) *PostgreSQLService_Find_Call
- func (_c *PostgreSQLService_Find_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_Find_Call
- func (_c *PostgreSQLService_Find_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_Find_Call
- type PostgreSQLService_FirstOrCreate_Call
- func (_c *PostgreSQLService_FirstOrCreate_Call) Return(tx *gorm.DB) *PostgreSQLService_FirstOrCreate_Call
- func (_c *PostgreSQLService_FirstOrCreate_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_FirstOrCreate_Call
- func (_c *PostgreSQLService_FirstOrCreate_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_FirstOrCreate_Call
- type PostgreSQLService_FirstOrInit_Call
- func (_c *PostgreSQLService_FirstOrInit_Call) Return(tx *gorm.DB) *PostgreSQLService_FirstOrInit_Call
- func (_c *PostgreSQLService_FirstOrInit_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_FirstOrInit_Call
- func (_c *PostgreSQLService_FirstOrInit_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_FirstOrInit_Call
- type PostgreSQLService_First_Call
- func (_c *PostgreSQLService_First_Call) Return(tx *gorm.DB) *PostgreSQLService_First_Call
- func (_c *PostgreSQLService_First_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_First_Call
- func (_c *PostgreSQLService_First_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_First_Call
- type PostgreSQLService_Last_Call
- func (_c *PostgreSQLService_Last_Call) Return(tx *gorm.DB) *PostgreSQLService_Last_Call
- func (_c *PostgreSQLService_Last_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_Last_Call
- func (_c *PostgreSQLService_Last_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_Last_Call
- type PostgreSQLService_Pluck_Call
- func (_c *PostgreSQLService_Pluck_Call) Return(tx *gorm.DB) *PostgreSQLService_Pluck_Call
- func (_c *PostgreSQLService_Pluck_Call) Run(run func(column string, dest interface{})) *PostgreSQLService_Pluck_Call
- func (_c *PostgreSQLService_Pluck_Call) RunAndReturn(run func(string, interface{}) *gorm.DB) *PostgreSQLService_Pluck_Call
- type PostgreSQLService_RollbackTo_Call
- func (_c *PostgreSQLService_RollbackTo_Call) Return(_a0 *gorm.DB) *PostgreSQLService_RollbackTo_Call
- func (_c *PostgreSQLService_RollbackTo_Call) Run(run func(name string)) *PostgreSQLService_RollbackTo_Call
- func (_c *PostgreSQLService_RollbackTo_Call) RunAndReturn(run func(string) *gorm.DB) *PostgreSQLService_RollbackTo_Call
- type PostgreSQLService_Rollback_Call
- type PostgreSQLService_Row_Call
- type PostgreSQLService_Rows_Call
- type PostgreSQLService_SavePoint_Call
- func (_c *PostgreSQLService_SavePoint_Call) Return(_a0 *gorm.DB) *PostgreSQLService_SavePoint_Call
- func (_c *PostgreSQLService_SavePoint_Call) Run(run func(name string)) *PostgreSQLService_SavePoint_Call
- func (_c *PostgreSQLService_SavePoint_Call) RunAndReturn(run func(string) *gorm.DB) *PostgreSQLService_SavePoint_Call
- type PostgreSQLService_Save_Call
- func (_c *PostgreSQLService_Save_Call) Return(tx *gorm.DB) *PostgreSQLService_Save_Call
- func (_c *PostgreSQLService_Save_Call) Run(run func(value interface{})) *PostgreSQLService_Save_Call
- func (_c *PostgreSQLService_Save_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_Save_Call
- type PostgreSQLService_ScanRows_Call
- func (_c *PostgreSQLService_ScanRows_Call) Return(_a0 error) *PostgreSQLService_ScanRows_Call
- func (_c *PostgreSQLService_ScanRows_Call) Run(run func(rows *sql.Rows, dest interface{})) *PostgreSQLService_ScanRows_Call
- func (_c *PostgreSQLService_ScanRows_Call) RunAndReturn(run func(*sql.Rows, interface{}) error) *PostgreSQLService_ScanRows_Call
- type PostgreSQLService_Scan_Call
- func (_c *PostgreSQLService_Scan_Call) Return(tx *gorm.DB) *PostgreSQLService_Scan_Call
- func (_c *PostgreSQLService_Scan_Call) Run(run func(dest interface{})) *PostgreSQLService_Scan_Call
- func (_c *PostgreSQLService_Scan_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_Scan_Call
- type PostgreSQLService_Take_Call
- func (_c *PostgreSQLService_Take_Call) Return(tx *gorm.DB) *PostgreSQLService_Take_Call
- func (_c *PostgreSQLService_Take_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_Take_Call
- func (_c *PostgreSQLService_Take_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_Take_Call
- type PostgreSQLService_Transaction_Call
- func (_c *PostgreSQLService_Transaction_Call) Return(err error) *PostgreSQLService_Transaction_Call
- func (_c *PostgreSQLService_Transaction_Call) Run(run func(fc func(*gorm.DB) error, opts ...*sql.TxOptions)) *PostgreSQLService_Transaction_Call
- func (_c *PostgreSQLService_Transaction_Call) RunAndReturn(run func(func(*gorm.DB) error, ...*sql.TxOptions) error) *PostgreSQLService_Transaction_Call
- type PostgreSQLService_UpdateColumn_Call
- func (_c *PostgreSQLService_UpdateColumn_Call) Return(tx *gorm.DB) *PostgreSQLService_UpdateColumn_Call
- func (_c *PostgreSQLService_UpdateColumn_Call) Run(run func(column string, value interface{})) *PostgreSQLService_UpdateColumn_Call
- func (_c *PostgreSQLService_UpdateColumn_Call) RunAndReturn(run func(string, interface{}) *gorm.DB) *PostgreSQLService_UpdateColumn_Call
- type PostgreSQLService_UpdateColumns_Call
- func (_c *PostgreSQLService_UpdateColumns_Call) Return(tx *gorm.DB) *PostgreSQLService_UpdateColumns_Call
- func (_c *PostgreSQLService_UpdateColumns_Call) Run(run func(values interface{})) *PostgreSQLService_UpdateColumns_Call
- func (_c *PostgreSQLService_UpdateColumns_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_UpdateColumns_Call
- type PostgreSQLService_Update_Call
- func (_c *PostgreSQLService_Update_Call) Return(tx *gorm.DB) *PostgreSQLService_Update_Call
- func (_c *PostgreSQLService_Update_Call) Run(run func(column string, value interface{})) *PostgreSQLService_Update_Call
- func (_c *PostgreSQLService_Update_Call) RunAndReturn(run func(string, interface{}) *gorm.DB) *PostgreSQLService_Update_Call
- type PostgreSQLService_Updates_Call
- func (_c *PostgreSQLService_Updates_Call) Return(tx *gorm.DB) *PostgreSQLService_Updates_Call
- func (_c *PostgreSQLService_Updates_Call) Run(run func(values interface{})) *PostgreSQLService_Updates_Call
- func (_c *PostgreSQLService_Updates_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_Updates_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶ added in v1.0.6
Configuration is an autogenerated mock type for the Configuration type
func NewConfiguration ¶ added in v1.0.6
func NewConfiguration(t interface { mock.TestingT Cleanup(func()) }, ) *Configuration
NewConfiguration creates a new instance of Configuration. 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 (*Configuration) EXPECT ¶ added in v1.0.6
func (_m *Configuration) EXPECT() *Configuration_Expecter
func (*Configuration) GetCustomPostgreSQLConfigs ¶ added in v1.0.6
func (_m *Configuration) GetCustomPostgreSQLConfigs(database string, host string, username string, password string) *postgresql.PostgreSQLConfig
GetCustomPostgreSQLConfigs provides a mock function with given fields: database, host, username, password
func (*Configuration) GetDefaultPostgreSQLConfigs ¶ added in v1.0.6
func (_m *Configuration) GetDefaultPostgreSQLConfigs() *postgresql.PostgreSQLConfig
GetDefaultPostgreSQLConfigs provides a mock function with given fields:
type Configuration_Expecter ¶ added in v1.0.6
type Configuration_Expecter struct {
// contains filtered or unexported fields
}
func (*Configuration_Expecter) GetCustomPostgreSQLConfigs ¶ added in v1.0.6
func (_e *Configuration_Expecter) GetCustomPostgreSQLConfigs(database interface{}, host interface{}, username interface{}, password interface{}) *Configuration_GetCustomPostgreSQLConfigs_Call
GetCustomPostgreSQLConfigs is a helper method to define mock.On call
- database string
- host string
- username string
- password string
func (*Configuration_Expecter) GetDefaultPostgreSQLConfigs ¶ added in v1.0.6
func (_e *Configuration_Expecter) GetDefaultPostgreSQLConfigs() *Configuration_GetDefaultPostgreSQLConfigs_Call
GetDefaultPostgreSQLConfigs is a helper method to define mock.On call
type Configuration_GetCustomPostgreSQLConfigs_Call ¶ added in v1.0.6
Configuration_GetCustomPostgreSQLConfigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCustomPostgreSQLConfigs'
func (*Configuration_GetCustomPostgreSQLConfigs_Call) Run ¶ added in v1.0.6
func (_c *Configuration_GetCustomPostgreSQLConfigs_Call) Run(run func(database string, host string, username string, password string)) *Configuration_GetCustomPostgreSQLConfigs_Call
func (*Configuration_GetCustomPostgreSQLConfigs_Call) RunAndReturn ¶ added in v1.0.6
func (_c *Configuration_GetCustomPostgreSQLConfigs_Call) RunAndReturn(run func(string, string, string, string) *postgresql.PostgreSQLConfig) *Configuration_GetCustomPostgreSQLConfigs_Call
type Configuration_GetDefaultPostgreSQLConfigs_Call ¶ added in v1.0.6
Configuration_GetDefaultPostgreSQLConfigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDefaultPostgreSQLConfigs'
func (*Configuration_GetDefaultPostgreSQLConfigs_Call) Run ¶ added in v1.0.6
func (_c *Configuration_GetDefaultPostgreSQLConfigs_Call) Run(run func()) *Configuration_GetDefaultPostgreSQLConfigs_Call
func (*Configuration_GetDefaultPostgreSQLConfigs_Call) RunAndReturn ¶ added in v1.0.6
func (_c *Configuration_GetDefaultPostgreSQLConfigs_Call) RunAndReturn(run func() *postgresql.PostgreSQLConfig) *Configuration_GetDefaultPostgreSQLConfigs_Call
type PostgreSQLService ¶ added in v1.0.6
PostgreSQLService is an autogenerated mock type for the PostgreSQLService type
func NewPostgreSQLService ¶ added in v1.0.6
func NewPostgreSQLService(t interface { mock.TestingT Cleanup(func()) }, ) *PostgreSQLService
NewPostgreSQLService creates a new instance of PostgreSQLService. 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 (*PostgreSQLService) Begin ¶ added in v1.0.6
func (_m *PostgreSQLService) Begin(opts ...*sql.TxOptions) *gorm.DB
Begin provides a mock function with given fields: opts
func (*PostgreSQLService) Commit ¶ added in v1.0.6
func (_m *PostgreSQLService) Commit() *gorm.DB
Commit provides a mock function with given fields:
func (*PostgreSQLService) Connection ¶ added in v1.0.6
func (_m *PostgreSQLService) Connection(fc func(*gorm.DB) error) error
Connection provides a mock function with given fields: fc
func (*PostgreSQLService) Count ¶ added in v1.0.6
func (_m *PostgreSQLService) Count(count *int64) *gorm.DB
Count provides a mock function with given fields: count
func (*PostgreSQLService) Create ¶ added in v1.0.6
func (_m *PostgreSQLService) Create(value interface{}) *gorm.DB
Create provides a mock function with given fields: value
func (*PostgreSQLService) CreateInBatches ¶ added in v1.0.6
func (_m *PostgreSQLService) CreateInBatches(value interface{}, batchSize int) *gorm.DB
CreateInBatches provides a mock function with given fields: value, batchSize
func (*PostgreSQLService) Delete ¶ added in v1.0.6
func (_m *PostgreSQLService) Delete(value interface{}, conds ...interface{}) *gorm.DB
Delete provides a mock function with given fields: value, conds
func (*PostgreSQLService) EXPECT ¶ added in v1.0.6
func (_m *PostgreSQLService) EXPECT() *PostgreSQLService_Expecter
func (*PostgreSQLService) Exec ¶ added in v1.0.6
func (_m *PostgreSQLService) Exec(_a0 string, values ...interface{}) *gorm.DB
Exec provides a mock function with given fields: _a0, values
func (*PostgreSQLService) Find ¶ added in v1.0.6
func (_m *PostgreSQLService) Find(dest interface{}, conds ...interface{}) *gorm.DB
Find provides a mock function with given fields: dest, conds
func (*PostgreSQLService) FindInBatches ¶ added in v1.0.6
func (_m *PostgreSQLService) FindInBatches(dest interface{}, batchSize int, fc func(*gorm.DB, int) error) *gorm.DB
FindInBatches provides a mock function with given fields: dest, batchSize, fc
func (*PostgreSQLService) First ¶ added in v1.0.6
func (_m *PostgreSQLService) First(dest interface{}, conds ...interface{}) *gorm.DB
First provides a mock function with given fields: dest, conds
func (*PostgreSQLService) FirstOrCreate ¶ added in v1.0.6
func (_m *PostgreSQLService) FirstOrCreate(dest interface{}, conds ...interface{}) *gorm.DB
FirstOrCreate provides a mock function with given fields: dest, conds
func (*PostgreSQLService) FirstOrInit ¶ added in v1.0.6
func (_m *PostgreSQLService) FirstOrInit(dest interface{}, conds ...interface{}) *gorm.DB
FirstOrInit provides a mock function with given fields: dest, conds
func (*PostgreSQLService) Last ¶ added in v1.0.6
func (_m *PostgreSQLService) Last(dest interface{}, conds ...interface{}) *gorm.DB
Last provides a mock function with given fields: dest, conds
func (*PostgreSQLService) Pluck ¶ added in v1.0.6
func (_m *PostgreSQLService) Pluck(column string, dest interface{}) *gorm.DB
Pluck provides a mock function with given fields: column, dest
func (*PostgreSQLService) Rollback ¶ added in v1.0.6
func (_m *PostgreSQLService) Rollback() *gorm.DB
Rollback provides a mock function with given fields:
func (*PostgreSQLService) RollbackTo ¶ added in v1.0.6
func (_m *PostgreSQLService) RollbackTo(name string) *gorm.DB
RollbackTo provides a mock function with given fields: name
func (*PostgreSQLService) Row ¶ added in v1.0.6
func (_m *PostgreSQLService) Row() *sql.Row
Row provides a mock function with given fields:
func (*PostgreSQLService) Rows ¶ added in v1.0.6
func (_m *PostgreSQLService) Rows() (*sql.Rows, error)
Rows provides a mock function with given fields:
func (*PostgreSQLService) Save ¶ added in v1.0.6
func (_m *PostgreSQLService) Save(value interface{}) *gorm.DB
Save provides a mock function with given fields: value
func (*PostgreSQLService) SavePoint ¶ added in v1.0.6
func (_m *PostgreSQLService) SavePoint(name string) *gorm.DB
SavePoint provides a mock function with given fields: name
func (*PostgreSQLService) Scan ¶ added in v1.0.6
func (_m *PostgreSQLService) Scan(dest interface{}) *gorm.DB
Scan provides a mock function with given fields: dest
func (*PostgreSQLService) ScanRows ¶ added in v1.0.6
func (_m *PostgreSQLService) ScanRows(rows *sql.Rows, dest interface{}) error
ScanRows provides a mock function with given fields: rows, dest
func (*PostgreSQLService) Take ¶ added in v1.0.6
func (_m *PostgreSQLService) Take(dest interface{}, conds ...interface{}) *gorm.DB
Take provides a mock function with given fields: dest, conds
func (*PostgreSQLService) Transaction ¶ added in v1.0.6
Transaction provides a mock function with given fields: fc, opts
func (*PostgreSQLService) Update ¶ added in v1.0.6
func (_m *PostgreSQLService) Update(column string, value interface{}) *gorm.DB
Update provides a mock function with given fields: column, value
func (*PostgreSQLService) UpdateColumn ¶ added in v1.0.6
func (_m *PostgreSQLService) UpdateColumn(column string, value interface{}) *gorm.DB
UpdateColumn provides a mock function with given fields: column, value
func (*PostgreSQLService) UpdateColumns ¶ added in v1.0.6
func (_m *PostgreSQLService) UpdateColumns(values interface{}) *gorm.DB
UpdateColumns provides a mock function with given fields: values
func (*PostgreSQLService) Updates ¶ added in v1.0.6
func (_m *PostgreSQLService) Updates(values interface{}) *gorm.DB
Updates provides a mock function with given fields: values
type PostgreSQLService_Begin_Call ¶ added in v1.0.6
PostgreSQLService_Begin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Begin'
func (*PostgreSQLService_Begin_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Begin_Call) Return(_a0 *gorm.DB) *PostgreSQLService_Begin_Call
func (*PostgreSQLService_Begin_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Begin_Call) Run(run func(opts ...*sql.TxOptions)) *PostgreSQLService_Begin_Call
func (*PostgreSQLService_Begin_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Begin_Call) RunAndReturn(run func(...*sql.TxOptions) *gorm.DB) *PostgreSQLService_Begin_Call
type PostgreSQLService_Commit_Call ¶ added in v1.0.6
PostgreSQLService_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*PostgreSQLService_Commit_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Commit_Call) Return(_a0 *gorm.DB) *PostgreSQLService_Commit_Call
func (*PostgreSQLService_Commit_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Commit_Call) Run(run func()) *PostgreSQLService_Commit_Call
func (*PostgreSQLService_Commit_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Commit_Call) RunAndReturn(run func() *gorm.DB) *PostgreSQLService_Commit_Call
type PostgreSQLService_Connection_Call ¶ added in v1.0.6
PostgreSQLService_Connection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connection'
func (*PostgreSQLService_Connection_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Connection_Call) Return(err error) *PostgreSQLService_Connection_Call
func (*PostgreSQLService_Connection_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Connection_Call) Run(run func(fc func(*gorm.DB) error)) *PostgreSQLService_Connection_Call
func (*PostgreSQLService_Connection_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Connection_Call) RunAndReturn(run func(func(*gorm.DB) error) error) *PostgreSQLService_Connection_Call
type PostgreSQLService_Count_Call ¶ added in v1.0.6
PostgreSQLService_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*PostgreSQLService_Count_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Count_Call) Return(tx *gorm.DB) *PostgreSQLService_Count_Call
func (*PostgreSQLService_Count_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Count_Call) Run(run func(count *int64)) *PostgreSQLService_Count_Call
func (*PostgreSQLService_Count_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Count_Call) RunAndReturn(run func(*int64) *gorm.DB) *PostgreSQLService_Count_Call
type PostgreSQLService_CreateInBatches_Call ¶ added in v1.0.6
PostgreSQLService_CreateInBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateInBatches'
func (*PostgreSQLService_CreateInBatches_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_CreateInBatches_Call) Return(tx *gorm.DB) *PostgreSQLService_CreateInBatches_Call
func (*PostgreSQLService_CreateInBatches_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_CreateInBatches_Call) Run(run func(value interface{}, batchSize int)) *PostgreSQLService_CreateInBatches_Call
func (*PostgreSQLService_CreateInBatches_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_CreateInBatches_Call) RunAndReturn(run func(interface{}, int) *gorm.DB) *PostgreSQLService_CreateInBatches_Call
type PostgreSQLService_Create_Call ¶ added in v1.0.6
PostgreSQLService_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*PostgreSQLService_Create_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Create_Call) Return(tx *gorm.DB) *PostgreSQLService_Create_Call
func (*PostgreSQLService_Create_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Create_Call) Run(run func(value interface{})) *PostgreSQLService_Create_Call
func (*PostgreSQLService_Create_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Create_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_Create_Call
type PostgreSQLService_Delete_Call ¶ added in v1.0.6
PostgreSQLService_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*PostgreSQLService_Delete_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Delete_Call) Return(tx *gorm.DB) *PostgreSQLService_Delete_Call
func (*PostgreSQLService_Delete_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Delete_Call) Run(run func(value interface{}, conds ...interface{})) *PostgreSQLService_Delete_Call
func (*PostgreSQLService_Delete_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Delete_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_Delete_Call
type PostgreSQLService_Exec_Call ¶ added in v1.0.6
PostgreSQLService_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*PostgreSQLService_Exec_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Exec_Call) Return(tx *gorm.DB) *PostgreSQLService_Exec_Call
func (*PostgreSQLService_Exec_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Exec_Call) Run(run func(_a0 string, values ...interface{})) *PostgreSQLService_Exec_Call
func (*PostgreSQLService_Exec_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Exec_Call) RunAndReturn(run func(string, ...interface{}) *gorm.DB) *PostgreSQLService_Exec_Call
type PostgreSQLService_Expecter ¶ added in v1.0.6
type PostgreSQLService_Expecter struct {
// contains filtered or unexported fields
}
func (*PostgreSQLService_Expecter) Begin ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Begin(opts ...interface{}) *PostgreSQLService_Begin_Call
Begin is a helper method to define mock.On call
- opts ...*sql.TxOptions
func (*PostgreSQLService_Expecter) Commit ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Commit() *PostgreSQLService_Commit_Call
Commit is a helper method to define mock.On call
func (*PostgreSQLService_Expecter) Connection ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Connection(fc interface{}) *PostgreSQLService_Connection_Call
Connection is a helper method to define mock.On call
- fc func(*gorm.DB) error
func (*PostgreSQLService_Expecter) Count ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Count(count interface{}) *PostgreSQLService_Count_Call
Count is a helper method to define mock.On call
- count *int64
func (*PostgreSQLService_Expecter) Create ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Create(value interface{}) *PostgreSQLService_Create_Call
Create is a helper method to define mock.On call
- value interface{}
func (*PostgreSQLService_Expecter) CreateInBatches ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) CreateInBatches(value interface{}, batchSize interface{}) *PostgreSQLService_CreateInBatches_Call
CreateInBatches is a helper method to define mock.On call
- value interface{}
- batchSize int
func (*PostgreSQLService_Expecter) Delete ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Delete(value interface{}, conds ...interface{}) *PostgreSQLService_Delete_Call
Delete is a helper method to define mock.On call
- value interface{}
- conds ...interface{}
func (*PostgreSQLService_Expecter) Exec ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Exec(_a0 interface{}, values ...interface{}) *PostgreSQLService_Exec_Call
Exec is a helper method to define mock.On call
- _a0 string
- values ...interface{}
func (*PostgreSQLService_Expecter) Find ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Find(dest interface{}, conds ...interface{}) *PostgreSQLService_Find_Call
Find is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*PostgreSQLService_Expecter) FindInBatches ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) FindInBatches(dest interface{}, batchSize interface{}, fc interface{}) *PostgreSQLService_FindInBatches_Call
FindInBatches is a helper method to define mock.On call
- dest interface{}
- batchSize int
- fc func(*gorm.DB , int) error
func (*PostgreSQLService_Expecter) First ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) First(dest interface{}, conds ...interface{}) *PostgreSQLService_First_Call
First is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*PostgreSQLService_Expecter) FirstOrCreate ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) FirstOrCreate(dest interface{}, conds ...interface{}) *PostgreSQLService_FirstOrCreate_Call
FirstOrCreate is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*PostgreSQLService_Expecter) FirstOrInit ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) FirstOrInit(dest interface{}, conds ...interface{}) *PostgreSQLService_FirstOrInit_Call
FirstOrInit is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*PostgreSQLService_Expecter) Last ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Last(dest interface{}, conds ...interface{}) *PostgreSQLService_Last_Call
Last is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*PostgreSQLService_Expecter) Pluck ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Pluck(column interface{}, dest interface{}) *PostgreSQLService_Pluck_Call
Pluck is a helper method to define mock.On call
- column string
- dest interface{}
func (*PostgreSQLService_Expecter) Rollback ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Rollback() *PostgreSQLService_Rollback_Call
Rollback is a helper method to define mock.On call
func (*PostgreSQLService_Expecter) RollbackTo ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) RollbackTo(name interface{}) *PostgreSQLService_RollbackTo_Call
RollbackTo is a helper method to define mock.On call
- name string
func (*PostgreSQLService_Expecter) Row ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Row() *PostgreSQLService_Row_Call
Row is a helper method to define mock.On call
func (*PostgreSQLService_Expecter) Rows ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Rows() *PostgreSQLService_Rows_Call
Rows is a helper method to define mock.On call
func (*PostgreSQLService_Expecter) Save ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Save(value interface{}) *PostgreSQLService_Save_Call
Save is a helper method to define mock.On call
- value interface{}
func (*PostgreSQLService_Expecter) SavePoint ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) SavePoint(name interface{}) *PostgreSQLService_SavePoint_Call
SavePoint is a helper method to define mock.On call
- name string
func (*PostgreSQLService_Expecter) Scan ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Scan(dest interface{}) *PostgreSQLService_Scan_Call
Scan is a helper method to define mock.On call
- dest interface{}
func (*PostgreSQLService_Expecter) ScanRows ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) ScanRows(rows interface{}, dest interface{}) *PostgreSQLService_ScanRows_Call
ScanRows is a helper method to define mock.On call
- rows *sql.Rows
- dest interface{}
func (*PostgreSQLService_Expecter) Take ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Take(dest interface{}, conds ...interface{}) *PostgreSQLService_Take_Call
Take is a helper method to define mock.On call
- dest interface{}
- conds ...interface{}
func (*PostgreSQLService_Expecter) Transaction ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Transaction(fc interface{}, opts ...interface{}) *PostgreSQLService_Transaction_Call
Transaction is a helper method to define mock.On call
- fc func(*gorm.DB) error
- opts ...*sql.TxOptions
func (*PostgreSQLService_Expecter) Update ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Update(column interface{}, value interface{}) *PostgreSQLService_Update_Call
Update is a helper method to define mock.On call
- column string
- value interface{}
func (*PostgreSQLService_Expecter) UpdateColumn ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) UpdateColumn(column interface{}, value interface{}) *PostgreSQLService_UpdateColumn_Call
UpdateColumn is a helper method to define mock.On call
- column string
- value interface{}
func (*PostgreSQLService_Expecter) UpdateColumns ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) UpdateColumns(values interface{}) *PostgreSQLService_UpdateColumns_Call
UpdateColumns is a helper method to define mock.On call
- values interface{}
func (*PostgreSQLService_Expecter) Updates ¶ added in v1.0.6
func (_e *PostgreSQLService_Expecter) Updates(values interface{}) *PostgreSQLService_Updates_Call
Updates is a helper method to define mock.On call
- values interface{}
type PostgreSQLService_FindInBatches_Call ¶ added in v1.0.6
PostgreSQLService_FindInBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindInBatches'
func (*PostgreSQLService_FindInBatches_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_FindInBatches_Call) Return(_a0 *gorm.DB) *PostgreSQLService_FindInBatches_Call
func (*PostgreSQLService_FindInBatches_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_FindInBatches_Call) Run(run func(dest interface{}, batchSize int, fc func(*gorm.DB, int) error)) *PostgreSQLService_FindInBatches_Call
func (*PostgreSQLService_FindInBatches_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_FindInBatches_Call) RunAndReturn(run func(interface{}, int, func(*gorm.DB, int) error) *gorm.DB) *PostgreSQLService_FindInBatches_Call
type PostgreSQLService_Find_Call ¶ added in v1.0.6
PostgreSQLService_Find_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Find'
func (*PostgreSQLService_Find_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Find_Call) Return(tx *gorm.DB) *PostgreSQLService_Find_Call
func (*PostgreSQLService_Find_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Find_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_Find_Call
func (*PostgreSQLService_Find_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Find_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_Find_Call
type PostgreSQLService_FirstOrCreate_Call ¶ added in v1.0.6
PostgreSQLService_FirstOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrCreate'
func (*PostgreSQLService_FirstOrCreate_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_FirstOrCreate_Call) Return(tx *gorm.DB) *PostgreSQLService_FirstOrCreate_Call
func (*PostgreSQLService_FirstOrCreate_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_FirstOrCreate_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_FirstOrCreate_Call
func (*PostgreSQLService_FirstOrCreate_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_FirstOrCreate_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_FirstOrCreate_Call
type PostgreSQLService_FirstOrInit_Call ¶ added in v1.0.6
PostgreSQLService_FirstOrInit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrInit'
func (*PostgreSQLService_FirstOrInit_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_FirstOrInit_Call) Return(tx *gorm.DB) *PostgreSQLService_FirstOrInit_Call
func (*PostgreSQLService_FirstOrInit_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_FirstOrInit_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_FirstOrInit_Call
func (*PostgreSQLService_FirstOrInit_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_FirstOrInit_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_FirstOrInit_Call
type PostgreSQLService_First_Call ¶ added in v1.0.6
PostgreSQLService_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'
func (*PostgreSQLService_First_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_First_Call) Return(tx *gorm.DB) *PostgreSQLService_First_Call
func (*PostgreSQLService_First_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_First_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_First_Call
func (*PostgreSQLService_First_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_First_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_First_Call
type PostgreSQLService_Last_Call ¶ added in v1.0.6
PostgreSQLService_Last_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Last'
func (*PostgreSQLService_Last_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Last_Call) Return(tx *gorm.DB) *PostgreSQLService_Last_Call
func (*PostgreSQLService_Last_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Last_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_Last_Call
func (*PostgreSQLService_Last_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Last_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_Last_Call
type PostgreSQLService_Pluck_Call ¶ added in v1.0.6
PostgreSQLService_Pluck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pluck'
func (*PostgreSQLService_Pluck_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Pluck_Call) Return(tx *gorm.DB) *PostgreSQLService_Pluck_Call
func (*PostgreSQLService_Pluck_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Pluck_Call) Run(run func(column string, dest interface{})) *PostgreSQLService_Pluck_Call
func (*PostgreSQLService_Pluck_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Pluck_Call) RunAndReturn(run func(string, interface{}) *gorm.DB) *PostgreSQLService_Pluck_Call
type PostgreSQLService_RollbackTo_Call ¶ added in v1.0.6
PostgreSQLService_RollbackTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RollbackTo'
func (*PostgreSQLService_RollbackTo_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_RollbackTo_Call) Return(_a0 *gorm.DB) *PostgreSQLService_RollbackTo_Call
func (*PostgreSQLService_RollbackTo_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_RollbackTo_Call) Run(run func(name string)) *PostgreSQLService_RollbackTo_Call
func (*PostgreSQLService_RollbackTo_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_RollbackTo_Call) RunAndReturn(run func(string) *gorm.DB) *PostgreSQLService_RollbackTo_Call
type PostgreSQLService_Rollback_Call ¶ added in v1.0.6
PostgreSQLService_Rollback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rollback'
func (*PostgreSQLService_Rollback_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Rollback_Call) Return(_a0 *gorm.DB) *PostgreSQLService_Rollback_Call
func (*PostgreSQLService_Rollback_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Rollback_Call) Run(run func()) *PostgreSQLService_Rollback_Call
func (*PostgreSQLService_Rollback_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Rollback_Call) RunAndReturn(run func() *gorm.DB) *PostgreSQLService_Rollback_Call
type PostgreSQLService_Row_Call ¶ added in v1.0.6
PostgreSQLService_Row_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Row'
func (*PostgreSQLService_Row_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Row_Call) Return(_a0 *sql.Row) *PostgreSQLService_Row_Call
func (*PostgreSQLService_Row_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Row_Call) Run(run func()) *PostgreSQLService_Row_Call
func (*PostgreSQLService_Row_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Row_Call) RunAndReturn(run func() *sql.Row) *PostgreSQLService_Row_Call
type PostgreSQLService_Rows_Call ¶ added in v1.0.6
PostgreSQLService_Rows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rows'
func (*PostgreSQLService_Rows_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Rows_Call) Return(_a0 *sql.Rows, _a1 error) *PostgreSQLService_Rows_Call
func (*PostgreSQLService_Rows_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Rows_Call) Run(run func()) *PostgreSQLService_Rows_Call
func (*PostgreSQLService_Rows_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Rows_Call) RunAndReturn(run func() (*sql.Rows, error)) *PostgreSQLService_Rows_Call
type PostgreSQLService_SavePoint_Call ¶ added in v1.0.6
PostgreSQLService_SavePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SavePoint'
func (*PostgreSQLService_SavePoint_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_SavePoint_Call) Return(_a0 *gorm.DB) *PostgreSQLService_SavePoint_Call
func (*PostgreSQLService_SavePoint_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_SavePoint_Call) Run(run func(name string)) *PostgreSQLService_SavePoint_Call
func (*PostgreSQLService_SavePoint_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_SavePoint_Call) RunAndReturn(run func(string) *gorm.DB) *PostgreSQLService_SavePoint_Call
type PostgreSQLService_Save_Call ¶ added in v1.0.6
PostgreSQLService_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*PostgreSQLService_Save_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Save_Call) Return(tx *gorm.DB) *PostgreSQLService_Save_Call
func (*PostgreSQLService_Save_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Save_Call) Run(run func(value interface{})) *PostgreSQLService_Save_Call
func (*PostgreSQLService_Save_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Save_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_Save_Call
type PostgreSQLService_ScanRows_Call ¶ added in v1.0.6
PostgreSQLService_ScanRows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScanRows'
func (*PostgreSQLService_ScanRows_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_ScanRows_Call) Return(_a0 error) *PostgreSQLService_ScanRows_Call
func (*PostgreSQLService_ScanRows_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_ScanRows_Call) Run(run func(rows *sql.Rows, dest interface{})) *PostgreSQLService_ScanRows_Call
func (*PostgreSQLService_ScanRows_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_ScanRows_Call) RunAndReturn(run func(*sql.Rows, interface{}) error) *PostgreSQLService_ScanRows_Call
type PostgreSQLService_Scan_Call ¶ added in v1.0.6
PostgreSQLService_Scan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scan'
func (*PostgreSQLService_Scan_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Scan_Call) Return(tx *gorm.DB) *PostgreSQLService_Scan_Call
func (*PostgreSQLService_Scan_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Scan_Call) Run(run func(dest interface{})) *PostgreSQLService_Scan_Call
func (*PostgreSQLService_Scan_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Scan_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_Scan_Call
type PostgreSQLService_Take_Call ¶ added in v1.0.6
PostgreSQLService_Take_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Take'
func (*PostgreSQLService_Take_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Take_Call) Return(tx *gorm.DB) *PostgreSQLService_Take_Call
func (*PostgreSQLService_Take_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Take_Call) Run(run func(dest interface{}, conds ...interface{})) *PostgreSQLService_Take_Call
func (*PostgreSQLService_Take_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Take_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *PostgreSQLService_Take_Call
type PostgreSQLService_Transaction_Call ¶ added in v1.0.6
PostgreSQLService_Transaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transaction'
func (*PostgreSQLService_Transaction_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Transaction_Call) Return(err error) *PostgreSQLService_Transaction_Call
func (*PostgreSQLService_Transaction_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Transaction_Call) Run(run func(fc func(*gorm.DB) error, opts ...*sql.TxOptions)) *PostgreSQLService_Transaction_Call
func (*PostgreSQLService_Transaction_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Transaction_Call) RunAndReturn(run func(func(*gorm.DB) error, ...*sql.TxOptions) error) *PostgreSQLService_Transaction_Call
type PostgreSQLService_UpdateColumn_Call ¶ added in v1.0.6
PostgreSQLService_UpdateColumn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateColumn'
func (*PostgreSQLService_UpdateColumn_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_UpdateColumn_Call) Return(tx *gorm.DB) *PostgreSQLService_UpdateColumn_Call
func (*PostgreSQLService_UpdateColumn_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_UpdateColumn_Call) Run(run func(column string, value interface{})) *PostgreSQLService_UpdateColumn_Call
func (*PostgreSQLService_UpdateColumn_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_UpdateColumn_Call) RunAndReturn(run func(string, interface{}) *gorm.DB) *PostgreSQLService_UpdateColumn_Call
type PostgreSQLService_UpdateColumns_Call ¶ added in v1.0.6
PostgreSQLService_UpdateColumns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateColumns'
func (*PostgreSQLService_UpdateColumns_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_UpdateColumns_Call) Return(tx *gorm.DB) *PostgreSQLService_UpdateColumns_Call
func (*PostgreSQLService_UpdateColumns_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_UpdateColumns_Call) Run(run func(values interface{})) *PostgreSQLService_UpdateColumns_Call
func (*PostgreSQLService_UpdateColumns_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_UpdateColumns_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_UpdateColumns_Call
type PostgreSQLService_Update_Call ¶ added in v1.0.6
PostgreSQLService_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*PostgreSQLService_Update_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Update_Call) Return(tx *gorm.DB) *PostgreSQLService_Update_Call
func (*PostgreSQLService_Update_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Update_Call) Run(run func(column string, value interface{})) *PostgreSQLService_Update_Call
func (*PostgreSQLService_Update_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Update_Call) RunAndReturn(run func(string, interface{}) *gorm.DB) *PostgreSQLService_Update_Call
type PostgreSQLService_Updates_Call ¶ added in v1.0.6
PostgreSQLService_Updates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Updates'
func (*PostgreSQLService_Updates_Call) Return ¶ added in v1.0.6
func (_c *PostgreSQLService_Updates_Call) Return(tx *gorm.DB) *PostgreSQLService_Updates_Call
func (*PostgreSQLService_Updates_Call) Run ¶ added in v1.0.6
func (_c *PostgreSQLService_Updates_Call) Run(run func(values interface{})) *PostgreSQLService_Updates_Call
func (*PostgreSQLService_Updates_Call) RunAndReturn ¶ added in v1.0.6
func (_c *PostgreSQLService_Updates_Call) RunAndReturn(run func(interface{}) *gorm.DB) *PostgreSQLService_Updates_Call