MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / UserTasks

Function UserTasks

ent/task/where.go:90–92  ·  view source on GitHub ↗

UserTasks applies equality check predicate on the "user_tasks" field. It's identical to UserTasksEQ.

(v int)

Source from the content-addressed store, hash-verified

88
89// UserTasks applies equality check predicate on the "user_tasks" field. It's identical to UserTasksEQ.
90func UserTasks(v int) predicate.Task {
91 return predicate.Task(sql.FieldEQ(FieldUserTasks, v))
92}
93
94// CreatedAtEQ applies the EQ predicate on the "created_at" field.
95func CreatedAtEQ(v time.Time) predicate.Task {

Callers 2

ListMethod · 0.92
DeleteMethod · 0.92

Calls 1

TaskFuncType · 0.92

Tested by

no test coverage detected