MCPcopy Create free account
hub / github.com/efectn/go-orm-benchmarks / Exec

Method Exec

bench/ent/model_create.go:84–87  ·  view source on GitHub ↗

Exec executes the query.

(ctx context.Context)

Source from the content-addressed store, hash-verified

82
83// Exec executes the query.
84func (mc *ModelCreate) Exec(ctx context.Context) error {
85 _, err := mc.Save(ctx)
86 return err
87}
88
89// ExecX is like Exec, but panics if an error occurs.
90func (mc *ModelCreate) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected