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

Method Exec

ent/user_create.go:325–328  ·  view source on GitHub ↗

Exec executes the query.

(ctx context.Context)

Source from the content-addressed store, hash-verified

323
324// Exec executes the query.
325func (uc *UserCreate) Exec(ctx context.Context) error {
326 _, err := uc.Save(ctx)
327 return err
328}
329
330// ExecX is like Exec, but panics if an error occurs.
331func (uc *UserCreate) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected