validmessage

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the validmessage type in the database.
	Label = "valid_message"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldTs holds the string denoting the ts field in the database.
	FieldTs = "ts"
	// FieldUUID holds the string denoting the uuid field in the database.
	FieldUUID = "uuid"
	// FieldU8 holds the string denoting the u8 field in the database.
	FieldU8 = "u8"
	// FieldOpti8 holds the string denoting the opti8 field in the database.
	FieldOpti8 = "opti8"
	// Table holds the table name of the validmessage in the database.
	Table = "valid_messages"
)

Variables

Columns holds all SQL columns for validmessage fields.

Functions

func And

func And(predicates ...predicate.ValidMessage) predicate.ValidMessage

And groups predicates with the AND operator between them.

func ID

func ID(id int) predicate.ValidMessage

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ValidMessage

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ValidMessage

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ValidMessage

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ValidMessage

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ValidMessage

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ValidMessage

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.ValidMessage

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.ValidMessage

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.ValidMessage

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.ValidMessage

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.ValidMessage

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.ValidMessage

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.ValidMessage

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.ValidMessage

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.ValidMessage

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.ValidMessage

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.ValidMessage

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.ValidMessage

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.ValidMessage

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Opti8

func Opti8(v int8) predicate.ValidMessage

Opti8 applies equality check predicate on the "opti8" field. It's identical to Opti8EQ.

func Opti8EQ

func Opti8EQ(v int8) predicate.ValidMessage

Opti8EQ applies the EQ predicate on the "opti8" field.

func Opti8GT

func Opti8GT(v int8) predicate.ValidMessage

Opti8GT applies the GT predicate on the "opti8" field.

func Opti8GTE

func Opti8GTE(v int8) predicate.ValidMessage

Opti8GTE applies the GTE predicate on the "opti8" field.

func Opti8In

func Opti8In(vs ...int8) predicate.ValidMessage

Opti8In applies the In predicate on the "opti8" field.

func Opti8IsNil

func Opti8IsNil() predicate.ValidMessage

Opti8IsNil applies the IsNil predicate on the "opti8" field.

func Opti8LT

func Opti8LT(v int8) predicate.ValidMessage

Opti8LT applies the LT predicate on the "opti8" field.

func Opti8LTE

func Opti8LTE(v int8) predicate.ValidMessage

Opti8LTE applies the LTE predicate on the "opti8" field.

func Opti8NEQ

func Opti8NEQ(v int8) predicate.ValidMessage

Opti8NEQ applies the NEQ predicate on the "opti8" field.

func Opti8NotIn

func Opti8NotIn(vs ...int8) predicate.ValidMessage

Opti8NotIn applies the NotIn predicate on the "opti8" field.

func Opti8NotNil

func Opti8NotNil() predicate.ValidMessage

Opti8NotNil applies the NotNil predicate on the "opti8" field.

func Or

func Or(predicates ...predicate.ValidMessage) predicate.ValidMessage

Or groups predicates with the OR operator between them.

func Ts

Ts applies equality check predicate on the "ts" field. It's identical to TsEQ.

func TsEQ

TsEQ applies the EQ predicate on the "ts" field.

func TsGT

TsGT applies the GT predicate on the "ts" field.

func TsGTE

TsGTE applies the GTE predicate on the "ts" field.

func TsIn

func TsIn(vs ...time.Time) predicate.ValidMessage

TsIn applies the In predicate on the "ts" field.

func TsLT

TsLT applies the LT predicate on the "ts" field.

func TsLTE

TsLTE applies the LTE predicate on the "ts" field.

func TsNEQ

TsNEQ applies the NEQ predicate on the "ts" field.

func TsNotIn

func TsNotIn(vs ...time.Time) predicate.ValidMessage

TsNotIn applies the NotIn predicate on the "ts" field.

func U8

U8 applies equality check predicate on the "u8" field. It's identical to U8EQ.

func U8EQ

U8EQ applies the EQ predicate on the "u8" field.

func U8GT

U8GT applies the GT predicate on the "u8" field.

func U8GTE

func U8GTE(v uint8) predicate.ValidMessage

U8GTE applies the GTE predicate on the "u8" field.

func U8In

func U8In(vs ...uint8) predicate.ValidMessage

U8In applies the In predicate on the "u8" field.

func U8LT

U8LT applies the LT predicate on the "u8" field.

func U8LTE

func U8LTE(v uint8) predicate.ValidMessage

U8LTE applies the LTE predicate on the "u8" field.

func U8NEQ

func U8NEQ(v uint8) predicate.ValidMessage

U8NEQ applies the NEQ predicate on the "u8" field.

func U8NotIn

func U8NotIn(vs ...uint8) predicate.ValidMessage

U8NotIn applies the NotIn predicate on the "u8" field.

func UUID

UUID applies equality check predicate on the "uuid" field. It's identical to UUIDEQ.

func UUIDEQ

func UUIDEQ(v uuid.UUID) predicate.ValidMessage

UUIDEQ applies the EQ predicate on the "uuid" field.

func UUIDGT

func UUIDGT(v uuid.UUID) predicate.ValidMessage

UUIDGT applies the GT predicate on the "uuid" field.

func UUIDGTE

func UUIDGTE(v uuid.UUID) predicate.ValidMessage

UUIDGTE applies the GTE predicate on the "uuid" field.

func UUIDIn

func UUIDIn(vs ...uuid.UUID) predicate.ValidMessage

UUIDIn applies the In predicate on the "uuid" field.

func UUIDLT

func UUIDLT(v uuid.UUID) predicate.ValidMessage

UUIDLT applies the LT predicate on the "uuid" field.

func UUIDLTE

func UUIDLTE(v uuid.UUID) predicate.ValidMessage

UUIDLTE applies the LTE predicate on the "uuid" field.

func UUIDNEQ

func UUIDNEQ(v uuid.UUID) predicate.ValidMessage

UUIDNEQ applies the NEQ predicate on the "uuid" field.

func UUIDNotIn

func UUIDNotIn(vs ...uuid.UUID) predicate.ValidMessage

UUIDNotIn applies the NotIn predicate on the "uuid" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption added in v0.4.1

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ValidMessage queries.

func ByID added in v0.4.0

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByName added in v0.4.0

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByOpti8 added in v0.4.0

func ByOpti8(opts ...sql.OrderTermOption) OrderOption

ByOpti8 orders the results by the opti8 field.

func ByTs added in v0.4.0

func ByTs(opts ...sql.OrderTermOption) OrderOption

ByTs orders the results by the ts field.

func ByU8 added in v0.4.0

func ByU8(opts ...sql.OrderTermOption) OrderOption

ByU8 orders the results by the u8 field.

func ByUUID added in v0.4.0

func ByUUID(opts ...sql.OrderTermOption) OrderOption

ByUUID orders the results by the uuid field.

Jump to

Keyboard shortcuts

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