MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / CreatedAtLTE

Function CreatedAtLTE

app/controlplane/pkg/data/ent/workflowrun/where.go:191–193  ·  view source on GitHub ↗

CreatedAtLTE applies the LTE predicate on the "created_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

189
190// CreatedAtLTE applies the LTE predicate on the "created_at" field.
191func CreatedAtLTE(v time.Time) predicate.WorkflowRun {
192 return predicate.WorkflowRun(sql.FieldLTE(FieldCreatedAt, v))
193}
194
195// FinishedAtEQ applies the EQ predicate on the "finished_at" field.
196func FinishedAtEQ(v time.Time) predicate.WorkflowRun {

Callers 6

RunsTotalMethod · 0.92
RunsByStatusTotalMethod · 0.92
RunsByRunnerTypeTotalMethod · 0.92
DailyRunsCountMethod · 0.92

Calls 1

WorkflowRunFuncType · 0.92

Tested by

no test coverage detected