package
0.0.0-20240831092508-ce64a08fb56a
Repository: https://github.com/woocoos/msgcenter.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
AppID applies equality check predicate on the "app_id" field.
AppIDEQ applies the EQ predicate on the "app_id" field.
AppIDGT applies the GT predicate on the "app_id" field.
AppIDGTE applies the GTE predicate on the "app_id" field.
AppIDIn applies the In predicate on the "app_id" field.
AppIDIsNil applies the IsNil predicate on the "app_id" field.
AppIDLT applies the LT predicate on the "app_id" field.
AppIDLTE applies the LTE predicate on the "app_id" field.
AppIDNEQ applies the NEQ predicate on the "app_id" field.
AppIDNotIn applies the NotIn predicate on the "app_id" field.
AppIDNotNil applies the NotNil predicate on the "app_id" field.
ByAppID orders the results by the app_id field.
ByCanCustom orders the results by the can_custom field.
ByCanSubs orders the results by the can_subs field.
ByCategory orders the results by the category field.
ByComments orders the results by the comments field.
ByCreatedAt orders the results by the created_at field.
ByCreatedBy orders the results by the created_by field.
ByEvents orders the results by events terms.
ByEventsCount orders the results by events count.
ByID orders the results by the id field.
ByName orders the results by the name field.
ByStatus orders the results by the status field.
BySubscribers orders the results by subscribers terms.
BySubscribersCount orders the results by subscribers count.
ByUpdatedAt orders the results by the updated_at field.
ByUpdatedBy orders the results by the updated_by field.
CanCustom applies equality check predicate on the "can_custom" field.
CanCustomEQ applies the EQ predicate on the "can_custom" field.
CanCustomIsNil applies the IsNil predicate on the "can_custom" field.
CanCustomNEQ applies the NEQ predicate on the "can_custom" field.
CanCustomNotNil applies the NotNil predicate on the "can_custom" field.
CanSubs applies equality check predicate on the "can_subs" field.
CanSubsEQ applies the EQ predicate on the "can_subs" field.
CanSubsIsNil applies the IsNil predicate on the "can_subs" field.
CanSubsNEQ applies the NEQ predicate on the "can_subs" field.
CanSubsNotNil applies the NotNil predicate on the "can_subs" field.
Category applies equality check predicate on the "category" field.
CategoryContains applies the Contains predicate on the "category" field.
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
CategoryEQ applies the EQ predicate on the "category" field.
CategoryEqualFold applies the EqualFold predicate on the "category" field.
CategoryGT applies the GT predicate on the "category" field.
CategoryGTE applies the GTE predicate on the "category" field.
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
CategoryIn applies the In predicate on the "category" field.
CategoryLT applies the LT predicate on the "category" field.
CategoryLTE applies the LTE predicate on the "category" field.
CategoryNEQ applies the NEQ predicate on the "category" field.
CategoryNotIn applies the NotIn predicate on the "category" field.
Comments applies equality check predicate on the "comments" field.
CommentsContains applies the Contains predicate on the "comments" field.
CommentsContainsFold applies the ContainsFold predicate on the "comments" field.
CommentsEQ applies the EQ predicate on the "comments" field.
CommentsEqualFold applies the EqualFold predicate on the "comments" field.
CommentsGT applies the GT predicate on the "comments" field.
CommentsGTE applies the GTE predicate on the "comments" field.
CommentsHasPrefix applies the HasPrefix predicate on the "comments" field.
CommentsHasSuffix applies the HasSuffix predicate on the "comments" field.
CommentsIn applies the In predicate on the "comments" field.
CommentsIsNil applies the IsNil predicate on the "comments" field.
CommentsLT applies the LT predicate on the "comments" field.
CommentsLTE applies the LTE predicate on the "comments" field.
CommentsNEQ applies the NEQ predicate on the "comments" field.
CommentsNotIn applies the NotIn predicate on the "comments" field.
CommentsNotNil applies the NotNil predicate on the "comments" field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
CreatedBy applies equality check predicate on the "created_by" field.
CreatedByEQ applies the EQ predicate on the "created_by" field.
CreatedByGT applies the GT predicate on the "created_by" field.
CreatedByGTE applies the GTE predicate on the "created_by" field.
CreatedByIn applies the In predicate on the "created_by" field.
CreatedByLT applies the LT predicate on the "created_by" field.
CreatedByLTE applies the LTE predicate on the "created_by" field.
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
HasEvents applies the HasEdge predicate on the "events" edge.
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
HasSubscribers applies the HasEdge predicate on the "subscribers" edge.
HasSubscribersWith applies the HasEdge predicate on the "subscribers" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
StatusEQ applies the EQ predicate on the "status" field.
StatusIn applies the In predicate on the "status" field.
StatusIsNil applies the IsNil predicate on the "status" field.
StatusNEQ applies the NEQ predicate on the "status" field.
StatusNotIn applies the NotIn predicate on the "status" field.
StatusNotNil applies the NotNil predicate on the "status" field.
StatusValidator is a validator for the "status" field enum values.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
UpdatedBy applies equality check predicate on the "updated_by" field.
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
UpdatedByGT applies the GT predicate on the "updated_by" field.
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
UpdatedByIn applies the In predicate on the "updated_by" field.
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
UpdatedByLT applies the LT predicate on the "updated_by" field.
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

No description provided by the author
EdgeEvents holds the string denoting the events edge name in mutations.
EdgeSubscribers holds the string denoting the subscribers edge name in mutations.
EventsColumn is the table column denoting the events relation/edge.
EventsInverseTable is the table name for the MsgEvent entity.
EventsTable is the table that holds the events relation/edge.
FieldAppID holds the string denoting the app_id field in the database.
FieldCanCustom holds the string denoting the can_custom field in the database.
FieldCanSubs holds the string denoting the can_subs field in the database.
FieldCategory holds the string denoting the category field in the database.
FieldComments holds the string denoting the comments field in the database.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldCreatedBy holds the string denoting the created_by field in the database.
FieldID holds the string denoting the id field in the database.
FieldName holds the string denoting the name field in the database.
FieldStatus holds the string denoting the status field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldUpdatedBy holds the string denoting the updated_by field in the database.
Label holds the string label denoting the msgtype type in the database.
SubscribersColumn is the table column denoting the subscribers relation/edge.
SubscribersInverseTable is the table name for the MsgSubscriber entity.
SubscribersTable is the table that holds the subscribers relation/edge.
Table holds the table name of the msgtype in the database.

# Variables

CategoryValidator is a validator for the "category" field.
Columns holds all SQL columns for msgtype fields.
DefaultCanCustom holds the default value on creation for the "can_custom" field.
DefaultCanSubs holds the default value on creation for the "can_subs" field.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
Note that the variables below are initialized by the runtime package on the initialization of the application.
NameValidator is a validator for the "name" field.

# Type aliases

OrderOption defines the ordering options for the MsgType queries.