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

Method Exec

ent/node_create.go:769–774  ·  view source on GitHub ↗

Exec executes the query.

(ctx context.Context)

Source from the content-addressed store, hash-verified

767
768// Exec executes the query.
769func (u *NodeUpsertOne) Exec(ctx context.Context) error {
770 if len(u.create.conflict) == 0 {
771 return errors.New("ent: missing options for NodeCreate.OnConflict")
772 }
773 return u.create.Exec(ctx)
774}
775
776// ExecX is like Exec, but panics if an error occurs.
777func (u *NodeUpsertOne) ExecX(ctx context.Context) {

Callers

nothing calls this directly

Calls 2

NewMethod · 0.65
ExecMethod · 0.65

Tested by

no test coverage detected