sqlparser

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveSchemaFiles

func ResolveSchemaFiles(schemaPath string) ([]string, error)

ResolveSchemaFiles expands a schema path (file or directory) into a sorted list of .sql files.

Types

type Parser

type Parser interface {
	ParseSchema(files []string) (*catalog.Catalog, error)
}

Parser parses SQL schema files and returns a catalog.

func NewParser

func NewParser(engine string) (Parser, error)

NewParser creates a parser for the given database engine.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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