parser

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package parser provides functions to load and parse SQLite schemas

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromDatabase

func FromDatabase(dbPath string) (*schema.Database, error)

FromDatabase extracts the schema from an existing SQLite database

func FromDirectory

func FromDirectory(dir string) (*schema.Database, error)

FromDirectory loads all .sql files from a directory by applying them to an in-memory database

func FromSQL

func FromSQL(sqlContent string) (*schema.Database, error)

FromSQL parses SQL by executing it against an in-memory SQLite database

Types

This section is empty.

Jump to

Keyboard shortcuts

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