Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MsgChannel) predicate.MsgChannel
- func Comments(v string) predicate.MsgChannel
- func CommentsContains(v string) predicate.MsgChannel
- func CommentsContainsFold(v string) predicate.MsgChannel
- func CommentsEQ(v string) predicate.MsgChannel
- func CommentsEqualFold(v string) predicate.MsgChannel
- func CommentsGT(v string) predicate.MsgChannel
- func CommentsGTE(v string) predicate.MsgChannel
- func CommentsHasPrefix(v string) predicate.MsgChannel
- func CommentsHasSuffix(v string) predicate.MsgChannel
- func CommentsIn(vs ...string) predicate.MsgChannel
- func CommentsIsNil() predicate.MsgChannel
- func CommentsLT(v string) predicate.MsgChannel
- func CommentsLTE(v string) predicate.MsgChannel
- func CommentsNEQ(v string) predicate.MsgChannel
- func CommentsNotIn(vs ...string) predicate.MsgChannel
- func CommentsNotNil() predicate.MsgChannel
- func CreatedAt(v time.Time) predicate.MsgChannel
- func CreatedAtEQ(v time.Time) predicate.MsgChannel
- func CreatedAtGT(v time.Time) predicate.MsgChannel
- func CreatedAtGTE(v time.Time) predicate.MsgChannel
- func CreatedAtIn(vs ...time.Time) predicate.MsgChannel
- func CreatedAtLT(v time.Time) predicate.MsgChannel
- func CreatedAtLTE(v time.Time) predicate.MsgChannel
- func CreatedAtNEQ(v time.Time) predicate.MsgChannel
- func CreatedAtNotIn(vs ...time.Time) predicate.MsgChannel
- func CreatedBy(v int) predicate.MsgChannel
- func CreatedByEQ(v int) predicate.MsgChannel
- func CreatedByGT(v int) predicate.MsgChannel
- func CreatedByGTE(v int) predicate.MsgChannel
- func CreatedByIn(vs ...int) predicate.MsgChannel
- func CreatedByLT(v int) predicate.MsgChannel
- func CreatedByLTE(v int) predicate.MsgChannel
- func CreatedByNEQ(v int) predicate.MsgChannel
- func CreatedByNotIn(vs ...int) predicate.MsgChannel
- func ID(id int) predicate.MsgChannel
- func IDEQ(id int) predicate.MsgChannel
- func IDGT(id int) predicate.MsgChannel
- func IDGTE(id int) predicate.MsgChannel
- func IDIn(ids ...int) predicate.MsgChannel
- func IDLT(id int) predicate.MsgChannel
- func IDLTE(id int) predicate.MsgChannel
- func IDNEQ(id int) predicate.MsgChannel
- func IDNotIn(ids ...int) predicate.MsgChannel
- func Name(v string) predicate.MsgChannel
- func NameContains(v string) predicate.MsgChannel
- func NameContainsFold(v string) predicate.MsgChannel
- func NameEQ(v string) predicate.MsgChannel
- func NameEqualFold(v string) predicate.MsgChannel
- func NameGT(v string) predicate.MsgChannel
- func NameGTE(v string) predicate.MsgChannel
- func NameHasPrefix(v string) predicate.MsgChannel
- func NameHasSuffix(v string) predicate.MsgChannel
- func NameIn(vs ...string) predicate.MsgChannel
- func NameLT(v string) predicate.MsgChannel
- func NameLTE(v string) predicate.MsgChannel
- func NameNEQ(v string) predicate.MsgChannel
- func NameNotIn(vs ...string) predicate.MsgChannel
- func Not(p predicate.MsgChannel) predicate.MsgChannel
- func Or(predicates ...predicate.MsgChannel) predicate.MsgChannel
- func ReceiverIsNil() predicate.MsgChannel
- func ReceiverNotNil() predicate.MsgChannel
- func ReceiverTypeEQ(v profile.ReceiverType) predicate.MsgChannel
- func ReceiverTypeIn(vs ...profile.ReceiverType) predicate.MsgChannel
- func ReceiverTypeNEQ(v profile.ReceiverType) predicate.MsgChannel
- func ReceiverTypeNotIn(vs ...profile.ReceiverType) predicate.MsgChannel
- func ReceiverTypeValidator(rt profile.ReceiverType) error
- func StatusEQ(v typex.SimpleStatus) predicate.MsgChannel
- func StatusIn(vs ...typex.SimpleStatus) predicate.MsgChannel
- func StatusIsNil() predicate.MsgChannel
- func StatusNEQ(v typex.SimpleStatus) predicate.MsgChannel
- func StatusNotIn(vs ...typex.SimpleStatus) predicate.MsgChannel
- func StatusNotNil() predicate.MsgChannel
- func StatusValidator(s typex.SimpleStatus) error
- func TenantID(v int) predicate.MsgChannel
- func TenantIDEQ(v int) predicate.MsgChannel
- func TenantIDGT(v int) predicate.MsgChannel
- func TenantIDGTE(v int) predicate.MsgChannel
- func TenantIDIn(vs ...int) predicate.MsgChannel
- func TenantIDLT(v int) predicate.MsgChannel
- func TenantIDLTE(v int) predicate.MsgChannel
- func TenantIDNEQ(v int) predicate.MsgChannel
- func TenantIDNotIn(vs ...int) predicate.MsgChannel
- func UpdatedAt(v time.Time) predicate.MsgChannel
- func UpdatedAtEQ(v time.Time) predicate.MsgChannel
- func UpdatedAtGT(v time.Time) predicate.MsgChannel
- func UpdatedAtGTE(v time.Time) predicate.MsgChannel
- func UpdatedAtIn(vs ...time.Time) predicate.MsgChannel
- func UpdatedAtIsNil() predicate.MsgChannel
- func UpdatedAtLT(v time.Time) predicate.MsgChannel
- func UpdatedAtLTE(v time.Time) predicate.MsgChannel
- func UpdatedAtNEQ(v time.Time) predicate.MsgChannel
- func UpdatedAtNotIn(vs ...time.Time) predicate.MsgChannel
- func UpdatedAtNotNil() predicate.MsgChannel
- func UpdatedBy(v int) predicate.MsgChannel
- func UpdatedByEQ(v int) predicate.MsgChannel
- func UpdatedByGT(v int) predicate.MsgChannel
- func UpdatedByGTE(v int) predicate.MsgChannel
- func UpdatedByIn(vs ...int) predicate.MsgChannel
- func UpdatedByIsNil() predicate.MsgChannel
- func UpdatedByLT(v int) predicate.MsgChannel
- func UpdatedByLTE(v int) predicate.MsgChannel
- func UpdatedByNEQ(v int) predicate.MsgChannel
- func UpdatedByNotIn(vs ...int) predicate.MsgChannel
- func UpdatedByNotNil() predicate.MsgChannel
- func ValidColumn(column string) bool
- type OrderOption
- func ByComments(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByReceiverType(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the msgchannel type in the database. Label = "msg_channel" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldReceiverType holds the string denoting the receiver_type field in the database. FieldReceiverType = "receiver_type" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldReceiver holds the string denoting the receiver field in the database. FieldReceiver = "receiver" // FieldComments holds the string denoting the comments field in the database. FieldComments = "comments" // Table holds the table name of the msgchannel in the database. Table = "msg_channel" )
const DefaultStatus typex.SimpleStatus = "inactive"
Variables ¶
var ( Hooks [3]ent.Hook // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/woocoos/msgcenter/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedBy, FieldCreatedAt, FieldUpdatedBy, FieldUpdatedAt, FieldName, FieldTenantID, FieldReceiverType, FieldStatus, FieldReceiver, FieldComments, }
Columns holds all SQL columns for msgchannel fields.
Functions ¶
func And ¶
func And(predicates ...predicate.MsgChannel) predicate.MsgChannel
And groups predicates with the AND operator between them.
func Comments ¶
func Comments(v string) predicate.MsgChannel
Comments applies equality check predicate on the "comments" field. It's identical to CommentsEQ.
func CommentsContains ¶
func CommentsContains(v string) predicate.MsgChannel
CommentsContains applies the Contains predicate on the "comments" field.
func CommentsContainsFold ¶
func CommentsContainsFold(v string) predicate.MsgChannel
CommentsContainsFold applies the ContainsFold predicate on the "comments" field.
func CommentsEQ ¶
func CommentsEQ(v string) predicate.MsgChannel
CommentsEQ applies the EQ predicate on the "comments" field.
func CommentsEqualFold ¶
func CommentsEqualFold(v string) predicate.MsgChannel
CommentsEqualFold applies the EqualFold predicate on the "comments" field.
func CommentsGT ¶
func CommentsGT(v string) predicate.MsgChannel
CommentsGT applies the GT predicate on the "comments" field.
func CommentsGTE ¶
func CommentsGTE(v string) predicate.MsgChannel
CommentsGTE applies the GTE predicate on the "comments" field.
func CommentsHasPrefix ¶
func CommentsHasPrefix(v string) predicate.MsgChannel
CommentsHasPrefix applies the HasPrefix predicate on the "comments" field.
func CommentsHasSuffix ¶
func CommentsHasSuffix(v string) predicate.MsgChannel
CommentsHasSuffix applies the HasSuffix predicate on the "comments" field.
func CommentsIn ¶
func CommentsIn(vs ...string) predicate.MsgChannel
CommentsIn applies the In predicate on the "comments" field.
func CommentsIsNil ¶
func CommentsIsNil() predicate.MsgChannel
CommentsIsNil applies the IsNil predicate on the "comments" field.
func CommentsLT ¶
func CommentsLT(v string) predicate.MsgChannel
CommentsLT applies the LT predicate on the "comments" field.
func CommentsLTE ¶
func CommentsLTE(v string) predicate.MsgChannel
CommentsLTE applies the LTE predicate on the "comments" field.
func CommentsNEQ ¶
func CommentsNEQ(v string) predicate.MsgChannel
CommentsNEQ applies the NEQ predicate on the "comments" field.
func CommentsNotIn ¶
func CommentsNotIn(vs ...string) predicate.MsgChannel
CommentsNotIn applies the NotIn predicate on the "comments" field.
func CommentsNotNil ¶
func CommentsNotNil() predicate.MsgChannel
CommentsNotNil applies the NotNil predicate on the "comments" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.MsgChannel
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.MsgChannel
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.MsgChannel
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.MsgChannel
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.MsgChannel
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.MsgChannel
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.MsgChannel
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.MsgChannel
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.MsgChannel
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v int) predicate.MsgChannel
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v int) predicate.MsgChannel
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v int) predicate.MsgChannel
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v int) predicate.MsgChannel
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...int) predicate.MsgChannel
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v int) predicate.MsgChannel
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v int) predicate.MsgChannel
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v int) predicate.MsgChannel
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...int) predicate.MsgChannel
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func IDGTE ¶
func IDGTE(id int) predicate.MsgChannel
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MsgChannel
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MsgChannel
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MsgChannel
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MsgChannel
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.MsgChannel
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.MsgChannel
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.MsgChannel
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.MsgChannel
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.MsgChannel
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.MsgChannel
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.MsgChannel
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.MsgChannel
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.MsgChannel
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.MsgChannel
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.MsgChannel
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.MsgChannel
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.MsgChannel
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.MsgChannel
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.MsgChannel) predicate.MsgChannel
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MsgChannel) predicate.MsgChannel
Or groups predicates with the OR operator between them.
func ReceiverIsNil ¶
func ReceiverIsNil() predicate.MsgChannel
ReceiverIsNil applies the IsNil predicate on the "receiver" field.
func ReceiverNotNil ¶
func ReceiverNotNil() predicate.MsgChannel
ReceiverNotNil applies the NotNil predicate on the "receiver" field.
func ReceiverTypeEQ ¶
func ReceiverTypeEQ(v profile.ReceiverType) predicate.MsgChannel
ReceiverTypeEQ applies the EQ predicate on the "receiver_type" field.
func ReceiverTypeIn ¶
func ReceiverTypeIn(vs ...profile.ReceiverType) predicate.MsgChannel
ReceiverTypeIn applies the In predicate on the "receiver_type" field.
func ReceiverTypeNEQ ¶
func ReceiverTypeNEQ(v profile.ReceiverType) predicate.MsgChannel
ReceiverTypeNEQ applies the NEQ predicate on the "receiver_type" field.
func ReceiverTypeNotIn ¶
func ReceiverTypeNotIn(vs ...profile.ReceiverType) predicate.MsgChannel
ReceiverTypeNotIn applies the NotIn predicate on the "receiver_type" field.
func ReceiverTypeValidator ¶
func ReceiverTypeValidator(rt profile.ReceiverType) error
ReceiverTypeValidator is a validator for the "receiver_type" field enum values. It is called by the builders before save.
func StatusEQ ¶
func StatusEQ(v typex.SimpleStatus) predicate.MsgChannel
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...typex.SimpleStatus) predicate.MsgChannel
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.MsgChannel
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v typex.SimpleStatus) predicate.MsgChannel
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...typex.SimpleStatus) predicate.MsgChannel
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.MsgChannel
StatusNotNil applies the NotNil predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s typex.SimpleStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TenantID ¶
func TenantID(v int) predicate.MsgChannel
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDEQ ¶
func TenantIDEQ(v int) predicate.MsgChannel
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDGT ¶
func TenantIDGT(v int) predicate.MsgChannel
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
func TenantIDGTE(v int) predicate.MsgChannel
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDIn ¶
func TenantIDIn(vs ...int) predicate.MsgChannel
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
func TenantIDLT(v int) predicate.MsgChannel
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
func TenantIDLTE(v int) predicate.MsgChannel
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
func TenantIDNEQ(v int) predicate.MsgChannel
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
func TenantIDNotIn(vs ...int) predicate.MsgChannel
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.MsgChannel
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.MsgChannel
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.MsgChannel
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.MsgChannel
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.MsgChannel
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.MsgChannel
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.MsgChannel
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.MsgChannel
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.MsgChannel
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.MsgChannel
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.MsgChannel
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v int) predicate.MsgChannel
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
func UpdatedByEQ(v int) predicate.MsgChannel
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v int) predicate.MsgChannel
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v int) predicate.MsgChannel
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...int) predicate.MsgChannel
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.MsgChannel
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v int) predicate.MsgChannel
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v int) predicate.MsgChannel
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v int) predicate.MsgChannel
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...int) predicate.MsgChannel
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.MsgChannel
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
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 MsgChannel queries.
func ByComments ¶
func ByComments(opts ...sql.OrderTermOption) OrderOption
ByComments orders the results by the comments field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByReceiverType ¶
func ByReceiverType(opts ...sql.OrderTermOption) OrderOption
ByReceiverType orders the results by the receiver_type field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.