operator

package
v0.0.0-...-2b35e24 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operator

type Operator string

An Operator inside an SQL WHERE clause

const (
	Equals         Operator = "="
	NotEquals      Operator = "!="
	Greater        Operator = ">"
	GreaterOrEqual Operator = ">="
	Lower          Operator = "<"
	LowerOrEqual   Operator = "<="
	LikePattern    Operator = "=like"
	Like           Operator = "like"
	NotLike        Operator = "not like"
	ILike          Operator = "ilike"
	NotILike       Operator = "not ilike"
	ILikePattern   Operator = "=ilike"
	In             Operator = "in"
	NotIn          Operator = "not in"
	ChildOf        Operator = "child_of"
)

Operators

func (Operator) IsMulti

func (o Operator) IsMulti() bool

IsMulti returns true if the operator expects a array as arguments

func (Operator) IsValid

func (o Operator) IsValid() bool

IsValid returns true if o is a known operator.

Jump to

Keyboard shortcuts

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