sqlparser

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLParser

type SQLParser struct {
	// contains filtered or unexported fields
}

func Parser

func Parser() *SQLParser

Parser returns the default SQL parser.

func (*SQLParser) FingerAndParameter

func (sp *SQLParser) FingerAndParameter(sql string) (*SQLParser, error)

func (*SQLParser) Result

func (sp *SQLParser) Result() (tmpl string, params []string)

Result after calling Finger And Parameter, you can call this function to get the SQL template and parameter list.

Jump to

Keyboard shortcuts

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