Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.StepRun) predicate.StepRun
- func CreatedAt(v time.Time) predicate.StepRun
- func CreatedAtEQ(v time.Time) predicate.StepRun
- func CreatedAtGT(v time.Time) predicate.StepRun
- func CreatedAtGTE(v time.Time) predicate.StepRun
- func CreatedAtIn(vs ...time.Time) predicate.StepRun
- func CreatedAtLT(v time.Time) predicate.StepRun
- func CreatedAtLTE(v time.Time) predicate.StepRun
- func CreatedAtNEQ(v time.Time) predicate.StepRun
- func CreatedAtNotIn(vs ...time.Time) predicate.StepRun
- func EndedAt(v time.Time) predicate.StepRun
- func EndedAtEQ(v time.Time) predicate.StepRun
- func EndedAtGT(v time.Time) predicate.StepRun
- func EndedAtGTE(v time.Time) predicate.StepRun
- func EndedAtIn(vs ...time.Time) predicate.StepRun
- func EndedAtIsNil() predicate.StepRun
- func EndedAtLT(v time.Time) predicate.StepRun
- func EndedAtLTE(v time.Time) predicate.StepRun
- func EndedAtNEQ(v time.Time) predicate.StepRun
- func EndedAtNotIn(vs ...time.Time) predicate.StepRun
- func EndedAtNotNil() predicate.StepRun
- func HasCreatedParticipants() predicate.StepRun
- func HasCreatedParticipantsWith(preds ...predicate.Participant) predicate.StepRun
- func HasParticipants() predicate.StepRun
- func HasParticipantsWith(preds ...predicate.Participant) predicate.StepRun
- func HasParticipations() predicate.StepRun
- func HasParticipationsWith(preds ...predicate.Participation) predicate.StepRun
- func HasRun() predicate.StepRun
- func HasRunWith(preds ...predicate.Run) predicate.StepRun
- func HasStep() predicate.StepRun
- func HasStepWith(preds ...predicate.Step) predicate.StepRun
- func HitID(v string) predicate.StepRun
- func HitIDContains(v string) predicate.StepRun
- func HitIDContainsFold(v string) predicate.StepRun
- func HitIDEQ(v string) predicate.StepRun
- func HitIDEqualFold(v string) predicate.StepRun
- func HitIDGT(v string) predicate.StepRun
- func HitIDGTE(v string) predicate.StepRun
- func HitIDHasPrefix(v string) predicate.StepRun
- func HitIDHasSuffix(v string) predicate.StepRun
- func HitIDIn(vs ...string) predicate.StepRun
- func HitIDIsNil() predicate.StepRun
- func HitIDLT(v string) predicate.StepRun
- func HitIDLTE(v string) predicate.StepRun
- func HitIDNEQ(v string) predicate.StepRun
- func HitIDNotIn(vs ...string) predicate.StepRun
- func HitIDNotNil() predicate.StepRun
- func ID(id string) predicate.StepRun
- func IDEQ(id string) predicate.StepRun
- func IDGT(id string) predicate.StepRun
- func IDGTE(id string) predicate.StepRun
- func IDIn(ids ...string) predicate.StepRun
- func IDLT(id string) predicate.StepRun
- func IDLTE(id string) predicate.StepRun
- func IDNEQ(id string) predicate.StepRun
- func IDNotIn(ids ...string) predicate.StepRun
- func Index(v int) predicate.StepRun
- func IndexEQ(v int) predicate.StepRun
- func IndexGT(v int) predicate.StepRun
- func IndexGTE(v int) predicate.StepRun
- func IndexIn(vs ...int) predicate.StepRun
- func IndexLT(v int) predicate.StepRun
- func IndexLTE(v int) predicate.StepRun
- func IndexNEQ(v int) predicate.StepRun
- func IndexNotIn(vs ...int) predicate.StepRun
- func Not(p predicate.StepRun) predicate.StepRun
- func Or(predicates ...predicate.StepRun) predicate.StepRun
- func ParticipantsCount(v int) predicate.StepRun
- func ParticipantsCountEQ(v int) predicate.StepRun
- func ParticipantsCountGT(v int) predicate.StepRun
- func ParticipantsCountGTE(v int) predicate.StepRun
- func ParticipantsCountIn(vs ...int) predicate.StepRun
- func ParticipantsCountLT(v int) predicate.StepRun
- func ParticipantsCountLTE(v int) predicate.StepRun
- func ParticipantsCountNEQ(v int) predicate.StepRun
- func ParticipantsCountNotIn(vs ...int) predicate.StepRun
- func StartedAt(v time.Time) predicate.StepRun
- func StartedAtEQ(v time.Time) predicate.StepRun
- func StartedAtGT(v time.Time) predicate.StepRun
- func StartedAtGTE(v time.Time) predicate.StepRun
- func StartedAtIn(vs ...time.Time) predicate.StepRun
- func StartedAtIsNil() predicate.StepRun
- func StartedAtLT(v time.Time) predicate.StepRun
- func StartedAtLTE(v time.Time) predicate.StepRun
- func StartedAtNEQ(v time.Time) predicate.StepRun
- func StartedAtNotIn(vs ...time.Time) predicate.StepRun
- func StartedAtNotNil() predicate.StepRun
- func StatusEQ(v Status) predicate.StepRun
- func StatusIn(vs ...Status) predicate.StepRun
- func StatusNEQ(v Status) predicate.StepRun
- func StatusNotIn(vs ...Status) predicate.StepRun
- func StatusValidator(s Status) error
- func UpdatedAt(v time.Time) predicate.StepRun
- func UpdatedAtEQ(v time.Time) predicate.StepRun
- func UpdatedAtGT(v time.Time) predicate.StepRun
- func UpdatedAtGTE(v time.Time) predicate.StepRun
- func UpdatedAtIn(vs ...time.Time) predicate.StepRun
- func UpdatedAtLT(v time.Time) predicate.StepRun
- func UpdatedAtLTE(v time.Time) predicate.StepRun
- func UpdatedAtNEQ(v time.Time) predicate.StepRun
- func UpdatedAtNotIn(vs ...time.Time) predicate.StepRun
- func UrlToken(v string) predicate.StepRun
- func UrlTokenContains(v string) predicate.StepRun
- func UrlTokenContainsFold(v string) predicate.StepRun
- func UrlTokenEQ(v string) predicate.StepRun
- func UrlTokenEqualFold(v string) predicate.StepRun
- func UrlTokenGT(v string) predicate.StepRun
- func UrlTokenGTE(v string) predicate.StepRun
- func UrlTokenHasPrefix(v string) predicate.StepRun
- func UrlTokenHasSuffix(v string) predicate.StepRun
- func UrlTokenIn(vs ...string) predicate.StepRun
- func UrlTokenLT(v string) predicate.StepRun
- func UrlTokenLTE(v string) predicate.StepRun
- func UrlTokenNEQ(v string) predicate.StepRun
- func UrlTokenNotIn(vs ...string) predicate.StepRun
- func ValidColumn(column string) bool
- type Status
Constants ¶
const ( // Label holds the string label denoting the steprun type in the database. Label = "step_run" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldStartedAt holds the string denoting the startedat field in the database. FieldStartedAt = "started_at" // FieldEndedAt holds the string denoting the endedat field in the database. FieldEndedAt = "ended_at" // FieldIndex holds the string denoting the index field in the database. FieldIndex = "index" // FieldParticipantsCount holds the string denoting the participantscount field in the database. FieldParticipantsCount = "participants_count" // FieldHitID holds the string denoting the hitid field in the database. FieldHitID = "hit_id" // FieldUrlToken holds the string denoting the urltoken field in the database. FieldUrlToken = "url_token" // EdgeCreatedParticipants holds the string denoting the createdparticipants edge name in mutations. EdgeCreatedParticipants = "createdParticipants" // EdgeParticipants holds the string denoting the participants edge name in mutations. EdgeParticipants = "participants" // EdgeParticipations holds the string denoting the participations edge name in mutations. EdgeParticipations = "participations" // EdgeStep holds the string denoting the step edge name in mutations. EdgeStep = "step" // EdgeRun holds the string denoting the run edge name in mutations. EdgeRun = "run" // Table holds the table name of the steprun in the database. Table = "step_runs" // CreatedParticipantsTable is the table the holds the createdParticipants relation/edge. CreatedParticipantsTable = "participants" // CreatedParticipantsInverseTable is the table name for the Participant entity. // It exists in this package in order to avoid circular dependency with the "participant" package. CreatedParticipantsInverseTable = "participants" // CreatedParticipantsColumn is the table column denoting the createdParticipants relation/edge. CreatedParticipantsColumn = "step_run_created_participants" // ParticipantsTable is the table the holds the participants relation/edge. The primary key declared below. ParticipantsTable = "step_run_participants" // ParticipantsInverseTable is the table name for the Participant entity. // It exists in this package in order to avoid circular dependency with the "participant" package. ParticipantsInverseTable = "participants" // ParticipationsTable is the table the holds the participations relation/edge. ParticipationsTable = "participations" // ParticipationsInverseTable is the table name for the Participation entity. // It exists in this package in order to avoid circular dependency with the "participation" package. ParticipationsInverseTable = "participations" // ParticipationsColumn is the table column denoting the participations relation/edge. ParticipationsColumn = "step_run_participations" // StepTable is the table the holds the step relation/edge. StepTable = "steps" // StepInverseTable is the table name for the Step entity. // It exists in this package in order to avoid circular dependency with the "step" package. StepInverseTable = "steps" // StepColumn is the table column denoting the step relation/edge. StepColumn = "step_run_step" // RunTable is the table the holds the run relation/edge. RunTable = "step_runs" // RunInverseTable is the table name for the Run entity. // It exists in this package in order to avoid circular dependency with the "run" package. RunInverseTable = "runs" // RunColumn is the table column denoting the run relation/edge. RunColumn = "run_steps" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the created_at field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the updated_at field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. UpdateDefaultUpdatedAt func() time.Time // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldStartedAt, FieldEndedAt, FieldIndex, FieldParticipantsCount, FieldHitID, FieldUrlToken, }
Columns holds all SQL columns for steprun fields.
var ForeignKeys = []string{
"run_steps",
}
ForeignKeys holds the SQL foreign-keys that are owned by the StepRun type.
var ( // ParticipantsPrimaryKey and ParticipantsColumn2 are the table columns denoting the // primary key for the participants relation (M2M). ParticipantsPrimaryKey = []string{"step_run_id", "participant_id"} )
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 EndedAt ¶
EndedAt applies equality check predicate on the "endedAt" field. It's identical to EndedAtEQ.
func EndedAtGTE ¶
EndedAtGTE applies the GTE predicate on the "endedAt" field.
func EndedAtIsNil ¶
EndedAtIsNil applies the IsNil predicate on the "endedAt" field.
func EndedAtLTE ¶
EndedAtLTE applies the LTE predicate on the "endedAt" field.
func EndedAtNEQ ¶
EndedAtNEQ applies the NEQ predicate on the "endedAt" field.
func EndedAtNotIn ¶
EndedAtNotIn applies the NotIn predicate on the "endedAt" field.
func EndedAtNotNil ¶
EndedAtNotNil applies the NotNil predicate on the "endedAt" field.
func HasCreatedParticipants ¶
HasCreatedParticipants applies the HasEdge predicate on the "createdParticipants" edge.
func HasCreatedParticipantsWith ¶
func HasCreatedParticipantsWith(preds ...predicate.Participant) predicate.StepRun
HasCreatedParticipantsWith applies the HasEdge predicate on the "createdParticipants" edge with a given conditions (other predicates).
func HasParticipants ¶
HasParticipants applies the HasEdge predicate on the "participants" edge.
func HasParticipantsWith ¶
func HasParticipantsWith(preds ...predicate.Participant) predicate.StepRun
HasParticipantsWith applies the HasEdge predicate on the "participants" edge with a given conditions (other predicates).
func HasParticipations ¶
HasParticipations applies the HasEdge predicate on the "participations" edge.
func HasParticipationsWith ¶
func HasParticipationsWith(preds ...predicate.Participation) predicate.StepRun
HasParticipationsWith applies the HasEdge predicate on the "participations" edge with a given conditions (other predicates).
func HasRunWith ¶
HasRunWith applies the HasEdge predicate on the "run" edge with a given conditions (other predicates).
func HasStepWith ¶
HasStepWith applies the HasEdge predicate on the "step" edge with a given conditions (other predicates).
func HitID ¶
HitID applies equality check predicate on the "hitID" field. It's identical to HitIDEQ.
func HitIDContains ¶
HitIDContains applies the Contains predicate on the "hitID" field.
func HitIDContainsFold ¶
HitIDContainsFold applies the ContainsFold predicate on the "hitID" field.
func HitIDEqualFold ¶
HitIDEqualFold applies the EqualFold predicate on the "hitID" field.
func HitIDHasPrefix ¶
HitIDHasPrefix applies the HasPrefix predicate on the "hitID" field.
func HitIDHasSuffix ¶
HitIDHasSuffix applies the HasSuffix predicate on the "hitID" field.
func HitIDIsNil ¶
HitIDIsNil applies the IsNil predicate on the "hitID" field.
func HitIDNotIn ¶
HitIDNotIn applies the NotIn predicate on the "hitID" field.
func HitIDNotNil ¶
HitIDNotNil applies the NotNil predicate on the "hitID" field.
func Index ¶
Index applies equality check predicate on the "index" field. It's identical to IndexEQ.
func IndexNotIn ¶
IndexNotIn applies the NotIn predicate on the "index" field.
func ParticipantsCount ¶
ParticipantsCount applies equality check predicate on the "participantsCount" field. It's identical to ParticipantsCountEQ.
func ParticipantsCountEQ ¶
ParticipantsCountEQ applies the EQ predicate on the "participantsCount" field.
func ParticipantsCountGT ¶
ParticipantsCountGT applies the GT predicate on the "participantsCount" field.
func ParticipantsCountGTE ¶
ParticipantsCountGTE applies the GTE predicate on the "participantsCount" field.
func ParticipantsCountIn ¶
ParticipantsCountIn applies the In predicate on the "participantsCount" field.
func ParticipantsCountLT ¶
ParticipantsCountLT applies the LT predicate on the "participantsCount" field.
func ParticipantsCountLTE ¶
ParticipantsCountLTE applies the LTE predicate on the "participantsCount" field.
func ParticipantsCountNEQ ¶
ParticipantsCountNEQ applies the NEQ predicate on the "participantsCount" field.
func ParticipantsCountNotIn ¶
ParticipantsCountNotIn applies the NotIn predicate on the "participantsCount" field.
func StartedAt ¶
StartedAt applies equality check predicate on the "startedAt" field. It's identical to StartedAtEQ.
func StartedAtEQ ¶
StartedAtEQ applies the EQ predicate on the "startedAt" field.
func StartedAtGT ¶
StartedAtGT applies the GT predicate on the "startedAt" field.
func StartedAtGTE ¶
StartedAtGTE applies the GTE predicate on the "startedAt" field.
func StartedAtIn ¶
StartedAtIn applies the In predicate on the "startedAt" field.
func StartedAtIsNil ¶
StartedAtIsNil applies the IsNil predicate on the "startedAt" field.
func StartedAtLT ¶
StartedAtLT applies the LT predicate on the "startedAt" field.
func StartedAtLTE ¶
StartedAtLTE applies the LTE predicate on the "startedAt" field.
func StartedAtNEQ ¶
StartedAtNEQ applies the NEQ predicate on the "startedAt" field.
func StartedAtNotIn ¶
StartedAtNotIn applies the NotIn predicate on the "startedAt" field.
func StartedAtNotNil ¶
StartedAtNotNil applies the NotNil predicate on the "startedAt" field.
func StatusNotIn ¶
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 UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UrlToken ¶
UrlToken applies equality check predicate on the "urlToken" field. It's identical to UrlTokenEQ.
func UrlTokenContains ¶
UrlTokenContains applies the Contains predicate on the "urlToken" field.
func UrlTokenContainsFold ¶
UrlTokenContainsFold applies the ContainsFold predicate on the "urlToken" field.
func UrlTokenEQ ¶
UrlTokenEQ applies the EQ predicate on the "urlToken" field.
func UrlTokenEqualFold ¶
UrlTokenEqualFold applies the EqualFold predicate on the "urlToken" field.
func UrlTokenGT ¶
UrlTokenGT applies the GT predicate on the "urlToken" field.
func UrlTokenGTE ¶
UrlTokenGTE applies the GTE predicate on the "urlToken" field.
func UrlTokenHasPrefix ¶
UrlTokenHasPrefix applies the HasPrefix predicate on the "urlToken" field.
func UrlTokenHasSuffix ¶
UrlTokenHasSuffix applies the HasSuffix predicate on the "urlToken" field.
func UrlTokenIn ¶
UrlTokenIn applies the In predicate on the "urlToken" field.
func UrlTokenLT ¶
UrlTokenLT applies the LT predicate on the "urlToken" field.
func UrlTokenLTE ¶
UrlTokenLTE applies the LTE predicate on the "urlToken" field.
func UrlTokenNEQ ¶
UrlTokenNEQ applies the NEQ predicate on the "urlToken" field.
func UrlTokenNotIn ¶
UrlTokenNotIn applies the NotIn predicate on the "urlToken" field.
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.