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

Method Query

pkg/database/ent/tx.go:236–238  ·  view source on GitHub ↗

Query calls tx.Query.

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

Source from the content-addressed store, hash-verified

234
235// Query calls tx.Query.
236func (tx *txDriver) Query(ctx context.Context, query string, args, v any) error {
237 return tx.tx.Query(ctx, query, args, v)
238}
239
240var _ dialect.Driver = (*txDriver)(nil)

Callers 15

fireHandlerFunction · 0.45
searchHandlerFunction · 0.45
doQueryMethod · 0.45
ListAllowListsMethod · 0.45
GetAllowListMethod · 0.45
GetAllowListByIDMethod · 0.45
IsAllowlistedByMethod · 0.45
CreateOrUpdateAlertMethod · 0.45

Calls

no outgoing calls

Tested by 12

fireHandlerFunction · 0.36
searchHandlerFunction · 0.36
testAppSecEngineFunction · 0.36
TestFetchIndexFunction · 0.36
assertTotalDecisionCountFunction · 0.36
assertTotalAlertCountFunction · 0.36
TestAPICWhitelistsFunction · 0.36
TestAPICPullTopFunction · 0.36
TestAppsecAllowlistFunction · 0.36