Documentation ¶
Index ¶
- Constants
- func Custom(name string, dtype string, additionals []string) string
- func Default(val interface{}) string
- func FK_FIELD(name string, tablename string, ref string, on_delete string) string
- func Id() string
- func Integer(name string, additionals []string) string
- func Text(name string, additionals []string) string
- func Varchar(name string, additionals []string) string
Constants ¶
View Source
const ( CASCADE = "CASCADE" SET_NULL = "SET NULL" RESTRICT = "RESTRICT" NO_ACTION = "NO ACTION" SET_DEFAULT = "SET DEFAULT" PK = "PRIMARY KEY" AI = "AUTOINCREMENT" NN = "NOT NULL" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.