# README
MySQL Support
Example Usage
$ cd ./example
$ sqlc unstable__mysql generate
Missing Features
- support for the
queries
field being specified as a directory of files - missing many MySQL types and function returns types
# Functions
GeneratePkg is the main entry to mysql generator package.
NewSchema gives a newly instantiated MySQL schema map.
# Structs
FromTable describes a table reference in the "FROM" clause of a query.
Param describes a runtime query parameter with its associated type.
Query holds the data for walking and validating mysql querys.
Result holds the mysql validated queries schema.
Schema proves that information for mapping columns in queries to their respective table definitions and validating that they are correct so as to map to the correct Go type.
# Type aliases
FromTables describes a map between table alias expressions and the proper table name.