Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Event) predicate.Event
- func CreatedAt(v time.Time) predicate.Event
- func CreatedAtEQ(v time.Time) predicate.Event
- func CreatedAtGT(v time.Time) predicate.Event
- func CreatedAtGTE(v time.Time) predicate.Event
- func CreatedAtIn(vs ...time.Time) predicate.Event
- func CreatedAtLT(v time.Time) predicate.Event
- func CreatedAtLTE(v time.Time) predicate.Event
- func CreatedAtNEQ(v time.Time) predicate.Event
- func CreatedAtNotIn(vs ...time.Time) predicate.Event
- func DeletedID(v int) predicate.Event
- func DeletedIDEQ(v int) predicate.Event
- func DeletedIDGT(v int) predicate.Event
- func DeletedIDGTE(v int) predicate.Event
- func DeletedIDIn(vs ...int) predicate.Event
- func DeletedIDIsNil() predicate.Event
- func DeletedIDLT(v int) predicate.Event
- func DeletedIDLTE(v int) predicate.Event
- func DeletedIDNEQ(v int) predicate.Event
- func DeletedIDNotIn(vs ...int) predicate.Event
- func DeletedIDNotNil() predicate.Event
- func DeploymentStatusID(v int) predicate.Event
- func DeploymentStatusIDEQ(v int) predicate.Event
- func DeploymentStatusIDIn(vs ...int) predicate.Event
- func DeploymentStatusIDIsNil() predicate.Event
- func DeploymentStatusIDNEQ(v int) predicate.Event
- func DeploymentStatusIDNotIn(vs ...int) predicate.Event
- func DeploymentStatusIDNotNil() predicate.Event
- func HasDeploymentStatus() predicate.Event
- func HasDeploymentStatusWith(preds ...predicate.DeploymentStatus) predicate.Event
- func HasNotificationRecord() predicate.Event
- func HasNotificationRecordWith(preds ...predicate.NotificationRecord) predicate.Event
- func HasReview() predicate.Event
- func HasReviewWith(preds ...predicate.Review) predicate.Event
- func ID(id int) predicate.Event
- func IDEQ(id int) predicate.Event
- func IDGT(id int) predicate.Event
- func IDGTE(id int) predicate.Event
- func IDIn(ids ...int) predicate.Event
- func IDLT(id int) predicate.Event
- func IDLTE(id int) predicate.Event
- func IDNEQ(id int) predicate.Event
- func IDNotIn(ids ...int) predicate.Event
- func KindEQ(v Kind) predicate.Event
- func KindIn(vs ...Kind) predicate.Event
- func KindNEQ(v Kind) predicate.Event
- func KindNotIn(vs ...Kind) predicate.Event
- func KindValidator(k Kind) error
- func Not(p predicate.Event) predicate.Event
- func Or(predicates ...predicate.Event) predicate.Event
- func ReviewID(v int) predicate.Event
- func ReviewIDEQ(v int) predicate.Event
- func ReviewIDIn(vs ...int) predicate.Event
- func ReviewIDIsNil() predicate.Event
- func ReviewIDNEQ(v int) predicate.Event
- func ReviewIDNotIn(vs ...int) predicate.Event
- func ReviewIDNotNil() predicate.Event
- func TypeEQ(v Type) predicate.Event
- func TypeIn(vs ...Type) predicate.Event
- func TypeNEQ(v Type) predicate.Event
- func TypeNotIn(vs ...Type) predicate.Event
- func TypeValidator(_type Type) error
- func ValidColumn(column string) bool
- type Kind
- type Type
Constants ¶
const ( // Label holds the string label denoting the event type in the database. Label = "event" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldDeploymentStatusID holds the string denoting the deployment_status_id field in the database. FieldDeploymentStatusID = "deployment_status_id" // FieldReviewID holds the string denoting the review_id field in the database. FieldReviewID = "review_id" // FieldDeletedID holds the string denoting the deleted_id field in the database. FieldDeletedID = "deleted_id" // EdgeDeploymentStatus holds the string denoting the deployment_status edge name in mutations. EdgeDeploymentStatus = "deployment_status" // EdgeReview holds the string denoting the review edge name in mutations. EdgeReview = "review" // EdgeNotificationRecord holds the string denoting the notification_record edge name in mutations. EdgeNotificationRecord = "notification_record" // Table holds the table name of the event in the database. Table = "events" // DeploymentStatusTable is the table that holds the deployment_status relation/edge. DeploymentStatusTable = "events" // DeploymentStatusInverseTable is the table name for the DeploymentStatus entity. // It exists in this package in order to avoid circular dependency with the "deploymentstatus" package. DeploymentStatusInverseTable = "deployment_status" // DeploymentStatusColumn is the table column denoting the deployment_status relation/edge. DeploymentStatusColumn = "deployment_status_id" // ReviewTable is the table that holds the review relation/edge. ReviewTable = "events" // ReviewInverseTable is the table name for the Review entity. // It exists in this package in order to avoid circular dependency with the "review" package. ReviewInverseTable = "reviews" // ReviewColumn is the table column denoting the review relation/edge. ReviewColumn = "review_id" // NotificationRecordTable is the table that holds the notification_record relation/edge. NotificationRecordTable = "notification_records" // NotificationRecordInverseTable is the table name for the NotificationRecord entity. // It exists in this package in order to avoid circular dependency with the "notificationrecord" package. NotificationRecordInverseTable = "notification_records" // NotificationRecordColumn is the table column denoting the notification_record relation/edge. NotificationRecordColumn = "event_id" )
Variables ¶
var Columns = []string{ FieldID, FieldKind, FieldType, FieldCreatedAt, FieldDeploymentStatusID, FieldReviewID, FieldDeletedID, }
Columns holds all SQL columns for event fields.
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedID ¶
DeletedID applies equality check predicate on the "deleted_id" field. It's identical to DeletedIDEQ.
func DeletedIDEQ ¶
DeletedIDEQ applies the EQ predicate on the "deleted_id" field.
func DeletedIDGT ¶
DeletedIDGT applies the GT predicate on the "deleted_id" field.
func DeletedIDGTE ¶
DeletedIDGTE applies the GTE predicate on the "deleted_id" field.
func DeletedIDIn ¶
DeletedIDIn applies the In predicate on the "deleted_id" field.
func DeletedIDIsNil ¶
DeletedIDIsNil applies the IsNil predicate on the "deleted_id" field.
func DeletedIDLT ¶
DeletedIDLT applies the LT predicate on the "deleted_id" field.
func DeletedIDLTE ¶
DeletedIDLTE applies the LTE predicate on the "deleted_id" field.
func DeletedIDNEQ ¶
DeletedIDNEQ applies the NEQ predicate on the "deleted_id" field.
func DeletedIDNotIn ¶
DeletedIDNotIn applies the NotIn predicate on the "deleted_id" field.
func DeletedIDNotNil ¶
DeletedIDNotNil applies the NotNil predicate on the "deleted_id" field.
func DeploymentStatusID ¶
DeploymentStatusID applies equality check predicate on the "deployment_status_id" field. It's identical to DeploymentStatusIDEQ.
func DeploymentStatusIDEQ ¶
DeploymentStatusIDEQ applies the EQ predicate on the "deployment_status_id" field.
func DeploymentStatusIDIn ¶
DeploymentStatusIDIn applies the In predicate on the "deployment_status_id" field.
func DeploymentStatusIDIsNil ¶
DeploymentStatusIDIsNil applies the IsNil predicate on the "deployment_status_id" field.
func DeploymentStatusIDNEQ ¶
DeploymentStatusIDNEQ applies the NEQ predicate on the "deployment_status_id" field.
func DeploymentStatusIDNotIn ¶
DeploymentStatusIDNotIn applies the NotIn predicate on the "deployment_status_id" field.
func DeploymentStatusIDNotNil ¶
DeploymentStatusIDNotNil applies the NotNil predicate on the "deployment_status_id" field.
func HasDeploymentStatus ¶
HasDeploymentStatus applies the HasEdge predicate on the "deployment_status" edge.
func HasDeploymentStatusWith ¶
func HasDeploymentStatusWith(preds ...predicate.DeploymentStatus) predicate.Event
HasDeploymentStatusWith applies the HasEdge predicate on the "deployment_status" edge with a given conditions (other predicates).
func HasNotificationRecord ¶
HasNotificationRecord applies the HasEdge predicate on the "notification_record" edge.
func HasNotificationRecordWith ¶
func HasNotificationRecordWith(preds ...predicate.NotificationRecord) predicate.Event
HasNotificationRecordWith applies the HasEdge predicate on the "notification_record" edge with a given conditions (other predicates).
func HasReviewWith ¶
HasReviewWith applies the HasEdge predicate on the "review" edge with a given conditions (other predicates).
func KindValidator ¶
KindValidator is a validator for the "kind" field enum values. It is called by the builders before save.
func ReviewID ¶
ReviewID applies equality check predicate on the "review_id" field. It's identical to ReviewIDEQ.
func ReviewIDEQ ¶
ReviewIDEQ applies the EQ predicate on the "review_id" field.
func ReviewIDIn ¶
ReviewIDIn applies the In predicate on the "review_id" field.
func ReviewIDIsNil ¶
ReviewIDIsNil applies the IsNil predicate on the "review_id" field.
func ReviewIDNEQ ¶
ReviewIDNEQ applies the NEQ predicate on the "review_id" field.
func ReviewIDNotIn ¶
ReviewIDNotIn applies the NotIn predicate on the "review_id" field.
func ReviewIDNotNil ¶
ReviewIDNotNil applies the NotNil predicate on the "review_id" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).