MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / ExecX

Method ExecX

ent/share_create.go:895–899  ·  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

893
894// ExecX is like Exec, but panics if an error occurs.
895func (scb *ShareCreateBulk) ExecX(ctx context.Context) {
896 if err := scb.Exec(ctx); err != nil {
897 panic(err)
898 }
899}
900
901// OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause
902// of the `INSERT` statement. For example:

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected