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

Method Exec

pkg/database/ent/tx.go:231–233  ·  view source on GitHub ↗

Exec calls tx.Exec.

(ctx context.Context, query string, args, v any)

Source from the content-addressed store, hash-verified

229
230// Exec calls tx.Exec.
231func (tx *txDriver) Exec(ctx context.Context, query string, args, v any) error {
232 return tx.tx.Exec(ctx, query, args, v)
233}
234
235// Query calls tx.Query.
236func (tx *txDriver) Query(ctx context.Context, query string, args, v any) error {

Callers 15

DeleteAllowListMethod · 0.45
DeleteAllowListByIDMethod · 0.45
AddToAllowlistMethod · 0.45
RemoveFromAllowlistMethod · 0.45
UpdateAllowlistMetaMethod · 0.45
ReplaceAllowlistMethod · 0.45
CreateAlertMethod · 0.45
DeleteAlertGraphBatchMethod · 0.45
DeleteAlertGraphMethod · 0.45
DeleteAlertWithFilterMethod · 0.45
flushMetricsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected