jsm

package
v0.0.0-...-f46e4bf Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LeftJOIN  joinType = "LEFT"
	RightJOIN joinType = "RIGHT"
	InnerJOIN joinType = "INNER"
	CrossJOIN joinType = "CROSS"
)

Variables

This section is empty.

Functions

func DbSpecificQuery

func DbSpecificQuery() map[dataBase]func(sb *strings.Builder)

function that transforms the expressions based on the query

func NewClause

func NewClause() *clause

Types

type Clause

type Clause interface {
	Build(sb *strings.Builder)
}

type QueryBuilder

type QueryBuilder interface {
	Build(sb strings.Builder)
}

type QueryParser

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

func NewQueryParser

func NewQueryParser(cl *clause) *QueryParser

func (*QueryParser) Parse

func (q *QueryParser) Parse(body []byte) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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