MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / ExecX

Method ExecX

app/controlplane/pkg/data/ent/user_create.go:696–700  ·  view source on GitHub ↗

ExecX is like Exec, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

694
695// ExecX is like Exec, but panics if an error occurs.
696func (_c *UserCreateBulk) ExecX(ctx context.Context) {
697 if err := _c.Exec(ctx); err != nil {
698 panic(err)
699 }
700}
701
702// OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause
703// of the `INSERT` statement. For example:

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected