Documentation ¶
Overview ¶
Package mockgen is a generated GoMock package.
Package mockgen is a generated GoMock package.
Index ¶
- type MockAdapter
- func (m *MockAdapter) BatchInsertCopy(dbname, schema, table string, keys []string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) BatchInsertCopyCtx(ctx context.Context, dbname, schema, table string, keys []string, ...) adapters.Scanner
- func (m *MockAdapter) BatchInsertValues(SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) BatchInsertValuesCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) CountByRequest(req *http.Request) (string, error)
- func (m *MockAdapter) DatabaseClause(req *http.Request) (string, bool)
- func (m *MockAdapter) DatabaseOrderBy(order string, hasCount bool) string
- func (m *MockAdapter) DatabaseWhere(requestWhere string) string
- func (m *MockAdapter) Delete(SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) DeleteCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) DeleteSQL(database, schema, table string) string
- func (m *MockAdapter) DeleteWithTransaction(tx *sql.Tx, SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) DistinctClause(r *http.Request) (string, error)
- func (m *MockAdapter) EXPECT() *MockAdapterMockRecorder
- func (m *MockAdapter) ExecuteScripts(method, sql string, values []interface{}) adapters.Scanner
- func (m *MockAdapter) ExecuteScriptsCtx(ctx context.Context, method, sql string, values []interface{}) adapters.Scanner
- func (m *MockAdapter) FieldsPermissions(r *http.Request, table, op string) ([]string, error)
- func (m *MockAdapter) GetDatabase() string
- func (m *MockAdapter) GetScript(verb, folder, scriptName string) (string, error)
- func (m *MockAdapter) GetTransaction() (*sql.Tx, error)
- func (m *MockAdapter) GetTransactionCtx(ctx context.Context) (*sql.Tx, error)
- func (m *MockAdapter) GroupByClause(r *http.Request) string
- func (m *MockAdapter) Insert(SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) InsertCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) InsertSQL(database, schema, table, names, placeholders string) string
- func (m *MockAdapter) InsertWithTransaction(tx *sql.Tx, SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) JoinByRequest(r *http.Request) ([]string, error)
- func (m *MockAdapter) OrderByRequest(r *http.Request) (string, error)
- func (m *MockAdapter) PaginateIfPossible(r *http.Request) (string, error)
- func (m *MockAdapter) ParseBatchInsertRequest(r *http.Request) (string, string, []interface{}, error)
- func (m *MockAdapter) ParseInsertRequest(r *http.Request) (string, string, []interface{}, error)
- func (m *MockAdapter) ParseScript(scriptPath string, templateData map[string]interface{}) (string, []interface{}, error)
- func (m *MockAdapter) Query(SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) QueryCount(SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) QueryCountCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) QueryCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) ReturningByRequest(r *http.Request) (string, error)
- func (m *MockAdapter) SchemaClause(req *http.Request) (string, bool)
- func (m *MockAdapter) SchemaOrderBy(order string, hasCount bool) string
- func (m *MockAdapter) SchemaTablesClause() string
- func (m *MockAdapter) SchemaTablesOrderBy(order string) string
- func (m *MockAdapter) SchemaTablesWhere(requestWhere string) string
- func (m *MockAdapter) SelectFields(fields []string) (string, error)
- func (m *MockAdapter) SelectSQL(selectStr, database, schema, table string) string
- func (m *MockAdapter) SetByRequest(r *http.Request, initialPlaceholderID int) (string, []interface{}, error)
- func (m *MockAdapter) SetDatabase(name string)
- func (m *MockAdapter) ShowTable(schema, table string) adapters.Scanner
- func (m *MockAdapter) ShowTableCtx(ctx context.Context, schema, table string) adapters.Scanner
- func (m *MockAdapter) TableClause() string
- func (m *MockAdapter) TableOrderBy(order string) string
- func (m *MockAdapter) TablePermissions(table, op string) bool
- func (m *MockAdapter) TableWhere(requestWhere string) string
- func (m *MockAdapter) Update(SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) UpdateCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) UpdateSQL(database, schema, table, setSyntax string) string
- func (m *MockAdapter) UpdateWithTransaction(tx *sql.Tx, SQL string, params ...interface{}) adapters.Scanner
- func (m *MockAdapter) WhereByRequest(r *http.Request, initialPlaceholderID int) (string, []interface{}, error)
- type MockAdapterMockRecorder
- func (mr *MockAdapterMockRecorder) BatchInsertCopy(dbname, schema, table, keys interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) BatchInsertCopyCtx(ctx, dbname, schema, table, keys interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) BatchInsertValues(SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) BatchInsertValuesCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) CountByRequest(req interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) DatabaseClause(req interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) DatabaseOrderBy(order, hasCount interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) DatabaseWhere(requestWhere interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) Delete(SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) DeleteCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) DeleteSQL(database, schema, table interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) DeleteWithTransaction(tx, SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) DistinctClause(r interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) ExecuteScripts(method, sql, values interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) ExecuteScriptsCtx(ctx, method, sql, values interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) FieldsPermissions(r, table, op interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetDatabase() *gomock.Call
- func (mr *MockAdapterMockRecorder) GetScript(verb, folder, scriptName interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GetTransaction() *gomock.Call
- func (mr *MockAdapterMockRecorder) GetTransactionCtx(ctx interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) GroupByClause(r interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) Insert(SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) InsertCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) InsertSQL(database, schema, table, names, placeholders interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) InsertWithTransaction(tx, SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) JoinByRequest(r interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) OrderByRequest(r interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) PaginateIfPossible(r interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) ParseBatchInsertRequest(r interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) ParseInsertRequest(r interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) ParseScript(scriptPath, templateData interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) Query(SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) QueryCount(SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) QueryCountCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) QueryCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) ReturningByRequest(r interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) SchemaClause(req interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) SchemaOrderBy(order, hasCount interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) SchemaTablesClause() *gomock.Call
- func (mr *MockAdapterMockRecorder) SchemaTablesOrderBy(order interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) SchemaTablesWhere(requestWhere interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) SelectFields(fields interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) SelectSQL(selectStr, database, schema, table interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) SetByRequest(r, initialPlaceholderID interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) SetDatabase(name interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) ShowTable(schema, table interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) ShowTableCtx(ctx, schema, table interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) TableClause() *gomock.Call
- func (mr *MockAdapterMockRecorder) TableOrderBy(order interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) TablePermissions(table, op interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) TableWhere(requestWhere interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) Update(SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateSQL(database, schema, table, setSyntax interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) UpdateWithTransaction(tx, SQL interface{}, params ...interface{}) *gomock.Call
- func (mr *MockAdapterMockRecorder) WhereByRequest(r, initialPlaceholderID interface{}) *gomock.Call
- type MockScanner
- type MockScannerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdapter ¶
type MockAdapter struct {
// contains filtered or unexported fields
}
MockAdapter is a mock of Adapter interface.
func NewMockAdapter ¶
func NewMockAdapter(ctrl *gomock.Controller) *MockAdapter
NewMockAdapter creates a new mock instance.
func (*MockAdapter) BatchInsertCopy ¶
func (m *MockAdapter) BatchInsertCopy(dbname, schema, table string, keys []string, params ...interface{}) adapters.Scanner
BatchInsertCopy mocks base method.
func (*MockAdapter) BatchInsertCopyCtx ¶
func (m *MockAdapter) BatchInsertCopyCtx(ctx context.Context, dbname, schema, table string, keys []string, params ...interface{}) adapters.Scanner
BatchInsertCopyCtx mocks base method.
func (*MockAdapter) BatchInsertValues ¶
func (m *MockAdapter) BatchInsertValues(SQL string, params ...interface{}) adapters.Scanner
BatchInsertValues mocks base method.
func (*MockAdapter) BatchInsertValuesCtx ¶
func (m *MockAdapter) BatchInsertValuesCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
BatchInsertValuesCtx mocks base method.
func (*MockAdapter) CountByRequest ¶
func (m *MockAdapter) CountByRequest(req *http.Request) (string, error)
CountByRequest mocks base method.
func (*MockAdapter) DatabaseClause ¶
func (m *MockAdapter) DatabaseClause(req *http.Request) (string, bool)
DatabaseClause mocks base method.
func (*MockAdapter) DatabaseOrderBy ¶
func (m *MockAdapter) DatabaseOrderBy(order string, hasCount bool) string
DatabaseOrderBy mocks base method.
func (*MockAdapter) DatabaseWhere ¶
func (m *MockAdapter) DatabaseWhere(requestWhere string) string
DatabaseWhere mocks base method.
func (*MockAdapter) Delete ¶
func (m *MockAdapter) Delete(SQL string, params ...interface{}) adapters.Scanner
Delete mocks base method.
func (*MockAdapter) DeleteCtx ¶
func (m *MockAdapter) DeleteCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
DeleteCtx mocks base method.
func (*MockAdapter) DeleteSQL ¶
func (m *MockAdapter) DeleteSQL(database, schema, table string) string
DeleteSQL mocks base method.
func (*MockAdapter) DeleteWithTransaction ¶
func (m *MockAdapter) DeleteWithTransaction(tx *sql.Tx, SQL string, params ...interface{}) adapters.Scanner
DeleteWithTransaction mocks base method.
func (*MockAdapter) DistinctClause ¶
func (m *MockAdapter) DistinctClause(r *http.Request) (string, error)
DistinctClause mocks base method.
func (*MockAdapter) EXPECT ¶
func (m *MockAdapter) EXPECT() *MockAdapterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAdapter) ExecuteScripts ¶
func (m *MockAdapter) ExecuteScripts(method, sql string, values []interface{}) adapters.Scanner
ExecuteScripts mocks base method.
func (*MockAdapter) ExecuteScriptsCtx ¶
func (m *MockAdapter) ExecuteScriptsCtx(ctx context.Context, method, sql string, values []interface{}) adapters.Scanner
ExecuteScriptsCtx mocks base method.
func (*MockAdapter) FieldsPermissions ¶
FieldsPermissions mocks base method.
func (*MockAdapter) GetDatabase ¶
func (m *MockAdapter) GetDatabase() string
GetDatabase mocks base method.
func (*MockAdapter) GetScript ¶
func (m *MockAdapter) GetScript(verb, folder, scriptName string) (string, error)
GetScript mocks base method.
func (*MockAdapter) GetTransaction ¶
func (m *MockAdapter) GetTransaction() (*sql.Tx, error)
GetTransaction mocks base method.
func (*MockAdapter) GetTransactionCtx ¶
GetTransactionCtx mocks base method.
func (*MockAdapter) GroupByClause ¶
func (m *MockAdapter) GroupByClause(r *http.Request) string
GroupByClause mocks base method.
func (*MockAdapter) Insert ¶
func (m *MockAdapter) Insert(SQL string, params ...interface{}) adapters.Scanner
Insert mocks base method.
func (*MockAdapter) InsertCtx ¶
func (m *MockAdapter) InsertCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
InsertCtx mocks base method.
func (*MockAdapter) InsertSQL ¶
func (m *MockAdapter) InsertSQL(database, schema, table, names, placeholders string) string
InsertSQL mocks base method.
func (*MockAdapter) InsertWithTransaction ¶
func (m *MockAdapter) InsertWithTransaction(tx *sql.Tx, SQL string, params ...interface{}) adapters.Scanner
InsertWithTransaction mocks base method.
func (*MockAdapter) JoinByRequest ¶
func (m *MockAdapter) JoinByRequest(r *http.Request) ([]string, error)
JoinByRequest mocks base method.
func (*MockAdapter) OrderByRequest ¶
func (m *MockAdapter) OrderByRequest(r *http.Request) (string, error)
OrderByRequest mocks base method.
func (*MockAdapter) PaginateIfPossible ¶
func (m *MockAdapter) PaginateIfPossible(r *http.Request) (string, error)
PaginateIfPossible mocks base method.
func (*MockAdapter) ParseBatchInsertRequest ¶
func (m *MockAdapter) ParseBatchInsertRequest(r *http.Request) (string, string, []interface{}, error)
ParseBatchInsertRequest mocks base method.
func (*MockAdapter) ParseInsertRequest ¶
ParseInsertRequest mocks base method.
func (*MockAdapter) ParseScript ¶
func (m *MockAdapter) ParseScript(scriptPath string, templateData map[string]interface{}) (string, []interface{}, error)
ParseScript mocks base method.
func (*MockAdapter) Query ¶
func (m *MockAdapter) Query(SQL string, params ...interface{}) adapters.Scanner
Query mocks base method.
func (*MockAdapter) QueryCount ¶
func (m *MockAdapter) QueryCount(SQL string, params ...interface{}) adapters.Scanner
QueryCount mocks base method.
func (*MockAdapter) QueryCountCtx ¶
func (m *MockAdapter) QueryCountCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
QueryCountCtx mocks base method.
func (*MockAdapter) QueryCtx ¶
func (m *MockAdapter) QueryCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
QueryCtx mocks base method.
func (*MockAdapter) ReturningByRequest ¶
func (m *MockAdapter) ReturningByRequest(r *http.Request) (string, error)
ReturningByRequest mocks base method.
func (*MockAdapter) SchemaClause ¶
func (m *MockAdapter) SchemaClause(req *http.Request) (string, bool)
SchemaClause mocks base method.
func (*MockAdapter) SchemaOrderBy ¶
func (m *MockAdapter) SchemaOrderBy(order string, hasCount bool) string
SchemaOrderBy mocks base method.
func (*MockAdapter) SchemaTablesClause ¶
func (m *MockAdapter) SchemaTablesClause() string
SchemaTablesClause mocks base method.
func (*MockAdapter) SchemaTablesOrderBy ¶
func (m *MockAdapter) SchemaTablesOrderBy(order string) string
SchemaTablesOrderBy mocks base method.
func (*MockAdapter) SchemaTablesWhere ¶
func (m *MockAdapter) SchemaTablesWhere(requestWhere string) string
SchemaTablesWhere mocks base method.
func (*MockAdapter) SelectFields ¶
func (m *MockAdapter) SelectFields(fields []string) (string, error)
SelectFields mocks base method.
func (*MockAdapter) SelectSQL ¶
func (m *MockAdapter) SelectSQL(selectStr, database, schema, table string) string
SelectSQL mocks base method.
func (*MockAdapter) SetByRequest ¶
func (m *MockAdapter) SetByRequest(r *http.Request, initialPlaceholderID int) (string, []interface{}, error)
SetByRequest mocks base method.
func (*MockAdapter) SetDatabase ¶
func (m *MockAdapter) SetDatabase(name string)
SetDatabase mocks base method.
func (*MockAdapter) ShowTable ¶
func (m *MockAdapter) ShowTable(schema, table string) adapters.Scanner
ShowTable mocks base method.
func (*MockAdapter) ShowTableCtx ¶
ShowTableCtx mocks base method.
func (*MockAdapter) TableClause ¶
func (m *MockAdapter) TableClause() string
TableClause mocks base method.
func (*MockAdapter) TableOrderBy ¶
func (m *MockAdapter) TableOrderBy(order string) string
TableOrderBy mocks base method.
func (*MockAdapter) TablePermissions ¶
func (m *MockAdapter) TablePermissions(table, op string) bool
TablePermissions mocks base method.
func (*MockAdapter) TableWhere ¶
func (m *MockAdapter) TableWhere(requestWhere string) string
TableWhere mocks base method.
func (*MockAdapter) Update ¶
func (m *MockAdapter) Update(SQL string, params ...interface{}) adapters.Scanner
Update mocks base method.
func (*MockAdapter) UpdateCtx ¶
func (m *MockAdapter) UpdateCtx(ctx context.Context, SQL string, params ...interface{}) adapters.Scanner
UpdateCtx mocks base method.
func (*MockAdapter) UpdateSQL ¶
func (m *MockAdapter) UpdateSQL(database, schema, table, setSyntax string) string
UpdateSQL mocks base method.
func (*MockAdapter) UpdateWithTransaction ¶
func (m *MockAdapter) UpdateWithTransaction(tx *sql.Tx, SQL string, params ...interface{}) adapters.Scanner
UpdateWithTransaction mocks base method.
func (*MockAdapter) WhereByRequest ¶
func (m *MockAdapter) WhereByRequest(r *http.Request, initialPlaceholderID int) (string, []interface{}, error)
WhereByRequest mocks base method.
type MockAdapterMockRecorder ¶
type MockAdapterMockRecorder struct {
// contains filtered or unexported fields
}
MockAdapterMockRecorder is the mock recorder for MockAdapter.
func (*MockAdapterMockRecorder) BatchInsertCopy ¶
func (mr *MockAdapterMockRecorder) BatchInsertCopy(dbname, schema, table, keys interface{}, params ...interface{}) *gomock.Call
BatchInsertCopy indicates an expected call of BatchInsertCopy.
func (*MockAdapterMockRecorder) BatchInsertCopyCtx ¶
func (mr *MockAdapterMockRecorder) BatchInsertCopyCtx(ctx, dbname, schema, table, keys interface{}, params ...interface{}) *gomock.Call
BatchInsertCopyCtx indicates an expected call of BatchInsertCopyCtx.
func (*MockAdapterMockRecorder) BatchInsertValues ¶
func (mr *MockAdapterMockRecorder) BatchInsertValues(SQL interface{}, params ...interface{}) *gomock.Call
BatchInsertValues indicates an expected call of BatchInsertValues.
func (*MockAdapterMockRecorder) BatchInsertValuesCtx ¶
func (mr *MockAdapterMockRecorder) BatchInsertValuesCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
BatchInsertValuesCtx indicates an expected call of BatchInsertValuesCtx.
func (*MockAdapterMockRecorder) CountByRequest ¶
func (mr *MockAdapterMockRecorder) CountByRequest(req interface{}) *gomock.Call
CountByRequest indicates an expected call of CountByRequest.
func (*MockAdapterMockRecorder) DatabaseClause ¶
func (mr *MockAdapterMockRecorder) DatabaseClause(req interface{}) *gomock.Call
DatabaseClause indicates an expected call of DatabaseClause.
func (*MockAdapterMockRecorder) DatabaseOrderBy ¶
func (mr *MockAdapterMockRecorder) DatabaseOrderBy(order, hasCount interface{}) *gomock.Call
DatabaseOrderBy indicates an expected call of DatabaseOrderBy.
func (*MockAdapterMockRecorder) DatabaseWhere ¶
func (mr *MockAdapterMockRecorder) DatabaseWhere(requestWhere interface{}) *gomock.Call
DatabaseWhere indicates an expected call of DatabaseWhere.
func (*MockAdapterMockRecorder) Delete ¶
func (mr *MockAdapterMockRecorder) Delete(SQL interface{}, params ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockAdapterMockRecorder) DeleteCtx ¶
func (mr *MockAdapterMockRecorder) DeleteCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
DeleteCtx indicates an expected call of DeleteCtx.
func (*MockAdapterMockRecorder) DeleteSQL ¶
func (mr *MockAdapterMockRecorder) DeleteSQL(database, schema, table interface{}) *gomock.Call
DeleteSQL indicates an expected call of DeleteSQL.
func (*MockAdapterMockRecorder) DeleteWithTransaction ¶
func (mr *MockAdapterMockRecorder) DeleteWithTransaction(tx, SQL interface{}, params ...interface{}) *gomock.Call
DeleteWithTransaction indicates an expected call of DeleteWithTransaction.
func (*MockAdapterMockRecorder) DistinctClause ¶
func (mr *MockAdapterMockRecorder) DistinctClause(r interface{}) *gomock.Call
DistinctClause indicates an expected call of DistinctClause.
func (*MockAdapterMockRecorder) ExecuteScripts ¶
func (mr *MockAdapterMockRecorder) ExecuteScripts(method, sql, values interface{}) *gomock.Call
ExecuteScripts indicates an expected call of ExecuteScripts.
func (*MockAdapterMockRecorder) ExecuteScriptsCtx ¶
func (mr *MockAdapterMockRecorder) ExecuteScriptsCtx(ctx, method, sql, values interface{}) *gomock.Call
ExecuteScriptsCtx indicates an expected call of ExecuteScriptsCtx.
func (*MockAdapterMockRecorder) FieldsPermissions ¶
func (mr *MockAdapterMockRecorder) FieldsPermissions(r, table, op interface{}) *gomock.Call
FieldsPermissions indicates an expected call of FieldsPermissions.
func (*MockAdapterMockRecorder) GetDatabase ¶
func (mr *MockAdapterMockRecorder) GetDatabase() *gomock.Call
GetDatabase indicates an expected call of GetDatabase.
func (*MockAdapterMockRecorder) GetScript ¶
func (mr *MockAdapterMockRecorder) GetScript(verb, folder, scriptName interface{}) *gomock.Call
GetScript indicates an expected call of GetScript.
func (*MockAdapterMockRecorder) GetTransaction ¶
func (mr *MockAdapterMockRecorder) GetTransaction() *gomock.Call
GetTransaction indicates an expected call of GetTransaction.
func (*MockAdapterMockRecorder) GetTransactionCtx ¶
func (mr *MockAdapterMockRecorder) GetTransactionCtx(ctx interface{}) *gomock.Call
GetTransactionCtx indicates an expected call of GetTransactionCtx.
func (*MockAdapterMockRecorder) GroupByClause ¶
func (mr *MockAdapterMockRecorder) GroupByClause(r interface{}) *gomock.Call
GroupByClause indicates an expected call of GroupByClause.
func (*MockAdapterMockRecorder) Insert ¶
func (mr *MockAdapterMockRecorder) Insert(SQL interface{}, params ...interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockAdapterMockRecorder) InsertCtx ¶
func (mr *MockAdapterMockRecorder) InsertCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
InsertCtx indicates an expected call of InsertCtx.
func (*MockAdapterMockRecorder) InsertSQL ¶
func (mr *MockAdapterMockRecorder) InsertSQL(database, schema, table, names, placeholders interface{}) *gomock.Call
InsertSQL indicates an expected call of InsertSQL.
func (*MockAdapterMockRecorder) InsertWithTransaction ¶
func (mr *MockAdapterMockRecorder) InsertWithTransaction(tx, SQL interface{}, params ...interface{}) *gomock.Call
InsertWithTransaction indicates an expected call of InsertWithTransaction.
func (*MockAdapterMockRecorder) JoinByRequest ¶
func (mr *MockAdapterMockRecorder) JoinByRequest(r interface{}) *gomock.Call
JoinByRequest indicates an expected call of JoinByRequest.
func (*MockAdapterMockRecorder) OrderByRequest ¶
func (mr *MockAdapterMockRecorder) OrderByRequest(r interface{}) *gomock.Call
OrderByRequest indicates an expected call of OrderByRequest.
func (*MockAdapterMockRecorder) PaginateIfPossible ¶
func (mr *MockAdapterMockRecorder) PaginateIfPossible(r interface{}) *gomock.Call
PaginateIfPossible indicates an expected call of PaginateIfPossible.
func (*MockAdapterMockRecorder) ParseBatchInsertRequest ¶
func (mr *MockAdapterMockRecorder) ParseBatchInsertRequest(r interface{}) *gomock.Call
ParseBatchInsertRequest indicates an expected call of ParseBatchInsertRequest.
func (*MockAdapterMockRecorder) ParseInsertRequest ¶
func (mr *MockAdapterMockRecorder) ParseInsertRequest(r interface{}) *gomock.Call
ParseInsertRequest indicates an expected call of ParseInsertRequest.
func (*MockAdapterMockRecorder) ParseScript ¶
func (mr *MockAdapterMockRecorder) ParseScript(scriptPath, templateData interface{}) *gomock.Call
ParseScript indicates an expected call of ParseScript.
func (*MockAdapterMockRecorder) Query ¶
func (mr *MockAdapterMockRecorder) Query(SQL interface{}, params ...interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockAdapterMockRecorder) QueryCount ¶
func (mr *MockAdapterMockRecorder) QueryCount(SQL interface{}, params ...interface{}) *gomock.Call
QueryCount indicates an expected call of QueryCount.
func (*MockAdapterMockRecorder) QueryCountCtx ¶
func (mr *MockAdapterMockRecorder) QueryCountCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
QueryCountCtx indicates an expected call of QueryCountCtx.
func (*MockAdapterMockRecorder) QueryCtx ¶
func (mr *MockAdapterMockRecorder) QueryCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
QueryCtx indicates an expected call of QueryCtx.
func (*MockAdapterMockRecorder) ReturningByRequest ¶
func (mr *MockAdapterMockRecorder) ReturningByRequest(r interface{}) *gomock.Call
ReturningByRequest indicates an expected call of ReturningByRequest.
func (*MockAdapterMockRecorder) SchemaClause ¶
func (mr *MockAdapterMockRecorder) SchemaClause(req interface{}) *gomock.Call
SchemaClause indicates an expected call of SchemaClause.
func (*MockAdapterMockRecorder) SchemaOrderBy ¶
func (mr *MockAdapterMockRecorder) SchemaOrderBy(order, hasCount interface{}) *gomock.Call
SchemaOrderBy indicates an expected call of SchemaOrderBy.
func (*MockAdapterMockRecorder) SchemaTablesClause ¶
func (mr *MockAdapterMockRecorder) SchemaTablesClause() *gomock.Call
SchemaTablesClause indicates an expected call of SchemaTablesClause.
func (*MockAdapterMockRecorder) SchemaTablesOrderBy ¶
func (mr *MockAdapterMockRecorder) SchemaTablesOrderBy(order interface{}) *gomock.Call
SchemaTablesOrderBy indicates an expected call of SchemaTablesOrderBy.
func (*MockAdapterMockRecorder) SchemaTablesWhere ¶
func (mr *MockAdapterMockRecorder) SchemaTablesWhere(requestWhere interface{}) *gomock.Call
SchemaTablesWhere indicates an expected call of SchemaTablesWhere.
func (*MockAdapterMockRecorder) SelectFields ¶
func (mr *MockAdapterMockRecorder) SelectFields(fields interface{}) *gomock.Call
SelectFields indicates an expected call of SelectFields.
func (*MockAdapterMockRecorder) SelectSQL ¶
func (mr *MockAdapterMockRecorder) SelectSQL(selectStr, database, schema, table interface{}) *gomock.Call
SelectSQL indicates an expected call of SelectSQL.
func (*MockAdapterMockRecorder) SetByRequest ¶
func (mr *MockAdapterMockRecorder) SetByRequest(r, initialPlaceholderID interface{}) *gomock.Call
SetByRequest indicates an expected call of SetByRequest.
func (*MockAdapterMockRecorder) SetDatabase ¶
func (mr *MockAdapterMockRecorder) SetDatabase(name interface{}) *gomock.Call
SetDatabase indicates an expected call of SetDatabase.
func (*MockAdapterMockRecorder) ShowTable ¶
func (mr *MockAdapterMockRecorder) ShowTable(schema, table interface{}) *gomock.Call
ShowTable indicates an expected call of ShowTable.
func (*MockAdapterMockRecorder) ShowTableCtx ¶
func (mr *MockAdapterMockRecorder) ShowTableCtx(ctx, schema, table interface{}) *gomock.Call
ShowTableCtx indicates an expected call of ShowTableCtx.
func (*MockAdapterMockRecorder) TableClause ¶
func (mr *MockAdapterMockRecorder) TableClause() *gomock.Call
TableClause indicates an expected call of TableClause.
func (*MockAdapterMockRecorder) TableOrderBy ¶
func (mr *MockAdapterMockRecorder) TableOrderBy(order interface{}) *gomock.Call
TableOrderBy indicates an expected call of TableOrderBy.
func (*MockAdapterMockRecorder) TablePermissions ¶
func (mr *MockAdapterMockRecorder) TablePermissions(table, op interface{}) *gomock.Call
TablePermissions indicates an expected call of TablePermissions.
func (*MockAdapterMockRecorder) TableWhere ¶
func (mr *MockAdapterMockRecorder) TableWhere(requestWhere interface{}) *gomock.Call
TableWhere indicates an expected call of TableWhere.
func (*MockAdapterMockRecorder) Update ¶
func (mr *MockAdapterMockRecorder) Update(SQL interface{}, params ...interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockAdapterMockRecorder) UpdateCtx ¶
func (mr *MockAdapterMockRecorder) UpdateCtx(ctx, SQL interface{}, params ...interface{}) *gomock.Call
UpdateCtx indicates an expected call of UpdateCtx.
func (*MockAdapterMockRecorder) UpdateSQL ¶
func (mr *MockAdapterMockRecorder) UpdateSQL(database, schema, table, setSyntax interface{}) *gomock.Call
UpdateSQL indicates an expected call of UpdateSQL.
func (*MockAdapterMockRecorder) UpdateWithTransaction ¶
func (mr *MockAdapterMockRecorder) UpdateWithTransaction(tx, SQL interface{}, params ...interface{}) *gomock.Call
UpdateWithTransaction indicates an expected call of UpdateWithTransaction.
func (*MockAdapterMockRecorder) WhereByRequest ¶
func (mr *MockAdapterMockRecorder) WhereByRequest(r, initialPlaceholderID interface{}) *gomock.Call
WhereByRequest indicates an expected call of WhereByRequest.
type MockScanner ¶
type MockScanner struct {
// contains filtered or unexported fields
}
MockScanner is a mock of Scanner interface.
func NewMockScanner ¶
func NewMockScanner(ctrl *gomock.Controller) *MockScanner
NewMockScanner creates a new mock instance.
func (*MockScanner) EXPECT ¶
func (m *MockScanner) EXPECT() *MockScannerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScanner) Scan ¶
func (m *MockScanner) Scan(arg0 interface{}) (int, error)
Scan mocks base method.
type MockScannerMockRecorder ¶
type MockScannerMockRecorder struct {
// contains filtered or unexported fields
}
MockScannerMockRecorder is the mock recorder for MockScanner.
func (*MockScannerMockRecorder) Bytes ¶
func (mr *MockScannerMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockScannerMockRecorder) Err ¶
func (mr *MockScannerMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockScannerMockRecorder) Scan ¶
func (mr *MockScannerMockRecorder) Scan(arg0 interface{}) *gomock.Call
Scan indicates an expected call of Scan.