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

Method Offset

pkg/database/ent/meta_query.go:45–48  ·  view source on GitHub ↗

Offset to start from.

(offset int)

Source from the content-addressed store, hash-verified

43
44// Offset to start from.
45func (_q *MetaQuery) Offset(offset int) *MetaQuery {
46 _q.ctx.Offset = &offset
47 return _q
48}
49
50// Unique configures the query builder to filter duplicate records on query.
51// By default, unique is set to true, and can be disabled using this method.

Callers 3

QueryAlertWithFilterMethod · 0.45
applyDecisionFilterFunction · 0.45
sqlQueryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected