Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSchemaProvider ¶
func NewSchemaProvider(getSqliteDB func() (*sql.DB, error)) schemer.SchemaProvider
NewSchemaProvider creates a new SchemaProvider for SQLite. It says nothing of what it leaves out of a catalog: see NewSchemaProviderWithWarnings.
func NewSchemaProviderWithWarnings ¶ added in v0.54.3
func NewSchemaProviderWithWarnings(getSqliteDB func() (*sql.DB, error), warnings io.Writer) schemer.SchemaProvider
NewSchemaProviderWithWarnings creates a new SchemaProvider for SQLite that names, on warnings (one line each, nil says nothing), what it leaves out of the catalog and why, so that the scan of a file with a mistake in it reads the rest: a table or view with no name, a view whose definition does not work (it names a table that was dropped), and a foreign key to a table that is not in the file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.