Documentation ¶
Index ¶
- func MsParseType(args *internal.ArgType, dt string, nullable bool) (int, string, string)
- func MsQueryColumns(args *internal.ArgType, inspect []string) ([]*models.Column, error)
- func MsRelkind(relType internal.RelType) string
- func MsSchema(args *internal.ArgType) (string, error)
- func MyEnumValues(db models.XODB, schema string, enum string) ([]*models.EnumValue, error)
- func MyParseType(args *internal.ArgType, dt string, nullable bool) (int, string, string)
- func MyQueryColumns(args *internal.ArgType, inspect []string) ([]*models.Column, error)
- func MyRelkind(relType internal.RelType) string
- func MySchema(args *internal.ArgType) (string, error)
- func PgIndexColumns(db models.XODB, schema string, table string, index string) ([]*models.IndexColumn, error)
- func PgParseType(args *internal.ArgType, dt string, nullable bool) (int, string, string)
- func PgQueryColumns(args *internal.ArgType, inspect []string) ([]*models.Column, error)
- func PgQueryStrip(query []string, queryComments []string)
- func PgRelkind(relType internal.RelType) string
- func SqParseType(args *internal.ArgType, dt string, nullable bool) (int, string, string)
- func SqQueryColumns(args *internal.ArgType, inspect []string) ([]*models.Column, error)
- func SqRelkind(relType internal.RelType) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MsParseType ¶
MsParseType parse a postgres type into a Go type based on the column definition.
func MsQueryColumns ¶
MsQueryColumns parses the query and generates a type for it.
func MyEnumValues ¶
MyEnumValues loads the enum values.
func MyParseType ¶
MyParseType parse a mysql type into a Go type based on the column definition.
func MyQueryColumns ¶
MyQueryColumns parses the query and generates a type for it.
func PgIndexColumns ¶
func PgIndexColumns(db models.XODB, schema string, table string, index string) ([]*models.IndexColumn, error)
PgIndexColumns returns the column list for an index.
func PgParseType ¶
PgParseType parse a postgres type into a Go type based on the column definition.
func PgQueryColumns ¶
PgQueryColumns parses the query and generates a type for it.
func PgQueryStrip ¶
PgQueryStrip strips stuff.
func SqParseType ¶
SqParseType parse a postgres type into a Go type based on the column definition.
func SqQueryColumns ¶
SqQueryColumns parses a sqlite query and generates a type for it.
Types ¶
This section is empty.