pgparser

package
v0.0.0-...-d4c7a2f Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FastFingerprint

func FastFingerprint(input string) (result string, err error)

FastFingerprint - Fingerprint the passed SQL statement using the C extension

func Normalize

func Normalize(input string) (result string, err error)

Normalize the passed SQL statement to replace constant values with ? characters

func ParsePlPgSqlToJSON

func ParsePlPgSqlToJSON(input string) (result string, err error)

ParsePlPgSqlToJSON - Parses the given PL/pgSQL function statement into an AST (JSON format)

func ParseToJSON

func ParseToJSON(input string) (result string, err error)

ParseToJSON - Parses the given SQL statement into an AST (JSON format)

Types

This section is empty.

Jump to

Keyboard shortcuts

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