dialect

package
v0.0.0-...-0380b65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mysql

type Mysql struct{}

func (Mysql) ApplyLimitAndOffset

func (Mysql) ApplyLimitAndOffset(w query.Writer, limit, offset uint64)

func (Mysql) EscapeBool

func (Mysql) EscapeBool(w query.Writer, b bool)

func (Mysql) EscapeIdent

func (Mysql) EscapeIdent(w query.Writer, ident string)

func (Mysql) EscapeString

func (Mysql) EscapeString(w query.Writer, s string)

Need to turn \x00, \n, \r, \, ', " and \x1a. Returns an escaped, quoted string. eg, "hello 'world'" -> "'hello \'world\”".

func (Mysql) EscapeTime

func (d Mysql) EscapeTime(w query.Writer, t time.Time)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL