messagewithoptionals

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the messagewithoptionals type in the database.
	Label = "message_with_optionals"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldStrOptional holds the string denoting the str_optional field in the database.
	FieldStrOptional = "str_optional"
	// FieldIntOptional holds the string denoting the int_optional field in the database.
	FieldIntOptional = "int_optional"
	// FieldUintOptional holds the string denoting the uint_optional field in the database.
	FieldUintOptional = "uint_optional"
	// FieldFloatOptional holds the string denoting the float_optional field in the database.
	FieldFloatOptional = "float_optional"
	// FieldBoolOptional holds the string denoting the bool_optional field in the database.
	FieldBoolOptional = "bool_optional"
	// FieldBytesOptional holds the string denoting the bytes_optional field in the database.
	FieldBytesOptional = "bytes_optional"
	// FieldUUIDOptional holds the string denoting the uuid_optional field in the database.
	FieldUUIDOptional = "uuid_optional"
	// FieldTimeOptional holds the string denoting the time_optional field in the database.
	FieldTimeOptional = "time_optional"
	// Table holds the table name of the messagewithoptionals in the database.
	Table = "message_with_optionals"
)

Variables

Columns holds all SQL columns for messagewithoptionals fields.

Functions

func And

And groups predicates with the AND operator between them.

func BoolOptional

func BoolOptional(v bool) predicate.MessageWithOptionals

BoolOptional applies equality check predicate on the "bool_optional" field. It's identical to BoolOptionalEQ.

func BoolOptionalEQ

func BoolOptionalEQ(v bool) predicate.MessageWithOptionals

BoolOptionalEQ applies the EQ predicate on the "bool_optional" field.

func BoolOptionalIsNil

func BoolOptionalIsNil() predicate.MessageWithOptionals

BoolOptionalIsNil applies the IsNil predicate on the "bool_optional" field.

func BoolOptionalNEQ

func BoolOptionalNEQ(v bool) predicate.MessageWithOptionals

BoolOptionalNEQ applies the NEQ predicate on the "bool_optional" field.

func BoolOptionalNotNil

func BoolOptionalNotNil() predicate.MessageWithOptionals

BoolOptionalNotNil applies the NotNil predicate on the "bool_optional" field.

func BytesOptional

func BytesOptional(v []byte) predicate.MessageWithOptionals

BytesOptional applies equality check predicate on the "bytes_optional" field. It's identical to BytesOptionalEQ.

func BytesOptionalEQ

func BytesOptionalEQ(v []byte) predicate.MessageWithOptionals

BytesOptionalEQ applies the EQ predicate on the "bytes_optional" field.

func BytesOptionalGT

func BytesOptionalGT(v []byte) predicate.MessageWithOptionals

BytesOptionalGT applies the GT predicate on the "bytes_optional" field.

func BytesOptionalGTE

func BytesOptionalGTE(v []byte) predicate.MessageWithOptionals

BytesOptionalGTE applies the GTE predicate on the "bytes_optional" field.

func BytesOptionalIn

func BytesOptionalIn(vs ...[]byte) predicate.MessageWithOptionals

BytesOptionalIn applies the In predicate on the "bytes_optional" field.

func BytesOptionalIsNil

func BytesOptionalIsNil() predicate.MessageWithOptionals

BytesOptionalIsNil applies the IsNil predicate on the "bytes_optional" field.

func BytesOptionalLT

func BytesOptionalLT(v []byte) predicate.MessageWithOptionals

BytesOptionalLT applies the LT predicate on the "bytes_optional" field.

func BytesOptionalLTE

func BytesOptionalLTE(v []byte) predicate.MessageWithOptionals

BytesOptionalLTE applies the LTE predicate on the "bytes_optional" field.

func BytesOptionalNEQ

func BytesOptionalNEQ(v []byte) predicate.MessageWithOptionals

BytesOptionalNEQ applies the NEQ predicate on the "bytes_optional" field.

func BytesOptionalNotIn

func BytesOptionalNotIn(vs ...[]byte) predicate.MessageWithOptionals

BytesOptionalNotIn applies the NotIn predicate on the "bytes_optional" field.

func BytesOptionalNotNil

func BytesOptionalNotNil() predicate.MessageWithOptionals

BytesOptionalNotNil applies the NotNil predicate on the "bytes_optional" field.

func FloatOptional

func FloatOptional(v float32) predicate.MessageWithOptionals

FloatOptional applies equality check predicate on the "float_optional" field. It's identical to FloatOptionalEQ.

func FloatOptionalEQ

func FloatOptionalEQ(v float32) predicate.MessageWithOptionals

FloatOptionalEQ applies the EQ predicate on the "float_optional" field.

func FloatOptionalGT

func FloatOptionalGT(v float32) predicate.MessageWithOptionals

FloatOptionalGT applies the GT predicate on the "float_optional" field.

func FloatOptionalGTE

func FloatOptionalGTE(v float32) predicate.MessageWithOptionals

FloatOptionalGTE applies the GTE predicate on the "float_optional" field.

func FloatOptionalIn

func FloatOptionalIn(vs ...float32) predicate.MessageWithOptionals

FloatOptionalIn applies the In predicate on the "float_optional" field.

func FloatOptionalIsNil

func FloatOptionalIsNil() predicate.MessageWithOptionals

FloatOptionalIsNil applies the IsNil predicate on the "float_optional" field.

func FloatOptionalLT

func FloatOptionalLT(v float32) predicate.MessageWithOptionals

FloatOptionalLT applies the LT predicate on the "float_optional" field.

func FloatOptionalLTE

func FloatOptionalLTE(v float32) predicate.MessageWithOptionals

FloatOptionalLTE applies the LTE predicate on the "float_optional" field.

func FloatOptionalNEQ

func FloatOptionalNEQ(v float32) predicate.MessageWithOptionals

FloatOptionalNEQ applies the NEQ predicate on the "float_optional" field.

func FloatOptionalNotIn

func FloatOptionalNotIn(vs ...float32) predicate.MessageWithOptionals

FloatOptionalNotIn applies the NotIn predicate on the "float_optional" field.

func FloatOptionalNotNil

func FloatOptionalNotNil() predicate.MessageWithOptionals

FloatOptionalNotNil applies the NotNil predicate on the "float_optional" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IntOptional

func IntOptional(v int8) predicate.MessageWithOptionals

IntOptional applies equality check predicate on the "int_optional" field. It's identical to IntOptionalEQ.

func IntOptionalEQ

func IntOptionalEQ(v int8) predicate.MessageWithOptionals

IntOptionalEQ applies the EQ predicate on the "int_optional" field.

func IntOptionalGT

func IntOptionalGT(v int8) predicate.MessageWithOptionals

IntOptionalGT applies the GT predicate on the "int_optional" field.

func IntOptionalGTE

func IntOptionalGTE(v int8) predicate.MessageWithOptionals

IntOptionalGTE applies the GTE predicate on the "int_optional" field.

func IntOptionalIn

func IntOptionalIn(vs ...int8) predicate.MessageWithOptionals

IntOptionalIn applies the In predicate on the "int_optional" field.

func IntOptionalIsNil

func IntOptionalIsNil() predicate.MessageWithOptionals

IntOptionalIsNil applies the IsNil predicate on the "int_optional" field.

func IntOptionalLT

func IntOptionalLT(v int8) predicate.MessageWithOptionals

IntOptionalLT applies the LT predicate on the "int_optional" field.

func IntOptionalLTE

func IntOptionalLTE(v int8) predicate.MessageWithOptionals

IntOptionalLTE applies the LTE predicate on the "int_optional" field.

func IntOptionalNEQ

func IntOptionalNEQ(v int8) predicate.MessageWithOptionals

IntOptionalNEQ applies the NEQ predicate on the "int_optional" field.

func IntOptionalNotIn

func IntOptionalNotIn(vs ...int8) predicate.MessageWithOptionals

IntOptionalNotIn applies the NotIn predicate on the "int_optional" field.

func IntOptionalNotNil

func IntOptionalNotNil() predicate.MessageWithOptionals

IntOptionalNotNil applies the NotNil predicate on the "int_optional" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func StrOptional

func StrOptional(v string) predicate.MessageWithOptionals

StrOptional applies equality check predicate on the "str_optional" field. It's identical to StrOptionalEQ.

func StrOptionalContains

func StrOptionalContains(v string) predicate.MessageWithOptionals

StrOptionalContains applies the Contains predicate on the "str_optional" field.

func StrOptionalContainsFold

func StrOptionalContainsFold(v string) predicate.MessageWithOptionals

