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

Method Where

ent/task_query.go:32–35  ·  view source on GitHub ↗

Where adds a new predicate for the TaskQuery builder.

(ps ...predicate.Task)

Source from the content-addressed store, hash-verified

30
31// Where adds a new predicate for the TaskQuery builder.
32func (tq *TaskQuery) Where(ps ...predicate.Task) *TaskQuery {
33 tq.predicates = append(tq.predicates, ps...)
34 return tq
35}
36
37// Limit the number of records to be returned by this query.
38func (tq *TaskQuery) Limit(limit int) *TaskQuery {

Callers 1

loadUserMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected