customtype

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the customtype type in the database.
	Label = "custom_type"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCustom holds the string denoting the custom field in the database.
	FieldCustom = "custom"
	// FieldTz0 holds the string denoting the tz0 field in the database.
	FieldTz0 = "tz0"
	// FieldTz3 holds the string denoting the tz3 field in the database.
	FieldTz3 = "tz3"
	// Table holds the table name of the customtype in the database.
	Table = "custom_types"
)

Variables

Columns holds all SQL columns for customtype fields.

Functions

func And

func And(predicates ...predicate.CustomType) predicate.CustomType

And groups predicates with the AND operator between them.

func Custom

func Custom(v string) predicate.CustomType

Custom applies equality check predicate on the "custom" field. It's identical to CustomEQ.

func CustomContains

func CustomContains(v string) predicate.CustomType

CustomContains applies the Contains predicate on the "custom" field.

func CustomContainsFold

func CustomContainsFold(v string) predicate.CustomType

CustomContainsFold applies the ContainsFold predicate on the "custom" field.

func CustomEQ

func CustomEQ(v string) predicate.CustomType

CustomEQ applies the EQ predicate on the "custom" field.

func CustomEqualFold

func CustomEqualFold(v string) predicate.CustomType

CustomEqualFold applies the EqualFold predicate on the "custom" field.

func CustomGT

func CustomGT(v string) predicate.CustomType

CustomGT applies the GT predicate on the "custom" field.

func CustomGTE

func CustomGTE(v string) predicate.CustomType

CustomGTE applies the GTE predicate on the "custom" field.

func CustomHasPrefix

func CustomHasPrefix(v string) predicate.CustomType

CustomHasPrefix applies the HasPrefix predicate on the "custom" field.

func CustomHasSuffix

func CustomHasSuffix(v string) predicate.CustomType

CustomHasSuffix applies the HasSuffix predicate on the "custom" field.

func CustomIn

func CustomIn(vs ...string) predicate.CustomType

CustomIn applies the In predicate on the "custom" field.

func CustomIsNil

func CustomIsNil() predicate.CustomType

CustomIsNil applies the IsNil predicate on the "custom" field.

func CustomLT

func CustomLT(v string) predicate.CustomType

CustomLT applies the LT predicate on the "custom" field.

func CustomLTE

func CustomLTE(v string) predicate.CustomType

CustomLTE applies the LTE predicate on the "custom" field.

func CustomNEQ

func CustomNEQ(v string) predicate.CustomType

CustomNEQ applies the NEQ predicate on the "custom" field.

func CustomNotIn

func CustomNotIn(vs ...string) predicate.CustomType

CustomNotIn applies the NotIn predicate on the "custom" field.

func CustomNotNil

func CustomNotNil() predicate.CustomType

CustomNotNil applies the NotNil predicate on the "custom" field.

func ID

func ID(id int) predicate.CustomType

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.CustomType

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.CustomType

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.CustomType

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.CustomType

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.CustomType

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.CustomType

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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.CustomType) predicate.CustomType

Or groups predicates with the OR operator between them.

func Tz0 added in v0.11.0

Tz0 applies equality check predicate on the "tz0" field. It's identical to Tz0EQ.

func Tz0EQ added in v0.11.0

func Tz0EQ(v time.Time) predicate.CustomType

Tz0EQ applies the EQ predicate on the "tz0" field.

func Tz0GT added in v0.11.0

func Tz0GT(v time.Time) predicate.CustomType

Tz0GT applies the GT predicate on the "tz0" field.

func Tz0GTE added in v0.11.0

func Tz0GTE(v time.Time) predicate.CustomType

Tz0GTE applies the GTE predicate on the "tz0" field.

func Tz0In added in v0.11.0

func Tz0In(vs ...time.Time) predicate.CustomType

Tz0In applies the In predicate on the "tz0" field.

func Tz0IsNil added in v0.11.0

func Tz0IsNil() predicate.CustomType

Tz0IsNil applies the IsNil predicate on the "tz0" field.

func Tz0LT added in v0.11.0

func Tz0LT(v time.Time) predicate.CustomType

Tz0LT applies the LT predicate on the "tz0" field.

func Tz0LTE added in v0.11.0

func Tz0LTE(v time.Time) predicate.CustomType

Tz0LTE applies the LTE predicate on the "tz0" field.

func Tz0NEQ added in v0.11.0

func Tz0NEQ(v time.Time) predicate.CustomType

Tz0NEQ applies the NEQ predicate on the "tz0" field.

func Tz0NotIn added in v0.11.0

func Tz0NotIn(vs ...time.Time) predicate.CustomType

Tz0NotIn applies the NotIn predicate on the "tz0" field.

func Tz0NotNil added in v0.11.0

func Tz0NotNil() predicate.CustomType

Tz0NotNil applies the NotNil predicate on the "tz0" field.

func Tz3 added in v0.11.0

Tz3 applies equality check predicate on the "tz3" field. It's identical to Tz3EQ.

func Tz3EQ added in v0.11.0

func Tz3EQ(v time.Time) predicate.CustomType

Tz3EQ applies the EQ predicate on the "tz3" field.

func Tz3GT added in v0.11.0

func Tz3GT(v time.Time) predicate.CustomType

Tz3GT applies the GT predicate on the "tz3" field.

func Tz3GTE added in v0.11.0

func Tz3GTE(v time.Time) predicate.CustomType

Tz3GTE applies the GTE predicate on the "tz3" field.

func Tz3In added in v0.11.0

func Tz3In(vs ...time.Time) predicate.CustomType

Tz3In applies the In predicate on the "tz3" field.

func Tz3IsNil added in v0.11.0

func Tz3IsNil() predicate.CustomType

Tz3IsNil applies the IsNil predicate on the "tz3" field.

func Tz3LT added in v0.11.0

func Tz3LT(v time.Time) predicate.CustomType

Tz3LT applies the LT predicate on the "tz3" field.

func Tz3LTE added in v0.11.0

func Tz3LTE(v time.Time) predicate.CustomType

Tz3LTE applies the LTE predicate on the "tz3" field.

func Tz3NEQ added in v0.11.0

func Tz3NEQ(v time.Time) predicate.CustomType

Tz3NEQ applies the NEQ predicate on the "tz3" field.

func Tz3NotIn added in v0.11.0

func Tz3NotIn(vs ...time.Time) predicate.CustomType

Tz3NotIn applies the NotIn predicate on the "tz3" field.

func Tz3NotNil added in v0.11.0

func Tz3NotNil() predicate.CustomType

Tz3NotNil applies the NotNil predicate on the "tz3" 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