sqliteschema

package
v0.54.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

README

datatug-mssql

MS SQL Server provider for DataTug.app

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL