messagewithints

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: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the messagewithints type in the database.
	Label = "message_with_ints"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldInt32s holds the string denoting the int32s field in the database.
	FieldInt32s = "int32s"
	// FieldInt64s holds the string denoting the int64s field in the database.
	FieldInt64s = "int64s"
	// FieldUint32s holds the string denoting the uint32s field in the database.
	FieldUint32s = "uint32s"
	// FieldUint64s holds the string denoting the uint64s field in the database.
	FieldUint64s = "uint64s"
	// Table holds the table name of the messagewithints in the database.
	Table = "message_with_ints"
)

Variables

Columns holds all SQL columns for messagewithints fields.

Functions

func And

And groups predicates with the AND operator between them.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.MessageWithInts

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.MessageWithInts

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.MessageWithInts

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.MessageWithInts

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.MessageWithInts

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.MessageWithInts

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the MessageWithInts queries.

func ByID

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

ByID orders the results by the id field.

Jump to

Keyboard shortcuts

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