Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDB ¶
GenerateDB generates jet files using the provided *sql.DB
func GenerateDSN ¶
GenerateDSN generates jet files using dsn connection string
func ReadSchema ¶
ReadSchema reads the metadata of the main database of db, as GenerateDB does, and prints nothing. Each table also carries its foreign keys and the declared type of each column, which GenerateDB does not read. Pass the result to template.Render to generate the files in memory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.