package
0.0.0-20231107093951-724cd6576cba
Repository: https://github.com/amksd/xo.git
Documentation: pkg.go.dev
# Functions
DriverDbSchema returns the driver, database connection, and schema name from the context.
ParseType parses "type[ (precision[,scale])][\[\]]" strings returning the parsed precision, scale, and if the type is an array or not.
# Structs
Enum is a enum type.
Field is a column, index, enum value, or stored procedure parameter.
Flag is a option flag.
FlagSet is a set of flags for a driver.
ForeignKey is a foreign key.
Index is a index.
Proc is a stored procedure.
Query is a query.
Schema is a SQL schema.
Table is a table or view.
Type holds information for a database type.
XO wraps query and schema information.
# Type aliases
ContextKey is a context key.