parser

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func From

func From(dsn string, pattern ...string) (*spec.DXL, error)

func NewSqlScanner

func NewSqlScanner(s string) *sqlScanner

func Parse

func Parse(sql string) (*spec.DXL, error)

Parse parses a SQL statement string and returns a spec.DXL.

Types

type Unique

type Unique struct {
	SelectColumns  string
	Table          string
	UpdateSet      string
	WhereClause    string
	UniqueNameJoin string
}

Unique is a unique index info.

Jump to

Keyboard shortcuts

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