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

Method ExecX

ent/node_create.go:890–894  ·  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

888
889// ExecX is like Exec, but panics if an error occurs.
890func (ncb *NodeCreateBulk) ExecX(ctx context.Context) {
891 if err := ncb.Exec(ctx); err != nil {
892 panic(err)
893 }
894}
895
896// OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause
897// of the `INSERT` statement. For example:

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected