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

Method Where

ent/node_update.go:29–32  ·  view source on GitHub ↗

Where appends a list predicates to the NodeUpdate builder.

(ps ...predicate.Node)

Source from the content-addressed store, hash-verified

27
28// Where appends a list predicates to the NodeUpdate builder.
29func (nu *NodeUpdate) Where(ps ...predicate.Node) *NodeUpdate {
30 nu.mutation.Where(ps...)
31 return nu
32}
33
34// SetUpdatedAt sets the "updated_at" field.
35func (nu *NodeUpdate) SetUpdatedAt(t time.Time) *NodeUpdate {

Callers 1

WhereMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected