Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LastChannelMessage) predicate.LastChannelMessage
- func ID(id int64) predicate.LastChannelMessage
- func IDEQ(id int64) predicate.LastChannelMessage
- func IDGT(id int64) predicate.LastChannelMessage
- func IDGTE(id int64) predicate.LastChannelMessage
- func IDIn(ids ...int64) predicate.LastChannelMessage
- func IDLT(id int64) predicate.LastChannelMessage
- func IDLTE(id int64) predicate.LastChannelMessage
- func IDNEQ(id int64) predicate.LastChannelMessage
- func IDNotIn(ids ...int64) predicate.LastChannelMessage
- func MessageID(v int) predicate.LastChannelMessage
- func MessageIDEQ(v int) predicate.LastChannelMessage
- func MessageIDGT(v int) predicate.LastChannelMessage
- func MessageIDGTE(v int) predicate.LastChannelMessage
- func MessageIDIn(vs ...int) predicate.LastChannelMessage
- func MessageIDLT(v int) predicate.LastChannelMessage
- func MessageIDLTE(v int) predicate.LastChannelMessage
- func MessageIDNEQ(v int) predicate.LastChannelMessage
- func MessageIDNotIn(vs ...int) predicate.LastChannelMessage
- func Not(p predicate.LastChannelMessage) predicate.LastChannelMessage
- func Or(predicates ...predicate.LastChannelMessage) predicate.LastChannelMessage
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the lastchannelmessage type in the database. Label = "last_channel_message" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMessageID holds the string denoting the message_id field in the database. FieldMessageID = "message_id" // Table holds the table name of the lastchannelmessage in the database. Table = "last_channel_messages" )
Variables ¶
var Columns = []string{ FieldID, FieldMessageID, }
Columns holds all SQL columns for lastchannelmessage fields.
Functions ¶
func And ¶
func And(predicates ...predicate.LastChannelMessage) predicate.LastChannelMessage
And groups predicates with the AND operator between them.
func ID ¶
func ID(id int64) predicate.LastChannelMessage
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.LastChannelMessage
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.LastChannelMessage
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.LastChannelMessage
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.LastChannelMessage
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.LastChannelMessage
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.LastChannelMessage
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.LastChannelMessage
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.LastChannelMessage
IDNotIn applies the NotIn predicate on the ID field.
func MessageID ¶
func MessageID(v int) predicate.LastChannelMessage
MessageID applies equality check predicate on the "message_id" field. It's identical to MessageIDEQ.
func MessageIDEQ ¶
func MessageIDEQ(v int) predicate.LastChannelMessage
MessageIDEQ applies the EQ predicate on the "message_id" field.
func MessageIDGT ¶
func MessageIDGT(v int) predicate.LastChannelMessage
MessageIDGT applies the GT predicate on the "message_id" field.
func MessageIDGTE ¶
func MessageIDGTE(v int) predicate.LastChannelMessage
MessageIDGTE applies the GTE predicate on the "message_id" field.
func MessageIDIn ¶
func MessageIDIn(vs ...int) predicate.LastChannelMessage
MessageIDIn applies the In predicate on the "message_id" field.
func MessageIDLT ¶
func MessageIDLT(v int) predicate.LastChannelMessage
MessageIDLT applies the LT predicate on the "message_id" field.
func MessageIDLTE ¶
func MessageIDLTE(v int) predicate.LastChannelMessage
MessageIDLTE applies the LTE predicate on the "message_id" field.
func MessageIDNEQ ¶
func MessageIDNEQ(v int) predicate.LastChannelMessage
MessageIDNEQ applies the NEQ predicate on the "message_id" field.
func MessageIDNotIn ¶
func MessageIDNotIn(vs ...int) predicate.LastChannelMessage
MessageIDNotIn applies the NotIn predicate on the "message_id" field.
func Not ¶
func Not(p predicate.LastChannelMessage) predicate.LastChannelMessage
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.LastChannelMessage) predicate.LastChannelMessage
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the LastChannelMessage queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMessageID ¶
func ByMessageID(opts ...sql.OrderTermOption) OrderOption
ByMessageID orders the results by the message_id field.