Documentation ¶
Index ¶
Constants ¶
View Source
const ( Year = IntervalUnit(iota) Month Day Hour Minute Second )
Variables ¶
View Source
var ( // MySQL implements a dialect in MySQL. MySQL = Dialect(mySQL{}) // PostgreSQL implements a dialect in PostgreSQL. PostgreSQL = Dialect(postgreSQL{}) // SQLite implements a dialect in SQLite. SQLite = Dialect(sqlite{}) )
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Starter interface{} CUD bool // Whether current context is Create or Update or Delete. Dialect Dialect Placeholder Placeholder Args []interface{} ArgsMap map[interface{}]int }
type Interval ¶
type Interval interface { Value() int Unit() IntervalUnit }
type IntervalUnit ¶
type IntervalUnit int
type Placeholder ¶
Click to show internal directories.
Click to hide internal directories.