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

Method Exec

ent/metadata_create.go:128–131  ·  view source on GitHub ↗

Exec executes the query.

(ctx context.Context)

Source from the content-addressed store, hash-verified

126
127// Exec executes the query.
128func (mc *MetadataCreate) Exec(ctx context.Context) error {
129 _, err := mc.Save(ctx)
130 return err
131}
132
133// ExecX is like Exec, but panics if an error occurs.
134func (mc *MetadataCreate) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected