Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Message) predicate.Message
- func Attachment(v string) predicate.Message
- func AttachmentContains(v string) predicate.Message
- func AttachmentContainsFold(v string) predicate.Message
- func AttachmentEQ(v string) predicate.Message
- func AttachmentEqualFold(v string) predicate.Message
- func AttachmentGT(v string) predicate.Message
- func AttachmentGTE(v string) predicate.Message
- func AttachmentHasPrefix(v string) predicate.Message
- func AttachmentHasSuffix(v string) predicate.Message
- func AttachmentIn(vs ...string) predicate.Message
- func AttachmentIsNil() predicate.Message
- func AttachmentLT(v string) predicate.Message
- func AttachmentLTE(v string) predicate.Message
- func AttachmentNEQ(v string) predicate.Message
- func AttachmentNotIn(vs ...string) predicate.Message
- func AttachmentNotNil() predicate.Message
- func CreateTime(v time.Time) predicate.Message
- func CreateTimeEQ(v time.Time) predicate.Message
- func CreateTimeGT(v time.Time) predicate.Message
- func CreateTimeGTE(v time.Time) predicate.Message
- func CreateTimeIn(vs ...time.Time) predicate.Message
- func CreateTimeLT(v time.Time) predicate.Message
- func CreateTimeLTE(v time.Time) predicate.Message
- func CreateTimeNEQ(v time.Time) predicate.Message
- func CreateTimeNotIn(vs ...time.Time) predicate.Message
- func Direction(v string) predicate.Message
- func DirectionContains(v string) predicate.Message
- func DirectionContainsFold(v string) predicate.Message
- func DirectionEQ(v string) predicate.Message
- func DirectionEqualFold(v string) predicate.Message
- func DirectionGT(v string) predicate.Message
- func DirectionGTE(v string) predicate.Message
- func DirectionHasPrefix(v string) predicate.Message
- func DirectionHasSuffix(v string) predicate.Message
- func DirectionIn(vs ...string) predicate.Message
- func DirectionLT(v string) predicate.Message
- func DirectionLTE(v string) predicate.Message
- func DirectionNEQ(v string) predicate.Message
- func DirectionNotIn(vs ...string) predicate.Message
- func Error(v string) predicate.Message
- func ErrorContains(v string) predicate.Message
- func ErrorContainsFold(v string) predicate.Message
- func ErrorEQ(v string) predicate.Message
- func ErrorEqualFold(v string) predicate.Message
- func ErrorGT(v string) predicate.Message
- func ErrorGTE(v string) predicate.Message
- func ErrorHasPrefix(v string) predicate.Message
- func ErrorHasSuffix(v string) predicate.Message
- func ErrorIn(vs ...string) predicate.Message
- func ErrorIsNil() predicate.Message
- func ErrorLT(v string) predicate.Message
- func ErrorLTE(v string) predicate.Message
- func ErrorNEQ(v string) predicate.Message
- func ErrorNotIn(vs ...string) predicate.Message
- func ErrorNotNil() predicate.Message
- func HasDialog() predicate.Message
- func HasDialogWith(preds ...predicate.Dialog) predicate.Message
- func ID(id int) predicate.Message
- func IDEQ(id int) predicate.Message
- func IDGT(id int) predicate.Message
- func IDGTE(id int) predicate.Message
- func IDIn(ids ...int) predicate.Message
- func IDLT(id int) predicate.Message
- func IDLTE(id int) predicate.Message
- func IDNEQ(id int) predicate.Message
- func IDNotIn(ids ...int) predicate.Message
- func Not(p predicate.Message) predicate.Message
- func Or(predicates ...predicate.Message) predicate.Message
- func PayloadType(v string) predicate.Message
- func PayloadTypeContains(v string) predicate.Message
- func PayloadTypeContainsFold(v string) predicate.Message
- func PayloadTypeEQ(v string) predicate.Message
- func PayloadTypeEqualFold(v string) predicate.Message
- func PayloadTypeGT(v string) predicate.Message
- func PayloadTypeGTE(v string) predicate.Message
- func PayloadTypeHasPrefix(v string) predicate.Message
- func PayloadTypeHasSuffix(v string) predicate.Message
- func PayloadTypeIn(vs ...string) predicate.Message
- func PayloadTypeIsNil() predicate.Message
- func PayloadTypeLT(v string) predicate.Message
- func PayloadTypeLTE(v string) predicate.Message
- func PayloadTypeNEQ(v string) predicate.Message
- func PayloadTypeNotIn(vs ...string) predicate.Message
- func PayloadTypeNotNil() predicate.Message
- func PayloadValue(v string) predicate.Message
- func PayloadValueContains(v string) predicate.Message
- func PayloadValueContainsFold(v string) predicate.Message
- func PayloadValueEQ(v string) predicate.Message
- func PayloadValueEqualFold(v string) predicate.Message
- func PayloadValueGT(v string) predicate.Message
- func PayloadValueGTE(v string) predicate.Message
- func PayloadValueHasPrefix(v string) predicate.Message
- func PayloadValueHasSuffix(v string) predicate.Message
- func PayloadValueIn(vs ...string) predicate.Message
- func PayloadValueIsNil() predicate.Message
- func PayloadValueLT(v string) predicate.Message
- func PayloadValueLTE(v string) predicate.Message
- func PayloadValueNEQ(v string) predicate.Message
- func PayloadValueNotIn(vs ...string) predicate.Message
- func PayloadValueNotNil() predicate.Message
- func Proactive(v bool) predicate.Message
- func ProactiveEQ(v bool) predicate.Message
- func ProactiveNEQ(v bool) predicate.Message
- func System(v string) predicate.Message
- func SystemContains(v string) predicate.Message
- func SystemContainsFold(v string) predicate.Message
- func SystemEQ(v string) predicate.Message
- func SystemEqualFold(v string) predicate.Message
- func SystemGT(v string) predicate.Message
- func SystemGTE(v string) predicate.Message
- func SystemHasPrefix(v string) predicate.Message
- func SystemHasSuffix(v string) predicate.Message
- func SystemIn(vs ...string) predicate.Message
- func SystemLT(v string) predicate.Message
- func SystemLTE(v string) predicate.Message
- func SystemNEQ(v string) predicate.Message
- func SystemNotIn(vs ...string) predicate.Message
- func Text(v string) predicate.Message
- func TextContains(v string) predicate.Message
- func TextContainsFold(v string) predicate.Message
- func TextEQ(v string) predicate.Message
- func TextEqualFold(v string) predicate.Message
- func TextGT(v string) predicate.Message
- func TextGTE(v string) predicate.Message
- func TextHasPrefix(v string) predicate.Message
- func TextHasSuffix(v string) predicate.Message
- func TextIn(vs ...string) predicate.Message
- func TextIsNil() predicate.Message
- func TextLT(v string) predicate.Message
- func TextLTE(v string) predicate.Message
- func TextNEQ(v string) predicate.Message
- func TextNotIn(vs ...string) predicate.Message
- func TextNotNil() predicate.Message
- func UpdateTime(v time.Time) predicate.Message
- func UpdateTimeEQ(v time.Time) predicate.Message
- func UpdateTimeGT(v time.Time) predicate.Message
- func UpdateTimeGTE(v time.Time) predicate.Message
- func UpdateTimeIn(vs ...time.Time) predicate.Message
- func UpdateTimeLT(v time.Time) predicate.Message
- func UpdateTimeLTE(v time.Time) predicate.Message
- func UpdateTimeNEQ(v time.Time) predicate.Message
- func UpdateTimeNotIn(vs ...time.Time) predicate.Message
Constants ¶
const ( // Label holds the string label denoting the message type in the database. Label = "message" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldText holds the string denoting the text field in the database. FieldText = "text" // FieldAttachment holds the string denoting the attachment field in the database. FieldAttachment = "attachment" // FieldPayloadType holds the string denoting the payload_type field in the database. FieldPayloadType = "payload_type" // FieldPayloadValue holds the string denoting the payload_value field in the database. FieldPayloadValue = "payload_value" // FieldSystem holds the string denoting the system field in the database. FieldSystem = "system" // FieldDirection holds the string denoting the direction field in the database. FieldDirection = "direction" // FieldProactive holds the string denoting the proactive field in the database. FieldProactive = "proactive" // FieldError holds the string denoting the error field in the database. FieldError = "error" // EdgeDialog holds the string denoting the dialog edge name in mutations. EdgeDialog = "dialog" // Table holds the table name of the message in the database. Table = "messages" // DialogTable is the table the holds the dialog relation/edge. DialogTable = "messages" // DialogInverseTable is the table name for the Dialog entity. // It exists in this package in order to avoid circular dependency with the "dialog" package. DialogInverseTable = "dialogs" // DialogColumn is the table column denoting the dialog relation/edge. DialogColumn = "dialog_message" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the create_time field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the update_time field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the update_time field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldText, FieldAttachment, FieldPayloadType, FieldPayloadValue, FieldSystem, FieldDirection, FieldProactive, FieldError, }
Columns holds all SQL columns for message fields.
var ForeignKeys = []string{
"dialog_message",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Message type.
Functions ¶
func Attachment ¶
Attachment applies equality check predicate on the "attachment" field. It's identical to AttachmentEQ.
func AttachmentContains ¶
AttachmentContains applies the Contains predicate on the "attachment" field.
func AttachmentContainsFold ¶
AttachmentContainsFold applies the ContainsFold predicate on the "attachment" field.
func AttachmentEQ ¶
AttachmentEQ applies the EQ predicate on the "attachment" field.
func AttachmentEqualFold ¶
AttachmentEqualFold applies the EqualFold predicate on the "attachment" field.
func AttachmentGT ¶
AttachmentGT applies the GT predicate on the "attachment" field.
func AttachmentGTE ¶
AttachmentGTE applies the GTE predicate on the "attachment" field.
func AttachmentHasPrefix ¶
AttachmentHasPrefix applies the HasPrefix predicate on the "attachment" field.
func AttachmentHasSuffix ¶
AttachmentHasSuffix applies the HasSuffix predicate on the "attachment" field.
func AttachmentIn ¶
AttachmentIn applies the In predicate on the "attachment" field.
func AttachmentIsNil ¶
AttachmentIsNil applies the IsNil predicate on the "attachment" field.
func AttachmentLT ¶
AttachmentLT applies the LT predicate on the "attachment" field.
func AttachmentLTE ¶
AttachmentLTE applies the LTE predicate on the "attachment" field.
func AttachmentNEQ ¶
AttachmentNEQ applies the NEQ predicate on the "attachment" field.
func AttachmentNotIn ¶
AttachmentNotIn applies the NotIn predicate on the "attachment" field.
func AttachmentNotNil ¶
AttachmentNotNil applies the NotNil predicate on the "attachment" field.
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 Direction ¶
Direction applies equality check predicate on the "direction" field. It's identical to DirectionEQ.
func DirectionContains ¶
DirectionContains applies the Contains predicate on the "direction" field.
func DirectionContainsFold ¶
DirectionContainsFold applies the ContainsFold predicate on the "direction" field.
func DirectionEQ ¶
DirectionEQ applies the EQ predicate on the "direction" field.
func DirectionEqualFold ¶
DirectionEqualFold applies the EqualFold predicate on the "direction" field.
func DirectionGT ¶
DirectionGT applies the GT predicate on the "direction" field.
func DirectionGTE ¶
DirectionGTE applies the GTE predicate on the "direction" field.
func DirectionHasPrefix ¶
DirectionHasPrefix applies the HasPrefix predicate on the "direction" field.
func DirectionHasSuffix ¶
DirectionHasSuffix applies the HasSuffix predicate on the "direction" field.
func DirectionIn ¶
DirectionIn applies the In predicate on the "direction" field.
func DirectionLT ¶
DirectionLT applies the LT predicate on the "direction" field.
func DirectionLTE ¶
DirectionLTE applies the LTE predicate on the "direction" field.
func DirectionNEQ ¶
DirectionNEQ applies the NEQ predicate on the "direction" field.
func DirectionNotIn ¶
DirectionNotIn applies the NotIn predicate on the "direction" field.
func Error ¶
Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.
func ErrorContains ¶
ErrorContains applies the Contains predicate on the "error" field.
func ErrorContainsFold ¶
ErrorContainsFold applies the ContainsFold predicate on the "error" field.
func ErrorEqualFold ¶
ErrorEqualFold applies the EqualFold predicate on the "error" field.
func ErrorHasPrefix ¶
ErrorHasPrefix applies the HasPrefix predicate on the "error" field.
func ErrorHasSuffix ¶
ErrorHasSuffix applies the HasSuffix predicate on the "error" field.
func ErrorIsNil ¶
ErrorIsNil applies the IsNil predicate on the "error" field.
func ErrorNotIn ¶
ErrorNotIn applies the NotIn predicate on the "error" field.
func ErrorNotNil ¶
ErrorNotNil applies the NotNil predicate on the "error" field.
func HasDialogWith ¶
HasDialogWith applies the HasEdge predicate on the "dialog" edge with a given conditions (other predicates).
func PayloadType ¶
PayloadType applies equality check predicate on the "payload_type" field. It's identical to PayloadTypeEQ.
func PayloadTypeContains ¶
PayloadTypeContains applies the Contains predicate on the "payload_type" field.
func PayloadTypeContainsFold ¶
PayloadTypeContainsFold applies the ContainsFold predicate on the "payload_type" field.
func PayloadTypeEQ ¶
PayloadTypeEQ applies the EQ predicate on the "payload_type" field.
func PayloadTypeEqualFold ¶
PayloadTypeEqualFold applies the EqualFold predicate on the "payload_type" field.
func PayloadTypeGT ¶
PayloadTypeGT applies the GT predicate on the "payload_type" field.
func PayloadTypeGTE ¶
PayloadTypeGTE applies the GTE predicate on the "payload_type" field.
func PayloadTypeHasPrefix ¶
PayloadTypeHasPrefix applies the HasPrefix predicate on the "payload_type" field.
func PayloadTypeHasSuffix ¶
PayloadTypeHasSuffix applies the HasSuffix predicate on the "payload_type" field.
func PayloadTypeIn ¶
PayloadTypeIn applies the In predicate on the "payload_type" field.
func PayloadTypeIsNil ¶
PayloadTypeIsNil applies the IsNil predicate on the "payload_type" field.
func PayloadTypeLT ¶
PayloadTypeLT applies the LT predicate on the "payload_type" field.
func PayloadTypeLTE ¶
PayloadTypeLTE applies the LTE predicate on the "payload_type" field.
func PayloadTypeNEQ ¶
PayloadTypeNEQ applies the NEQ predicate on the "payload_type" field.
func PayloadTypeNotIn ¶
PayloadTypeNotIn applies the NotIn predicate on the "payload_type" field.
func PayloadTypeNotNil ¶
PayloadTypeNotNil applies the NotNil predicate on the "payload_type" field.
func PayloadValue ¶
PayloadValue applies equality check predicate on the "payload_value" field. It's identical to PayloadValueEQ.
func PayloadValueContains ¶
PayloadValueContains applies the Contains predicate on the "payload_value" field.
func PayloadValueContainsFold ¶
PayloadValueContainsFold applies the ContainsFold predicate on the "payload_value" field.
func PayloadValueEQ ¶
PayloadValueEQ applies the EQ predicate on the "payload_value" field.
func PayloadValueEqualFold ¶
PayloadValueEqualFold applies the EqualFold predicate on the "payload_value" field.
func PayloadValueGT ¶
PayloadValueGT applies the GT predicate on the "payload_value" field.
func PayloadValueGTE ¶
PayloadValueGTE applies the GTE predicate on the "payload_value" field.
func PayloadValueHasPrefix ¶
PayloadValueHasPrefix applies the HasPrefix predicate on the "payload_value" field.
func PayloadValueHasSuffix ¶
PayloadValueHasSuffix applies the HasSuffix predicate on the "payload_value" field.
func PayloadValueIn ¶
PayloadValueIn applies the In predicate on the "payload_value" field.
func PayloadValueIsNil ¶
PayloadValueIsNil applies the IsNil predicate on the "payload_value" field.
func PayloadValueLT ¶
PayloadValueLT applies the LT predicate on the "payload_value" field.
func PayloadValueLTE ¶
PayloadValueLTE applies the LTE predicate on the "payload_value" field.
func PayloadValueNEQ ¶
PayloadValueNEQ applies the NEQ predicate on the "payload_value" field.
func PayloadValueNotIn ¶
PayloadValueNotIn applies the NotIn predicate on the "payload_value" field.
func PayloadValueNotNil ¶
PayloadValueNotNil applies the NotNil predicate on the "payload_value" field.
func Proactive ¶
Proactive applies equality check predicate on the "proactive" field. It's identical to ProactiveEQ.
func ProactiveEQ ¶
ProactiveEQ applies the EQ predicate on the "proactive" field.
func ProactiveNEQ ¶
ProactiveNEQ applies the NEQ predicate on the "proactive" field.
func System ¶
System applies equality check predicate on the "system" field. It's identical to SystemEQ.
func SystemContains ¶
SystemContains applies the Contains predicate on the "system" field.
func SystemContainsFold ¶
SystemContainsFold applies the ContainsFold predicate on the "system" field.
func SystemEqualFold ¶
SystemEqualFold applies the EqualFold predicate on the "system" field.
func SystemHasPrefix ¶
SystemHasPrefix applies the HasPrefix predicate on the "system" field.
func SystemHasSuffix ¶
SystemHasSuffix applies the HasSuffix predicate on the "system" field.
func SystemNotIn ¶
SystemNotIn applies the NotIn predicate on the "system" field.
func TextContains ¶
TextContains applies the Contains predicate on the "text" field.
func TextContainsFold ¶
TextContainsFold applies the ContainsFold predicate on the "text" field.
func TextEqualFold ¶
TextEqualFold applies the EqualFold predicate on the "text" field.
func TextHasPrefix ¶
TextHasPrefix applies the HasPrefix predicate on the "text" field.
func TextHasSuffix ¶
TextHasSuffix applies the HasSuffix predicate on the "text" field.
func TextNotNil ¶
TextNotNil applies the NotNil predicate on the "text" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
Types ¶
This section is empty.