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

Method Exec

ent/node_update.go:620–623  ·  view source on GitHub ↗

Exec executes the query on the entity.

(ctx context.Context)

Source from the content-addressed store, hash-verified

618
619// Exec executes the query on the entity.
620func (nuo *NodeUpdateOne) Exec(ctx context.Context) error {
621 _, err := nuo.Save(ctx)
622 return err
623}
624
625// ExecX is like Exec, but panics if an error occurs.
626func (nuo *NodeUpdateOne) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected