messages

package
v0.0.0-...-4b256dd Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the messages type in the database.
	Label = "messages"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldMessage holds the string denoting the message field in the database.
	FieldMessage = "message"
	// FieldAllChat holds the string denoting the all_chat field in the database.
	FieldAllChat = "all_chat"
	// FieldTick holds the string denoting the tick field in the database.
	FieldTick = "tick"
	// EdgeMatchPlayer holds the string denoting the match_player edge name in mutations.
	EdgeMatchPlayer = "match_player"
	// Table holds the table name of the messages in the database.
	Table = "messages"
	// MatchPlayerTable is the table that holds the match_player relation/edge.
	MatchPlayerTable = "messages"
	// MatchPlayerInverseTable is the table name for the MatchPlayer entity.
	// It exists in this package in order to avoid circular dependency with the "matchplayer" package.
	MatchPlayerInverseTable = "match_players"
	// MatchPlayerColumn is the table column denoting the match_player relation/edge.
	MatchPlayerColumn = "match_player_messages"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldMessage,
	FieldAllChat,
	FieldTick,
}

Columns holds all SQL columns for messages fields.

View Source
var ForeignKeys = []string{
	"match_player_messages",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "messages" table and are not defined as standalone fields in the schema.

Functions

func AllChat

func AllChat(v bool) predicate.Messages

AllChat applies equality check predicate on the "all_chat" field. It's identical to AllChatEQ.

func AllChatEQ

func AllChatEQ(v bool) predicate.Messages

AllChatEQ applies the EQ predicate on the "all_chat" field.

func AllChatNEQ

func AllChatNEQ(v bool) predicate.Messages

AllChatNEQ applies the NEQ predicate on the "all_chat" field.

func And

func And(predicates ...predicate.Messages) predicate.Messages

And groups predicates with the AND operator between them.

func HasMatchPlayer

func HasMatchPlayer() predicate.Messages

HasMatchPlayer applies the HasEdge predicate on the "match_player" edge.

func HasMatchPlayerWith

func HasMatchPlayerWith(preds ...predicate.MatchPlayer) predicate.Messages

HasMatchPlayerWith applies the HasEdge predicate on the "match_player" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.Messages

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Messages

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Messages

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Messages

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Messages

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Messages

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Messages

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Message

func Message(v string) predicate.Messages

Message applies equality check predicate on the "message" field. It's identical to MessageEQ.

func MessageContains

func MessageContains(v string) predicate.Messages

MessageContains applies the Contains predicate on the "message" field.

func MessageContainsFold

func MessageContainsFold(v string) predicate.Messages

MessageContainsFold applies the ContainsFold predicate on the "message" field.

func MessageEQ

func MessageEQ(v string) predicate.Messages

MessageEQ applies the EQ predicate on the "message" field.

func MessageEqualFold

func MessageEqualFold(v string) predicate.Messages

MessageEqualFold applies the EqualFold predicate on the "message" field.

func MessageGT

func MessageGT(v string) predicate.Messages

MessageGT applies the GT predicate on the "message" field.

func MessageGTE

func MessageGTE(v string) predicate.Messages

MessageGTE applies the GTE predicate on the "message" field.

func MessageHasPrefix

func MessageHasPrefix(v string) predicate.Messages

MessageHasPrefix applies the HasPrefix predicate on the "message" field.

func MessageHasSuffix

func MessageHasSuffix(v string) predicate.Messages

MessageHasSuffix applies the HasSuffix predicate on the "message" field.

func MessageIn

func MessageIn(vs ...string) predicate.Messages

MessageIn applies the In predicate on the "message" field.

func MessageLT

func MessageLT(v string) predicate.Messages

MessageLT applies the LT predicate on the "message" field.

func MessageLTE

func MessageLTE(v string) predicate.Messages

MessageLTE applies the LTE predicate on the "message" field.

func MessageNEQ

func MessageNEQ(v string) predicate.Messages

MessageNEQ applies the NEQ predicate on the "message" field.

func MessageNotIn

func MessageNotIn(vs ...string) predicate.Messages

MessageNotIn applies the NotIn predicate on the "message" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Messages) predicate.Messages

Or groups predicates with the OR operator between them.

func Tick

func Tick(v int) predicate.Messages

Tick applies equality check predicate on the "tick" field. It's identical to TickEQ.

func TickEQ

func TickEQ(v int) predicate.Messages

TickEQ applies the EQ predicate on the "tick" field.

func TickGT

func TickGT(v int) predicate.Messages

TickGT applies the GT predicate on the "tick" field.

func TickGTE

func TickGTE(v int) predicate.Messages

TickGTE applies the GTE predicate on the "tick" field.

func TickIn

func TickIn(vs ...int) predicate.Messages

TickIn applies the In predicate on the "tick" field.

func TickLT

func TickLT(v int) predicate.Messages

TickLT applies the LT predicate on the "tick" field.

func TickLTE

func TickLTE(v int) predicate.Messages

TickLTE applies the LTE predicate on the "tick" field.

func TickNEQ

func TickNEQ(v int) predicate.Messages

TickNEQ applies the NEQ predicate on the "tick" field.

func TickNotIn

func TickNotIn(vs ...int) predicate.Messages

TickNotIn applies the NotIn predicate on the "tick" 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