MCPcopy
hub / github.com/cloudreve/cloudreve / Where

Method Where

ent/node_query.go:33–36  ·  view source on GitHub ↗

Where adds a new predicate for the NodeQuery builder.

(ps ...predicate.Node)

Source from the content-addressed store, hash-verified

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

Callers 15

loadStoragePolicyMethod · 0.95
DeleteOneIDMethod · 0.45
GetMethod · 0.45
DeleteOneIDMethod · 0.45
GetMethod · 0.45
DeleteOneIDMethod · 0.45
GetMethod · 0.45
DeleteOneIDMethod · 0.45
GetMethod · 0.45
DeleteOneIDMethod · 0.45
GetMethod · 0.45
DeleteOneIDMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected