sql

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayElement

func ArrayElement(a string, el string) string

func Column

func Column(c string) string

func Eq

func Eq(a, b string) string

func Gt

func Gt(a, b string) string

func Gte

func Gte(a, b string) string

func Lt

func Lt(a, b string) string

func Lte

func Lte(a, b string) string

func Match

func Match(a, b string) string

func Ne

func Ne(a, b string) string

func Not

func Not(a string) string

func Quote

func Quote(value interface{}) string

func Template

func Template(t string, args interface{}) (string, error)

Types

type Where

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

func NewWhere

func NewWhere() *Where

func (*Where) And

func (w *Where) And(exp string)

func (*Where) Andf

func (w *Where) Andf(format string, obj ...interface{})

func (*Where) Or

func (w *Where) Or(exp string)

func (*Where) PreWhereSQL

func (w *Where) PreWhereSQL() string

func (*Where) SQL

func (w *Where) SQL() string

func (*Where) String

func (w *Where) String() string

Jump to

Keyboard shortcuts

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