...

Package mocks

import "github.com/doug-martin/goqu/v9/sqlgen/mocks"
Overview
Index

Overview ▾

type DeleteSQLGenerator

DeleteSQLGenerator is an autogenerated mock type for the DeleteSQLGenerator type

type DeleteSQLGenerator struct {
    mock.Mock
}

func (*DeleteSQLGenerator) Dialect

func (_m *DeleteSQLGenerator) Dialect() string

Dialect provides a mock function with given fields:

func (*DeleteSQLGenerator) Generate

func (_m *DeleteSQLGenerator) Generate(b sb.SQLBuilder, clauses exp.DeleteClauses)

Generate provides a mock function with given fields: b, clauses

type InsertSQLGenerator

InsertSQLGenerator is an autogenerated mock type for the InsertSQLGenerator type

type InsertSQLGenerator struct {
    mock.Mock
}

func (*InsertSQLGenerator) Dialect

func (_m *InsertSQLGenerator) Dialect() string

Dialect provides a mock function with given fields:

func (*InsertSQLGenerator) Generate

func (_m *InsertSQLGenerator) Generate(b sb.SQLBuilder, clauses exp.InsertClauses)

Generate provides a mock function with given fields: b, clauses

type SelectSQLGenerator

SelectSQLGenerator is an autogenerated mock type for the SelectSQLGenerator type

type SelectSQLGenerator struct {
    mock.Mock
}

func (*SelectSQLGenerator) Dialect

func (_m *SelectSQLGenerator) Dialect() string

Dialect provides a mock function with given fields:

func (*SelectSQLGenerator) Generate

func (_m *SelectSQLGenerator) Generate(b sb.SQLBuilder, clauses exp.SelectClauses)

Generate provides a mock function with given fields: b, clauses

type TruncateSQLGenerator

TruncateSQLGenerator is an autogenerated mock type for the TruncateSQLGenerator type

type TruncateSQLGenerator struct {
    mock.Mock
}

func (*TruncateSQLGenerator) Dialect

func (_m *TruncateSQLGenerator) Dialect() string

Dialect provides a mock function with given fields:

func (*TruncateSQLGenerator) Generate

func (_m *TruncateSQLGenerator) Generate(b sb.SQLBuilder, clauses exp.TruncateClauses)

Generate provides a mock function with given fields: b, clauses

type UpdateSQLGenerator

UpdateSQLGenerator is an autogenerated mock type for the UpdateSQLGenerator type

type UpdateSQLGenerator struct {
    mock.Mock
}

func (*UpdateSQLGenerator) Dialect

func (_m *UpdateSQLGenerator) Dialect() string

Dialect provides a mock function with given fields:

func (*UpdateSQLGenerator) Generate

func (_m *UpdateSQLGenerator) Generate(b sb.SQLBuilder, clauses exp.UpdateClauses)

Generate provides a mock function with given fields: b, clauses