StrOptionalContainsFold applies the ContainsFold predicate on the "str_optional" field.

func StrOptionalEQ

func StrOptionalEQ(v string) predicate.MessageWithOptionals

StrOptionalEQ applies the EQ predicate on the "str_optional" field.

func StrOptionalEqualFold

func StrOptionalEqualFold(v string) predicate.MessageWithOptionals

StrOptionalEqualFold applies the EqualFold predicate on the "str_optional" field.

func StrOptionalGT

func StrOptionalGT(v string) predicate.MessageWithOptionals

StrOptionalGT applies the GT predicate on the "str_optional" field.

func StrOptionalGTE

func StrOptionalGTE(v string) predicate.MessageWithOptionals

StrOptionalGTE applies the GTE predicate on the "str_optional" field.

func StrOptionalHasPrefix

func StrOptionalHasPrefix(v string) predicate.MessageWithOptionals

StrOptionalHasPrefix applies the HasPrefix predicate on the "str_optional" field.

func StrOptionalHasSuffix

func StrOptionalHasSuffix(v string) predicate.MessageWithOptionals

StrOptionalHasSuffix applies the HasSuffix predicate on the "str_optional" field.

func StrOptionalIn

func StrOptionalIn(vs ...string) predicate.MessageWithOptionals

StrOptionalIn applies the In predicate on the "str_optional" field.

func StrOptionalIsNil

func StrOptionalIsNil() predicate.MessageWithOptionals

StrOptionalIsNil applies the IsNil predicate on the "str_optional" field.

func StrOptionalLT

func StrOptionalLT(v string) predicate.MessageWithOptionals

StrOptionalLT applies the LT predicate on the "str_optional" field.

func StrOptionalLTE

func StrOptionalLTE(v string) predicate.MessageWithOptionals

StrOptionalLTE applies the LTE predicate on the "str_optional" field.

func StrOptionalNEQ

func StrOptionalNEQ(v string) predicate.MessageWithOptionals

StrOptionalNEQ applies the NEQ predicate on the "str_optional" field.

func StrOptionalNotIn

func StrOptionalNotIn(vs ...string) predicate.MessageWithOptionals

StrOptionalNotIn applies the NotIn predicate on the "str_optional" field.

func StrOptionalNotNil

func StrOptionalNotNil() predicate.MessageWithOptionals

StrOptionalNotNil applies the NotNil predicate on the "str_optional" field.

func TimeOptional

func TimeOptional(v time.Time) predicate.MessageWithOptionals

TimeOptional applies equality check predicate on the "time_optional" field. It's identical to TimeOptionalEQ.

func TimeOptionalEQ

func TimeOptionalEQ(v time.Time) predicate.MessageWithOptionals

TimeOptionalEQ applies the EQ predicate on the "time_optional" field.

func TimeOptionalGT

func TimeOptionalGT(v time.Time) predicate.MessageWithOptionals

TimeOptionalGT applies the GT predicate on the "time_optional" field.

func TimeOptionalGTE

func TimeOptionalGTE(v time.Time) predicate.MessageWithOptionals

TimeOptionalGTE applies the GTE predicate on the "time_optional" field.

func TimeOptionalIn

func TimeOptionalIn(vs ...time.Time) predicate.MessageWithOptionals

TimeOptionalIn applies the In predicate on the "time_optional" field.

func TimeOptionalIsNil

func TimeOptionalIsNil() predicate.MessageWithOptionals

TimeOptionalIsNil applies the IsNil predicate on the "time_optional" field.

func TimeOptionalLT

func TimeOptionalLT(v time.Time) predicate.MessageWithOptionals

TimeOptionalLT applies the LT predicate on the "time_optional" field.

func TimeOptionalLTE

func TimeOptionalLTE(v time.Time) predicate.MessageWithOptionals

TimeOptionalLTE applies the LTE predicate on the "time_optional" field.

func TimeOptionalNEQ

func TimeOptionalNEQ(v time.Time) predicate.MessageWithOptionals

TimeOptionalNEQ applies the NEQ predicate on the "time_optional" field.

func TimeOptionalNotIn

func TimeOptionalNotIn(vs ...time.Time) predicate.MessageWithOptionals

TimeOptionalNotIn applies the NotIn predicate on the "time_optional" field.

func TimeOptionalNotNil

func TimeOptionalNotNil() predicate.MessageWithOptionals

