MCPcopy
hub / github.com/crowdsecurity/crowdsec / Exec

Method Exec

pkg/database/ent/machine_create.go:1167–1170  ·  view source on GitHub ↗

Exec executes the query.

(ctx context.Context)

Source from the content-addressed store, hash-verified

1165
1166// Exec executes the query.
1167func (_c *MachineCreateBulk) Exec(ctx context.Context) error {
1168 _, err := _c.Save(ctx)
1169 return err
1170}
1171
1172// ExecX is like Exec, but panics if an error occurs.
1173func (_c *MachineCreateBulk) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected