Documentation ¶ Index ¶ type Dialect type MySQL func (MySQL) EscapeBool(w io.Writer, v bool) func (MySQL) EscapeBytes(w io.Writer, b []byte) func (MySQL) EscapeIdent(w io.Writer, ident string) func (MySQL) EscapeString(w io.Writer, s string) func (MySQL) EscapeTime(w io.Writer, t time.Time) func (MySQL) PrintPlaceholderSign(w io.Writer, n int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Dialect ¶ type Dialect interface { EscapeIdent(w io.Writer, ident string) EscapeBool(w io.Writer, v bool) EscapeString(w io.Writer, s string) EscapeBytes(w io.Writer, b []byte) EscapeTime(w io.Writer, t time.Time) // Prints nth placeholder sign starting from 1. PrintPlaceholderSign(w io.Writer, n int) } type MySQL ¶ type MySQL struct{} func (MySQL) EscapeBool ¶ func (MySQL) EscapeBool(w io.Writer, v bool) func (MySQL) EscapeBytes ¶ func (MySQL) EscapeBytes(w io.Writer, b []byte) func (MySQL) EscapeIdent ¶ func (MySQL) EscapeIdent(w io.Writer, ident string) func (MySQL) EscapeString ¶ func (MySQL) EscapeString(w io.Writer, s string) func (MySQL) EscapeTime ¶ func (MySQL) EscapeTime(w io.Writer, t time.Time) func (MySQL) PrintPlaceholderSign ¶ func (MySQL) PrintPlaceholderSign(w io.Writer, n int) Source Files ¶ View all Source files dialects.go mysql.go Click to show internal directories. Click to hide internal directories.