TimeOptionalNotNil applies the NotNil predicate on the "time_optional" field.

func UUIDOptional

func UUIDOptional(v uuid.UUID) predicate.MessageWithOptionals

UUIDOptional applies equality check predicate on the "uuid_optional" field. It's identical to UUIDOptionalEQ.

func UUIDOptionalEQ

func UUIDOptionalEQ(v uuid.UUID) predicate.MessageWithOptionals

UUIDOptionalEQ applies the EQ predicate on the "uuid_optional" field.

func UUIDOptionalGT

func UUIDOptionalGT(v uuid.UUID) predicate.MessageWithOptionals

UUIDOptionalGT applies the GT predicate on the "uuid_optional" field.

func UUIDOptionalGTE

func UUIDOptionalGTE(v uuid.UUID) predicate.MessageWithOptionals

UUIDOptionalGTE applies the GTE predicate on the "uuid_optional" field.

func UUIDOptionalIn

func UUIDOptionalIn(vs ...uuid.UUID) predicate.MessageWithOptionals

UUIDOptionalIn applies the In predicate on the "uuid_optional" field.

func UUIDOptionalIsNil

func UUIDOptionalIsNil() predicate.MessageWithOptionals

UUIDOptionalIsNil applies the IsNil predicate on the "uuid_optional" field.

func UUIDOptionalLT

func UUIDOptionalLT(v uuid.UUID) predicate.MessageWithOptionals

UUIDOptionalLT applies the LT predicate on the "uuid_optional" field.

func UUIDOptionalLTE

func UUIDOptionalLTE(v uuid.UUID) predicate.MessageWithOptionals

UUIDOptionalLTE applies the LTE predicate on the "uuid_optional" field.

func UUIDOptionalNEQ

func UUIDOptionalNEQ(v uuid.UUID) predicate.MessageWithOptionals

UUIDOptionalNEQ applies the NEQ predicate on the "uuid_optional" field.

func UUIDOptionalNotIn

func UUIDOptionalNotIn(vs ...uuid.UUID) predicate.MessageWithOptionals

UUIDOptionalNotIn applies the NotIn predicate on the "uuid_optional" field.

func UUIDOptionalNotNil

func UUIDOptionalNotNil() predicate.MessageWithOptionals

UUIDOptionalNotNil applies the NotNil predicate on the "uuid_optional" field.

func UintOptional

func UintOptional(v uint8) predicate.MessageWithOptionals

UintOptional applies equality check predicate on the "uint_optional" field. It's identical to UintOptionalEQ.

func UintOptionalEQ

func UintOptionalEQ(v uint8) predicate.MessageWithOptionals

UintOptionalEQ applies the EQ predicate on the "uint_optional" field.

func UintOptionalGT

func UintOptionalGT(v uint8) predicate.MessageWithOptionals

UintOptionalGT applies the GT predicate on the "uint_optional" field.

func UintOptionalGTE

func UintOptionalGTE(v uint8) predicate.MessageWithOptionals

UintOptionalGTE applies the GTE predicate on the "uint_optional" field.

func UintOptionalIn

func UintOptionalIn(vs ...uint8) predicate.MessageWithOptionals

UintOptionalIn applies the In predicate on the "uint_optional" field.

func UintOptionalIsNil

func UintOptionalIsNil() predicate.MessageWithOptionals

UintOptionalIsNil applies the IsNil predicate on the "uint_optional" field.

func UintOptionalLT

func UintOptionalLT(v uint8) predicate.MessageWithOptionals

UintOptionalLT applies the LT predicate on the "uint_optional" field.

func UintOptionalLTE

func UintOptionalLTE(v uint8) predicate.MessageWithOptionals

UintOptionalLTE applies the LTE predicate on the "uint_optional" field.

func UintOptionalNEQ

func UintOptionalNEQ(v uint8) predicate.MessageWithOptionals

UintOptionalNEQ applies the NEQ predicate on the "uint_optional" field.

func UintOptionalNotIn

func UintOptionalNotIn(vs ...uint8) predicate.MessageWithOptionals

UintOptionalNotIn applies the NotIn predicate on the "uint_optional" field.

func UintOptionalNotNil

func UintOptionalNotNil() predicate.MessageWithOptionals

UintOptionalNotNil applies the NotNil predicate on the "uint_optional" 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