sql

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 10

Documentation

Index

Constants

View Source
const (
	Version = ""
)

Variables

View Source
var ErrEmptyQuery = parser.ErrEmptyQuery

ErrEmptyQuery is returned when the query is empty.

Functions

This section is empty.

Types

type Parser

type Parser interface {
	// ParseString parses a SQL statement string and returns the query statements.
	ParseString(string) ([]query.Statement, error)
}

Parser represents a parser interface for SQL.

func NewParser

func NewParser() Parser

NewParser returns a new parser.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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