dialects

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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