Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ApplicationStatusHistory) predicate.ApplicationStatusHistory
- func ApplicationID(v uuid.UUID) predicate.ApplicationStatusHistory
- func ApplicationIDEQ(v uuid.UUID) predicate.ApplicationStatusHistory
- func ApplicationIDIn(vs ...uuid.UUID) predicate.ApplicationStatusHistory
- func ApplicationIDNEQ(v uuid.UUID) predicate.ApplicationStatusHistory
- func ApplicationIDNotIn(vs ...uuid.UUID) predicate.ApplicationStatusHistory
- func CreatedTime(v time.Time) predicate.ApplicationStatusHistory
- func CreatedTimeEQ(v time.Time) predicate.ApplicationStatusHistory
- func CreatedTimeGT(v time.Time) predicate.ApplicationStatusHistory
- func CreatedTimeGTE(v time.Time) predicate.ApplicationStatusHistory
- func CreatedTimeIn(vs ...time.Time) predicate.ApplicationStatusHistory
- func CreatedTimeLT(v time.Time) predicate.ApplicationStatusHistory
- func CreatedTimeLTE(v time.Time) predicate.ApplicationStatusHistory
- func CreatedTimeNEQ(v time.Time) predicate.ApplicationStatusHistory
- func CreatedTimeNotIn(vs ...time.Time) predicate.ApplicationStatusHistory
- func HasApplications() predicate.ApplicationStatusHistory
- func HasApplicationsWith(preds ...predicate.Application) predicate.ApplicationStatusHistory
- func ID(id int) predicate.ApplicationStatusHistory
- func IDEQ(id int) predicate.ApplicationStatusHistory
- func IDGT(id int) predicate.ApplicationStatusHistory
- func IDGTE(id int) predicate.ApplicationStatusHistory
- func IDIn(ids ...int) predicate.ApplicationStatusHistory
- func IDLT(id int) predicate.ApplicationStatusHistory
- func IDLTE(id int) predicate.ApplicationStatusHistory
- func IDNEQ(id int) predicate.ApplicationStatusHistory
- func IDNotIn(ids ...int) predicate.ApplicationStatusHistory
- func Not(p predicate.ApplicationStatusHistory) predicate.ApplicationStatusHistory
- func Or(predicates ...predicate.ApplicationStatusHistory) predicate.ApplicationStatusHistory
- func StatusEQ(v Status) predicate.ApplicationStatusHistory
- func StatusIn(vs ...Status) predicate.ApplicationStatusHistory
- func StatusNEQ(v Status) predicate.ApplicationStatusHistory
- func StatusNotIn(vs ...Status) predicate.ApplicationStatusHistory
- func StatusValidator(s Status) error
- func ValidColumn(column string) bool
- type Status
Constants ¶
const ( // Label holds the string label denoting the applicationstatushistory type in the database. Label = "application_status_history" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldApplicationID holds the string denoting the application_id field in the database. FieldApplicationID = "application_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldCreatedTime holds the string denoting the created_time field in the database. FieldCreatedTime = "created_time" // EdgeApplications holds the string denoting the applications edge name in mutations. EdgeApplications = "applications" // ApplicationFieldID holds the string denoting the ID field of the Application. ApplicationFieldID = "application_id" // Table holds the table name of the applicationstatushistory in the database. Table = "application_status_histories" // ApplicationsTable is the table that holds the applications relation/edge. ApplicationsTable = "application_status_histories" // ApplicationsInverseTable is the table name for the Application entity. // It exists in this package in order to avoid circular dependency with the "application" package. ApplicationsInverseTable = "applications" // ApplicationsColumn is the table column denoting the applications relation/edge. ApplicationsColumn = "application_id" )
Variables ¶
var Columns = []string{ FieldID, FieldApplicationID, FieldStatus, FieldCreatedTime, }
Columns holds all SQL columns for applicationstatushistory fields.
var ( // DefaultCreatedTime holds the default value on creation for the "created_time" field. DefaultCreatedTime func() time.Time )
Functions ¶
func And ¶
func And(predicates ...predicate.ApplicationStatusHistory) predicate.ApplicationStatusHistory
And groups predicates with the AND operator between them.
func ApplicationID ¶
func ApplicationID(v uuid.UUID) predicate.ApplicationStatusHistory
ApplicationID applies equality check predicate on the "application_id" field. It's identical to ApplicationIDEQ.
func ApplicationIDEQ ¶
func ApplicationIDEQ(v uuid.UUID) predicate.ApplicationStatusHistory
ApplicationIDEQ applies the EQ predicate on the "application_id" field.
func ApplicationIDIn ¶
func ApplicationIDIn(vs ...uuid.UUID) predicate.ApplicationStatusHistory
ApplicationIDIn applies the In predicate on the "application_id" field.
func ApplicationIDNEQ ¶
func ApplicationIDNEQ(v uuid.UUID) predicate.ApplicationStatusHistory
ApplicationIDNEQ applies the NEQ predicate on the "application_id" field.
func ApplicationIDNotIn ¶
func ApplicationIDNotIn(vs ...uuid.UUID) predicate.ApplicationStatusHistory
ApplicationIDNotIn applies the NotIn predicate on the "application_id" field.
func CreatedTime ¶
func CreatedTime(v time.Time) predicate.ApplicationStatusHistory
CreatedTime applies equality check predicate on the "created_time" field. It's identical to CreatedTimeEQ.
func CreatedTimeEQ ¶
func CreatedTimeEQ(v time.Time) predicate.ApplicationStatusHistory
CreatedTimeEQ applies the EQ predicate on the "created_time" field.
func CreatedTimeGT ¶
func CreatedTimeGT(v time.Time) predicate.ApplicationStatusHistory
CreatedTimeGT applies the GT predicate on the "created_time" field.
func CreatedTimeGTE ¶
func CreatedTimeGTE(v time.Time) predicate.ApplicationStatusHistory
CreatedTimeGTE applies the GTE predicate on the "created_time" field.
func CreatedTimeIn ¶
func CreatedTimeIn(vs ...time.Time) predicate.ApplicationStatusHistory
CreatedTimeIn applies the In predicate on the "created_time" field.
func CreatedTimeLT ¶
func CreatedTimeLT(v time.Time) predicate.ApplicationStatusHistory
CreatedTimeLT applies the LT predicate on the "created_time" field.
func CreatedTimeLTE ¶
func CreatedTimeLTE(v time.Time) predicate.ApplicationStatusHistory
CreatedTimeLTE applies the LTE predicate on the "created_time" field.
func CreatedTimeNEQ ¶
func CreatedTimeNEQ(v time.Time) predicate.ApplicationStatusHistory
CreatedTimeNEQ applies the NEQ predicate on the "created_time" field.
func CreatedTimeNotIn ¶
func CreatedTimeNotIn(vs ...time.Time) predicate.ApplicationStatusHistory
CreatedTimeNotIn applies the NotIn predicate on the "created_time" field.
func HasApplications ¶
func HasApplications() predicate.ApplicationStatusHistory
HasApplications applies the HasEdge predicate on the "applications" edge.
func HasApplicationsWith ¶
func HasApplicationsWith(preds ...predicate.Application) predicate.ApplicationStatusHistory
HasApplicationsWith applies the HasEdge predicate on the "applications" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.ApplicationStatusHistory
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.ApplicationStatusHistory
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.ApplicationStatusHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.ApplicationStatusHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ApplicationStatusHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.ApplicationStatusHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ApplicationStatusHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ApplicationStatusHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ApplicationStatusHistory
IDNotIn applies the NotIn predicate on the ID field.
func Or ¶
func Or(predicates ...predicate.ApplicationStatusHistory) predicate.ApplicationStatusHistory
Or groups predicates with the OR operator between them.
func StatusEQ ¶
func StatusEQ(v Status) predicate.ApplicationStatusHistory
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.ApplicationStatusHistory
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.ApplicationStatusHistory
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.ApplicationStatusHistory
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" 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).
Types ¶
type Status ¶
type Status string
Status defines the type for the "status" enum field.