nilexample

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the nilexample type in the database.
	Label = "nil_example"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldStrNil holds the string denoting the str_nil field in the database.
	FieldStrNil = "str_nil"
	// FieldTimeNil holds the string denoting the time_nil field in the database.
	FieldTimeNil = "time_nil"
	// Table holds the table name of the nilexample in the database.
	Table = "nil_examples"
)

Variables

Columns holds all SQL columns for nilexample fields.

Functions

func And

func And(predicates ...predicate.NilExample) predicate.NilExample

And groups predicates with the AND operator between them.

func ID

func ID(id int) predicate.NilExample

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.NilExample

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.NilExample

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.NilExample

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.NilExample

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.NilExample

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.NilExample

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.NilExample

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.NilExample

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.NilExample) predicate.NilExample

Or groups predicates with the OR operator between them.

func StrNil

func StrNil(v string) predicate.NilExample

StrNil applies equality check predicate on the "str_nil" field. It's identical to StrNilEQ.

func StrNilContains

func StrNilContains(v string) predicate.NilExample

StrNilContains applies the Contains predicate on the "str_nil" field.

func StrNilContainsFold

func StrNilContainsFold(v string) predicate.NilExample

StrNilContainsFold applies the ContainsFold predicate on the "str_nil" field.

func StrNilEQ

func StrNilEQ(v string) predicate.NilExample

StrNilEQ applies the EQ predicate on the "str_nil" field.

func StrNilEqualFold

func StrNilEqualFold(v string) predicate.NilExample

StrNilEqualFold applies the EqualFold predicate on the "str_nil" field.

func StrNilGT

func StrNilGT(v string) predicate.NilExample

StrNilGT applies the GT predicate on the "str_nil" field.

func StrNilGTE

func StrNilGTE(v string) predicate.NilExample

StrNilGTE applies the GTE predicate on the "str_nil" field.

func StrNilHasPrefix

func StrNilHasPrefix(v string) predicate.NilExample

StrNilHasPrefix applies the HasPrefix predicate on the "str_nil" field.

func StrNilHasSuffix

func StrNilHasSuffix(v string) predicate.NilExample

StrNilHasSuffix applies the HasSuffix predicate on the "str_nil" field.

func StrNilIn

func StrNilIn(vs ...string) predicate.NilExample

StrNilIn applies the In predicate on the "str_nil" field.

func StrNilIsNil

func StrNilIsNil() predicate.NilExample

StrNilIsNil applies the IsNil predicate on the "str_nil" field.

func StrNilLT

func StrNilLT(v string) predicate.NilExample

StrNilLT applies the LT predicate on the "str_nil" field.

func StrNilLTE

func StrNilLTE(v string) predicate.NilExample

StrNilLTE applies the LTE predicate on the "str_nil" field.

func StrNilNEQ

func StrNilNEQ(v string) predicate.NilExample

StrNilNEQ applies the NEQ predicate on the "str_nil" field.

func StrNilNotIn

func StrNilNotIn(vs ...string) predicate.NilExample

StrNilNotIn applies the NotIn predicate on the "str_nil" field.

func StrNilNotNil

func StrNilNotNil() predicate.NilExample

StrNilNotNil applies the NotNil predicate on the "str_nil" field.

func TimeNil

func TimeNil(v time.Time) predicate.NilExample

TimeNil applies equality check predicate on the "time_nil" field. It's identical to TimeNilEQ.

func TimeNilEQ

func TimeNilEQ(v time.Time) predicate.NilExample

TimeNilEQ applies the EQ predicate on the "time_nil" field.

func TimeNilGT

func TimeNilGT(v time.Time) predicate.NilExample

TimeNilGT applies the GT predicate on the "time_nil" field.

func TimeNilGTE

func TimeNilGTE(v time.Time) predicate.NilExample

TimeNilGTE applies the GTE predicate on the "time_nil" field.

func TimeNilIn

func TimeNilIn(vs ...time.Time) predicate.NilExample

TimeNilIn applies the In predicate on the "time_nil" field.

func TimeNilIsNil

func TimeNilIsNil() predicate.NilExample

TimeNilIsNil applies the IsNil predicate on the "time_nil" field.

func TimeNilLT

func TimeNilLT(v time.Time) predicate.NilExample

TimeNilLT applies the LT predicate on the "time_nil" field.

func TimeNilLTE

func TimeNilLTE(v time.Time) predicate.NilExample

TimeNilLTE applies the LTE predicate on the "time_nil" field.

func TimeNilNEQ

func TimeNilNEQ(v time.Time) predicate.NilExample

TimeNilNEQ applies the NEQ predicate on the "time_nil" field.

func TimeNilNotIn

func TimeNilNotIn(vs ...time.Time) predicate.NilExample

TimeNilNotIn applies the NotIn predicate on the "time_nil" field.

func TimeNilNotNil

func TimeNilNotNil() predicate.NilExample

TimeNilNotNil applies the NotNil predicate on the "time_nil" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

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