Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MsgSubscriber) predicate.MsgSubscriber
- func CreatedAt(v time.Time) predicate.MsgSubscriber
- func CreatedAtEQ(v time.Time) predicate.MsgSubscriber
- func CreatedAtGT(v time.Time) predicate.MsgSubscriber
- func CreatedAtGTE(v time.Time) predicate.MsgSubscriber
- func CreatedAtIn(vs ...time.Time) predicate.MsgSubscriber
- func CreatedAtLT(v time.Time) predicate.MsgSubscriber
- func CreatedAtLTE(v time.Time) predicate.MsgSubscriber
- func CreatedAtNEQ(v time.Time) predicate.MsgSubscriber
- func CreatedAtNotIn(vs ...time.Time) predicate.MsgSubscriber
- func CreatedBy(v int) predicate.MsgSubscriber
- func CreatedByEQ(v int) predicate.MsgSubscriber
- func CreatedByGT(v int) predicate.MsgSubscriber
- func CreatedByGTE(v int) predicate.MsgSubscriber
- func CreatedByIn(vs ...int) predicate.MsgSubscriber
- func CreatedByLT(v int) predicate.MsgSubscriber
- func CreatedByLTE(v int) predicate.MsgSubscriber
- func CreatedByNEQ(v int) predicate.MsgSubscriber
- func CreatedByNotIn(vs ...int) predicate.MsgSubscriber
- func Exclude(v bool) predicate.MsgSubscriber
- func ExcludeEQ(v bool) predicate.MsgSubscriber
- func ExcludeIsNil() predicate.MsgSubscriber
- func ExcludeNEQ(v bool) predicate.MsgSubscriber
- func ExcludeNotNil() predicate.MsgSubscriber
- func HasMsgType() predicate.MsgSubscriber
- func HasMsgTypeWith(preds ...predicate.MsgType) predicate.MsgSubscriber
- func HasUser() predicate.MsgSubscriber
- func HasUserWith(preds ...predicate.User) predicate.MsgSubscriber
- func ID(id int) predicate.MsgSubscriber
- func IDEQ(id int) predicate.MsgSubscriber
- func IDGT(id int) predicate.MsgSubscriber
- func IDGTE(id int) predicate.MsgSubscriber
- func IDIn(ids ...int) predicate.MsgSubscriber
- func IDLT(id int) predicate.MsgSubscriber
- func IDLTE(id int) predicate.MsgSubscriber
- func IDNEQ(id int) predicate.MsgSubscriber
- func IDNotIn(ids ...int) predicate.MsgSubscriber
- func MsgTypeID(v int) predicate.MsgSubscriber
- func MsgTypeIDEQ(v int) predicate.MsgSubscriber
- func MsgTypeIDIn(vs ...int) predicate.MsgSubscriber
- func MsgTypeIDNEQ(v int) predicate.MsgSubscriber
- func MsgTypeIDNotIn(vs ...int) predicate.MsgSubscriber
- func Not(p predicate.MsgSubscriber) predicate.MsgSubscriber
- func Or(predicates ...predicate.MsgSubscriber) predicate.MsgSubscriber
- func OrgRoleID(v int) predicate.MsgSubscriber
- func OrgRoleIDEQ(v int) predicate.MsgSubscriber
- func OrgRoleIDGT(v int) predicate.MsgSubscriber
- func OrgRoleIDGTE(v int) predicate.MsgSubscriber
- func OrgRoleIDIn(vs ...int) predicate.MsgSubscriber
- func OrgRoleIDIsNil() predicate.MsgSubscriber
- func OrgRoleIDLT(v int) predicate.MsgSubscriber
- func OrgRoleIDLTE(v int) predicate.MsgSubscriber
- func OrgRoleIDNEQ(v int) predicate.MsgSubscriber
- func OrgRoleIDNotIn(vs ...int) predicate.MsgSubscriber
- func OrgRoleIDNotNil() predicate.MsgSubscriber
- func TenantID(v int) predicate.MsgSubscriber
- func TenantIDEQ(v int) predicate.MsgSubscriber
- func TenantIDGT(v int) predicate.MsgSubscriber
- func TenantIDGTE(v int) predicate.MsgSubscriber
- func TenantIDIn(vs ...int) predicate.MsgSubscriber
- func TenantIDLT(v int) predicate.MsgSubscriber
- func TenantIDLTE(v int) predicate.MsgSubscriber
- func TenantIDNEQ(v int) predicate.MsgSubscriber
- func TenantIDNotIn(vs ...int) predicate.MsgSubscriber
- func UpdatedAt(v time.Time) predicate.MsgSubscriber
- func UpdatedAtEQ(v time.Time) predicate.MsgSubscriber
- func UpdatedAtGT(v time.Time) predicate.MsgSubscriber
- func UpdatedAtGTE(v time.Time) predicate.MsgSubscriber
- func UpdatedAtIn(vs ...time.Time) predicate.MsgSubscriber
- func UpdatedAtIsNil() predicate.MsgSubscriber
- func UpdatedAtLT(v time.Time) predicate.MsgSubscriber
- func UpdatedAtLTE(v time.Time) predicate.MsgSubscriber
- func UpdatedAtNEQ(v time.Time) predicate.MsgSubscriber
- func UpdatedAtNotIn(vs ...time.Time) predicate.MsgSubscriber
- func UpdatedAtNotNil() predicate.MsgSubscriber
- func UpdatedBy(v int) predicate.MsgSubscriber
- func UpdatedByEQ(v int) predicate.MsgSubscriber
- func UpdatedByGT(v int) predicate.MsgSubscriber
- func UpdatedByGTE(v int) predicate.MsgSubscriber
- func UpdatedByIn(vs ...int) predicate.MsgSubscriber
- func UpdatedByIsNil() predicate.MsgSubscriber
- func UpdatedByLT(v int) predicate.MsgSubscriber
- func UpdatedByLTE(v int) predicate.MsgSubscriber
- func UpdatedByNEQ(v int) predicate.MsgSubscriber
- func UpdatedByNotIn(vs ...int) predicate.MsgSubscriber
- func UpdatedByNotNil() predicate.MsgSubscriber
- func UserID(v int) predicate.MsgSubscriber
- func UserIDEQ(v int) predicate.MsgSubscriber
- func UserIDIn(vs ...int) predicate.MsgSubscriber
- func UserIDIsNil() predicate.MsgSubscriber
- func UserIDNEQ(v int) predicate.MsgSubscriber
- func UserIDNotIn(vs ...int) predicate.MsgSubscriber
- func UserIDNotNil() predicate.MsgSubscriber
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByExclude(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMsgTypeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByMsgTypeID(opts ...sql.OrderTermOption) OrderOption
- func ByOrgRoleID(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the msgsubscriber type in the database. Label = "msg_subscriber" // 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" // FieldMsgTypeID holds the string denoting the msg_type_id field in the database. FieldMsgTypeID = "msg_type_id" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldOrgRoleID holds the string denoting the org_role_id field in the database. FieldOrgRoleID = "org_role_id" // FieldExclude holds the string denoting the exclude field in the database. FieldExclude = "exclude" // EdgeMsgType holds the string denoting the msg_type edge name in mutations. EdgeMsgType = "msg_type" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the msgsubscriber in the database. Table = "msg_subscriber" // MsgTypeTable is the table that holds the msg_type relation/edge. MsgTypeTable = "msg_subscriber" // MsgTypeInverseTable is the table name for the MsgType entity. // It exists in this package in order to avoid circular dependency with the "msgtype" package. MsgTypeInverseTable = "msg_type" // MsgTypeColumn is the table column denoting the msg_type relation/edge. MsgTypeColumn = "msg_type_id" // UserTable is the table that holds the user relation/edge. UserTable = "msg_subscriber" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "user" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
Variables ¶
var ( Hooks [3]ent.Hook // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultExclude holds the default value on creation for the "exclude" field. DefaultExclude bool )
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, FieldMsgTypeID, FieldTenantID, FieldUserID, FieldOrgRoleID, FieldExclude, }
Columns holds all SQL columns for msgsubscriber fields.
Functions ¶
func And ¶
func And(predicates ...predicate.MsgSubscriber) predicate.MsgSubscriber
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.MsgSubscriber
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.MsgSubscriber
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.MsgSubscriber
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.MsgSubscriber
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.MsgSubscriber
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.MsgSubscriber
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.MsgSubscriber
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.MsgSubscriber
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.MsgSubscriber
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v int) predicate.MsgSubscriber
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v int) predicate.MsgSubscriber
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v int) predicate.MsgSubscriber
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v int) predicate.MsgSubscriber
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...int) predicate.MsgSubscriber
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v int) predicate.MsgSubscriber
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v int) predicate.MsgSubscriber
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v int) predicate.MsgSubscriber
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...int) predicate.MsgSubscriber
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func Exclude ¶
func Exclude(v bool) predicate.MsgSubscriber
Exclude applies equality check predicate on the "exclude" field. It's identical to ExcludeEQ.
func ExcludeEQ ¶
func ExcludeEQ(v bool) predicate.MsgSubscriber
ExcludeEQ applies the EQ predicate on the "exclude" field.
func ExcludeIsNil ¶
func ExcludeIsNil() predicate.MsgSubscriber
ExcludeIsNil applies the IsNil predicate on the "exclude" field.
func ExcludeNEQ ¶
func ExcludeNEQ(v bool) predicate.MsgSubscriber
ExcludeNEQ applies the NEQ predicate on the "exclude" field.
func ExcludeNotNil ¶
func ExcludeNotNil() predicate.MsgSubscriber
ExcludeNotNil applies the NotNil predicate on the "exclude" field.
func HasMsgType ¶
func HasMsgType() predicate.MsgSubscriber
HasMsgType applies the HasEdge predicate on the "msg_type" edge.
func HasMsgTypeWith ¶
func HasMsgTypeWith(preds ...predicate.MsgType) predicate.MsgSubscriber
HasMsgTypeWith applies the HasEdge predicate on the "msg_type" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.MsgSubscriber
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.MsgSubscriber
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.MsgSubscriber
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.MsgSubscriber
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.MsgSubscriber
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MsgSubscriber
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.MsgSubscriber
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MsgSubscriber
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MsgSubscriber
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MsgSubscriber
IDNotIn applies the NotIn predicate on the ID field.
func MsgTypeID ¶
func MsgTypeID(v int) predicate.MsgSubscriber
MsgTypeID applies equality check predicate on the "msg_type_id" field. It's identical to MsgTypeIDEQ.
func MsgTypeIDEQ ¶
func MsgTypeIDEQ(v int) predicate.MsgSubscriber
MsgTypeIDEQ applies the EQ predicate on the "msg_type_id" field.
func MsgTypeIDIn ¶
func MsgTypeIDIn(vs ...int) predicate.MsgSubscriber
MsgTypeIDIn applies the In predicate on the "msg_type_id" field.
func MsgTypeIDNEQ ¶
func MsgTypeIDNEQ(v int) predicate.MsgSubscriber
MsgTypeIDNEQ applies the NEQ predicate on the "msg_type_id" field.
func MsgTypeIDNotIn ¶
func MsgTypeIDNotIn(vs ...int) predicate.MsgSubscriber
MsgTypeIDNotIn applies the NotIn predicate on the "msg_type_id" field.
func Not ¶
func Not(p predicate.MsgSubscriber) predicate.MsgSubscriber
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MsgSubscriber) predicate.MsgSubscriber
Or groups predicates with the OR operator between them.
func OrgRoleID ¶
func OrgRoleID(v int) predicate.MsgSubscriber
OrgRoleID applies equality check predicate on the "org_role_id" field. It's identical to OrgRoleIDEQ.
func OrgRoleIDEQ ¶
func OrgRoleIDEQ(v int) predicate.MsgSubscriber
OrgRoleIDEQ applies the EQ predicate on the "org_role_id" field.
func OrgRoleIDGT ¶
func OrgRoleIDGT(v int) predicate.MsgSubscriber
OrgRoleIDGT applies the GT predicate on the "org_role_id" field.
func OrgRoleIDGTE ¶
func OrgRoleIDGTE(v int) predicate.MsgSubscriber
OrgRoleIDGTE applies the GTE predicate on the "org_role_id" field.
func OrgRoleIDIn ¶
func OrgRoleIDIn(vs ...int) predicate.MsgSubscriber
OrgRoleIDIn applies the In predicate on the "org_role_id" field.
func OrgRoleIDIsNil ¶
func OrgRoleIDIsNil() predicate.MsgSubscriber
OrgRoleIDIsNil applies the IsNil predicate on the "org_role_id" field.
func OrgRoleIDLT ¶
func OrgRoleIDLT(v int) predicate.MsgSubscriber
OrgRoleIDLT applies the LT predicate on the "org_role_id" field.
func OrgRoleIDLTE ¶
func OrgRoleIDLTE(v int) predicate.MsgSubscriber
OrgRoleIDLTE applies the LTE predicate on the "org_role_id" field.
func OrgRoleIDNEQ ¶
func OrgRoleIDNEQ(v int) predicate.MsgSubscriber
OrgRoleIDNEQ applies the NEQ predicate on the "org_role_id" field.
func OrgRoleIDNotIn ¶
func OrgRoleIDNotIn(vs ...int) predicate.MsgSubscriber
OrgRoleIDNotIn applies the NotIn predicate on the "org_role_id" field.
func OrgRoleIDNotNil ¶
func OrgRoleIDNotNil() predicate.MsgSubscriber
OrgRoleIDNotNil applies the NotNil predicate on the "org_role_id" field.
func TenantID ¶
func TenantID(v int) predicate.MsgSubscriber
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDEQ ¶
func TenantIDEQ(v int) predicate.MsgSubscriber
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDGT ¶
func TenantIDGT(v int) predicate.MsgSubscriber
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
func TenantIDGTE(v int) predicate.MsgSubscriber
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDIn ¶
func TenantIDIn(vs ...int) predicate.MsgSubscriber
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
func TenantIDLT(v int) predicate.MsgSubscriber
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
func TenantIDLTE(v int) predicate.MsgSubscriber
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
func TenantIDNEQ(v int) predicate.MsgSubscriber
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
func TenantIDNotIn(vs ...int) predicate.MsgSubscriber
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.MsgSubscriber
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.MsgSubscriber
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.MsgSubscriber
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.MsgSubscriber
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.MsgSubscriber
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.MsgSubscriber
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.MsgSubscriber
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.MsgSubscriber
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.MsgSubscriber
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.MsgSubscriber
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.MsgSubscriber
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v int) predicate.MsgSubscriber
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
func UpdatedByEQ(v int) predicate.MsgSubscriber
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v int) predicate.MsgSubscriber
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v int) predicate.MsgSubscriber
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...int) predicate.MsgSubscriber
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.MsgSubscriber
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v int) predicate.MsgSubscriber
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v int) predicate.MsgSubscriber
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v int) predicate.MsgSubscriber
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...int) predicate.MsgSubscriber
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.MsgSubscriber
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶
func UserID(v int) predicate.MsgSubscriber
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int) predicate.MsgSubscriber
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int) predicate.MsgSubscriber
UserIDIn applies the In predicate on the "user_id" field.
func UserIDIsNil ¶
func UserIDIsNil() predicate.MsgSubscriber
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int) predicate.MsgSubscriber
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int) predicate.MsgSubscriber
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
func UserIDNotNil() predicate.MsgSubscriber
UserIDNotNil applies the NotNil predicate on the "user_id" 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 MsgSubscriber queries.
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 ByExclude ¶
func ByExclude(opts ...sql.OrderTermOption) OrderOption
ByExclude orders the results by the exclude field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMsgTypeField ¶
func ByMsgTypeField(field string, opts ...sql.OrderTermOption) OrderOption
ByMsgTypeField orders the results by msg_type field.
func ByMsgTypeID ¶
func ByMsgTypeID(opts ...sql.OrderTermOption) OrderOption
ByMsgTypeID orders the results by the msg_type_id field.
func ByOrgRoleID ¶
func ByOrgRoleID(opts ...sql.OrderTermOption) OrderOption
ByOrgRoleID orders the results by the org_role_id 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.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.