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

Method Exec

ent/node_create.go:180–183  ·  view source on GitHub ↗

Exec executes the query.

(ctx context.Context)

Source from the content-addressed store, hash-verified

178
179// Exec executes the query.
180func (nc *NodeCreate) Exec(ctx context.Context) error {
181 _, err := nc.Save(ctx)
182 return err
183}
184
185// ExecX is like Exec, but panics if an error occurs.
186func (nc *NodeCreate) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected