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

Method Exec

ent/share_create.go:207–210  ·  view source on GitHub ↗

Exec executes the query.

(ctx context.Context)

Source from the content-addressed store, hash-verified

205
206// Exec executes the query.
207func (sc *ShareCreate) Exec(ctx context.Context) error {
208 _, err := sc.Save(ctx)
209 return err
210}
211
212// ExecX is like Exec, but panics if an error occurs.
213func (sc *ShareCreate) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected