sqlcompiler

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DialectUnknown int
	DialectPostgres
)

SQL dialects

Variables

This section is empty.

Functions

func CompileCondition

func CompileCondition(dialect int, singleCondition string, colNameReplacer *strings.Replacer) (string, error)

CompileCondition compiles the given input condition string into an SQL condition string. Optional colNameReplacer can be specified to adjust the column names in the SQL condition.

Types

This section is empty.

Jump to

Keyboard shortcuts

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