quals

package
v4.1.13 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const QualOperatorIsNotNull = "is not null"
View Source
const QualOperatorIsNull = "is null"

Variables

This section is empty.

Functions

This section is empty.

Types

type Qual

type Qual struct {
	Column   string
	Operator string
	Value    *proto.QualValue
}

Qual is a struct which represents a database qual in a more easily digestible form that proto.Qual

func NewQual

func NewQual(q *proto.Qual) *Qual

func (*Qual) Equals

func (q *Qual) Equals(other *Qual) bool

func (*Qual) ToProto

func (q *Qual) ToProto() *proto.Qual

type QualSlice

type QualSlice []*Qual

func (QualSlice) Contains

func (s QualSlice) Contains(other *Qual) bool

func (QualSlice) SingleEqualsQual

func (s QualSlice) SingleEqualsQual() bool

func (QualSlice) ToProto

func (s QualSlice) ToProto() *proto.Quals

Jump to

Keyboard shortcuts

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