Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLBuilder ¶
type SQLBuilder interface { Error() error SetError(err error) SQLBuilder WriteArg(i ...interface{}) SQLBuilder Write(p []byte) SQLBuilder WriteStrings(ss ...string) SQLBuilder WriteRunes(r ...rune) SQLBuilder IsPrepared() bool CurrentArgPosition() int ToSQL() (sql string, args []interface{}, err error) }
Builder that is composed of a bytes.Buffer. It is used internally and by adapters to build SQL statements
func NewSQLBuilder ¶
func NewSQLBuilder(isPrepared bool) SQLBuilder
Click to show internal directories.
Click to hide internal directories.