Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Integer ¶
type Integer struct {
Big bool
}
Integer is a type specification, see the Factory interface or each dialect factory to know how it will be implemented in your sql dialect
type JSON ¶
type JSON struct{}
JSON is a type specification representing JSON data, see Factory interface
type NotImplemented ¶
func (NotImplemented) Error ¶
func (e NotImplemented) Error() string
type Serial ¶
type Serial struct {
Big bool
}
Serial is a type specification for an integer AUTO INCREMENT. See each dialect factory to know the specifics of how this will be treated (ie: postgres -> serial, sqlite -> int AUTO INCREMENT)
type Type ¶
type Type interface {
String() string
}
Type represents a concrete type, it provides a String method that returns the name of the type that will appear in SQL statements.
type TypeSpec ¶
type TypeSpec interface {
Name() string
}
TypeSpec is a wrapper around defined around the empty interface that represents a type specification, which can be any of any concrete type