Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RdMessage) predicate.RdMessage
- func CreateTime(v time.Time) predicate.RdMessage
- func CreateTimeEQ(v time.Time) predicate.RdMessage
- func CreateTimeGT(v time.Time) predicate.RdMessage
- func CreateTimeGTE(v time.Time) predicate.RdMessage
- func CreateTimeIn(vs ...time.Time) predicate.RdMessage
- func CreateTimeLT(v time.Time) predicate.RdMessage
- func CreateTimeLTE(v time.Time) predicate.RdMessage
- func CreateTimeNEQ(v time.Time) predicate.RdMessage
- func CreateTimeNotIn(vs ...time.Time) predicate.RdMessage
- func ID(id int32) predicate.RdMessage
- func IDEQ(id int32) predicate.RdMessage
- func IDGT(id int32) predicate.RdMessage
- func IDGTE(id int32) predicate.RdMessage
- func IDIn(ids ...int32) predicate.RdMessage
- func IDLT(id int32) predicate.RdMessage
- func IDLTE(id int32) predicate.RdMessage
- func IDNEQ(id int32) predicate.RdMessage
- func IDNotIn(ids ...int32) predicate.RdMessage
- func Not(p predicate.RdMessage) predicate.RdMessage
- func Or(predicates ...predicate.RdMessage) predicate.RdMessage
- func RecverUID(v int32) predicate.RdMessage
- func RecverUIDEQ(v int32) predicate.RdMessage
- func RecverUIDGT(v int32) predicate.RdMessage
- func RecverUIDGTE(v int32) predicate.RdMessage
- func RecverUIDIn(vs ...int32) predicate.RdMessage
- func RecverUIDIsNil() predicate.RdMessage
- func RecverUIDLT(v int32) predicate.RdMessage
- func RecverUIDLTE(v int32) predicate.RdMessage
- func RecverUIDNEQ(v int32) predicate.RdMessage
- func RecverUIDNotIn(vs ...int32) predicate.RdMessage
- func RecverUIDNotNil() predicate.RdMessage
- func SenderUID(v int32) predicate.RdMessage
- func SenderUIDEQ(v int32) predicate.RdMessage
- func SenderUIDGT(v int32) predicate.RdMessage
- func SenderUIDGTE(v int32) predicate.RdMessage
- func SenderUIDIn(vs ...int32) predicate.RdMessage
- func SenderUIDIsNil() predicate.RdMessage
- func SenderUIDLT(v int32) predicate.RdMessage
- func SenderUIDLTE(v int32) predicate.RdMessage
- func SenderUIDNEQ(v int32) predicate.RdMessage
- func SenderUIDNotIn(vs ...int32) predicate.RdMessage
- func SenderUIDNotNil() predicate.RdMessage
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the rdmessage type in the database. Label = "rd_message" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSenderUID holds the string denoting the sender_uid field in the database. FieldSenderUID = "sender_uid" // FieldRecverUID holds the string denoting the recver_uid field in the database. FieldRecverUID = "recver_uid" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // Table holds the table name of the rdmessage in the database. Table = "rd_message" )
Variables ¶
var Columns = []string{ FieldID, FieldSenderUID, FieldRecverUID, FieldContent, FieldCreateTime, }
Columns holds all SQL columns for rdmessage fields.
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time )
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func RecverUID ¶
RecverUID applies equality check predicate on the "recver_uid" field. It's identical to RecverUIDEQ.
func RecverUIDEQ ¶
RecverUIDEQ applies the EQ predicate on the "recver_uid" field.
func RecverUIDGT ¶
RecverUIDGT applies the GT predicate on the "recver_uid" field.
func RecverUIDGTE ¶
RecverUIDGTE applies the GTE predicate on the "recver_uid" field.
func RecverUIDIn ¶
RecverUIDIn applies the In predicate on the "recver_uid" field.
func RecverUIDIsNil ¶
RecverUIDIsNil applies the IsNil predicate on the "recver_uid" field.
func RecverUIDLT ¶
RecverUIDLT applies the LT predicate on the "recver_uid" field.
func RecverUIDLTE ¶
RecverUIDLTE applies the LTE predicate on the "recver_uid" field.
func RecverUIDNEQ ¶
RecverUIDNEQ applies the NEQ predicate on the "recver_uid" field.
func RecverUIDNotIn ¶
RecverUIDNotIn applies the NotIn predicate on the "recver_uid" field.
func RecverUIDNotNil ¶
RecverUIDNotNil applies the NotNil predicate on the "recver_uid" field.
func SenderUID ¶
SenderUID applies equality check predicate on the "sender_uid" field. It's identical to SenderUIDEQ.
func SenderUIDEQ ¶
SenderUIDEQ applies the EQ predicate on the "sender_uid" field.
func SenderUIDGT ¶
SenderUIDGT applies the GT predicate on the "sender_uid" field.
func SenderUIDGTE ¶
SenderUIDGTE applies the GTE predicate on the "sender_uid" field.
func SenderUIDIn ¶
SenderUIDIn applies the In predicate on the "sender_uid" field.
func SenderUIDIsNil ¶
SenderUIDIsNil applies the IsNil predicate on the "sender_uid" field.
func SenderUIDLT ¶
SenderUIDLT applies the LT predicate on the "sender_uid" field.
func SenderUIDLTE ¶
SenderUIDLTE applies the LTE predicate on the "sender_uid" field.
func SenderUIDNEQ ¶
SenderUIDNEQ applies the NEQ predicate on the "sender_uid" field.
func SenderUIDNotIn ¶
SenderUIDNotIn applies the NotIn predicate on the "sender_uid" field.
func SenderUIDNotNil ¶
SenderUIDNotNil applies the NotNil predicate on the "sender_uid" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.