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

Method Exec

ent/node_update.go:240–243  ·  view source on GitHub ↗

Exec executes the query.

(ctx context.Context)

Source from the content-addressed store, hash-verified

238
239// Exec executes the query.
240func (nu *NodeUpdate) Exec(ctx context.Context) error {
241 _, err := nu.Save(ctx)
242 return err
243}
244
245// ExecX is like Exec, but panics if an error occurs.
246func (nu *NodeUpdate) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected