presto

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAndFormatSql

func ValidateAndFormatSql(sql string, params ...interface{}) (string, error)

Types

type PreparedSQL

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

func ParseSQL

func ParseSQL(sql string) (*PreparedSQL, error)

func (*PreparedSQL) Format

func (prep *PreparedSQL) Format(params ...interface{}) (string, error)

func (*PreparedSQL) NumInput

func (prep *PreparedSQL) NumInput() (count int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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