# Functions
And generates AND conditions.
No description provided by the author
No description provided by the author
Expr generate customerize SQL.
No description provided by the author
No description provided by the author
NewCond creates an empty condition.
NewWriter creates a new string writer.
Or sets OR conditions.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrNotSupportDialectType not supported dialect type errorErrNotSupportDialectType = errors.New("Not supported dialect type") ErrNotUnexpectedUnionConditions using union in a wrong wayErrNotUnexpectedUnionConditions = errors.New("Unexpected conditional fields in UNION query") ErrUnsupportedUnionMembers unexpected members in UNION queryErrUnsupportedUnionMembers = errors.New("Unexpected members in UNION query") ErrUnexpectedSubQuery Unexpected sub-query in SELECT queryErrUnexpectedSubQuery = errors.New("Unexpected sub-query in SELECT query") ErrDialectNotSetUp dialect is not setup yetErrDialectNotSetUp = errors.New("Dialect is not setup yet, try to use `Dialect(dbType)` at first") ErrInvalidLimitation offset or limit is not correct.
ErrNotSupportDialectType not supported dialect type error.
ErrNoNotInConditions no NOT IN params errorErrNoNotInConditions = errors.New("No NOT IN conditions") ErrNoInConditions no IN params errorErrNoInConditions = errors.New("No IN conditions") ErrNeedMoreArguments need more argumentsErrNeedMoreArguments = errors.New("Need more writeTo arguments") ErrNoTableName no table name.
ErrNotSupportType not supported SQL type error.
ErrNoColumnToUpdate no column to updateErrNoColumnToUpdate = errors.New("No column(s) to update") ErrNoValueToInsert no value to insert.
# Structs
BytesWriter implments Writer and save SQL in bytes.Buffer.
No description provided by the author