Documentation ¶
Index ¶
- Constants
- Variables
- func AllChat(v bool) predicate.Messages
- func AllChatEQ(v bool) predicate.Messages
- func AllChatNEQ(v bool) predicate.Messages
- func And(predicates ...predicate.Messages) predicate.Messages
- func HasMatchPlayer() predicate.Messages
- func HasMatchPlayerWith(preds ...predicate.MatchPlayer) predicate.Messages
- func ID(id int) predicate.Messages
- func IDEQ(id int) predicate.Messages
- func IDGT(id int) predicate.Messages
- func IDGTE(id int) predicate.Messages
- func IDIn(ids ...int) predicate.Messages
- func IDLT(id int) predicate.Messages
- func IDLTE(id int) predicate.Messages
- func IDNEQ(id int) predicate.Messages
- func IDNotIn(ids ...int) predicate.Messages
- func Message(v string) predicate.Messages
- func MessageContains(v string) predicate.Messages
- func MessageContainsFold(v string) predicate.Messages
- func MessageEQ(v string) predicate.Messages
- func MessageEqualFold(v string) predicate.Messages
- func MessageGT(v string) predicate.Messages
- func MessageGTE(v string) predicate.Messages
- func MessageHasPrefix(v string) predicate.Messages
- func MessageHasSuffix(v string) predicate.Messages
- func MessageIn(vs ...string) predicate.Messages
- func MessageLT(v string) predicate.Messages
- func MessageLTE(v string) predicate.Messages
- func MessageNEQ(v string) predicate.Messages
- func MessageNotIn(vs ...string) predicate.Messages
- func Not(p predicate.Messages) predicate.Messages
- func Or(predicates ...predicate.Messages) predicate.Messages
- func Tick(v int) predicate.Messages
- func TickEQ(v int) predicate.Messages
- func TickGT(v int) predicate.Messages
- func TickGTE(v int) predicate.Messages
- func TickIn(vs ...int) predicate.Messages
- func TickLT(v int) predicate.Messages
- func TickLTE(v int) predicate.Messages
- func TickNEQ(v int) predicate.Messages
- func TickNotIn(vs ...int) predicate.Messages
- func ValidColumn(column string) bool
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldMessage, FieldAllChat, FieldTick, }
Columns holds all SQL columns for messages fields.
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 ¶
AllChat applies equality check predicate on the "all_chat" field. It's identical to AllChatEQ.
func AllChatEQ ¶
AllChatEQ applies the EQ predicate on the "all_chat" field.
func AllChatNEQ ¶
AllChatNEQ applies the NEQ predicate on the "all_chat" field.
func And ¶
And groups predicates with the AND operator between them.
func HasMatchPlayer ¶
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 IDNotIn ¶
IDNotIn applies the NotIn predicate on the ID field.
func Message ¶
Message applies equality check predicate on the "message" field. It's identical to MessageEQ.
func MessageContains ¶
MessageContains applies the Contains predicate on the "message" field.
func MessageContainsFold ¶
MessageContainsFold applies the ContainsFold predicate on the "message" field.
func MessageEQ ¶
MessageEQ applies the EQ predicate on the "message" field.
func MessageEqualFold ¶
MessageEqualFold applies the EqualFold predicate on the "message" field.
func MessageGT ¶
MessageGT applies the GT predicate on the "message" field.
func MessageGTE ¶
MessageGTE applies the GTE predicate on the "message" field.
func MessageHasPrefix ¶
MessageHasPrefix applies the HasPrefix predicate on the "message" field.
func MessageHasSuffix ¶
MessageHasSuffix applies the HasSuffix predicate on the "message" field.
func MessageIn ¶
MessageIn applies the In predicate on the "message" field.
func MessageLT ¶
MessageLT applies the LT predicate on the "message" field.
func MessageLTE ¶
MessageLTE applies the LTE predicate on the "message" field.
func MessageNEQ ¶
MessageNEQ applies the NEQ predicate on the "message" field.
func MessageNotIn ¶
MessageNotIn applies the NotIn predicate on the "message" field.
func Not ¶
Not applies the not operator on the given predicate.
func Or ¶
Or groups predicates with the OR operator between them.
func Tick ¶
Tick applies equality check predicate on the "tick" field. It's identical to TickEQ.
func TickEQ ¶
TickEQ applies the EQ predicate on the "tick" field.
func TickGT ¶
TickGT applies the GT predicate on the "tick" field.
func TickGTE ¶
TickGTE applies the GTE predicate on the "tick" field.
func TickIn ¶
TickIn applies the In predicate on the "tick" field.
func TickLT ¶
TickLT applies the LT predicate on the "tick" field.
func TickLTE ¶
TickLTE applies the LTE predicate on the "tick" field.
func TickNEQ ¶
TickNEQ applies the NEQ predicate on the "tick" field.
func TickNotIn ¶
TickNotIn applies the NotIn predicate on the "tick" field.
Types ¶
This section is empty.