Is it possible to add an additional filter AND modify maxRecs?
We are currently calling:
await Any<FindAuditMessage, QueryDb<AuditMessage>, AuditMessage>(query, 400);
but we would also like to add an additional filter (where field1=βxβ).
Is it possible to add an additional filter AND modify maxRecs?
We are currently calling:
await Any<FindAuditMessage, QueryDb<AuditMessage>, AuditMessage>(query, 400);
but we would also like to add an additional filter (where field1=βxβ).
I donβt know where your example is from but you can modify queries with a Custom AutoQuery Implementation, AutoFilters, QueryFilters or a Custom Base class.
is there a way to add a custom filter (where field1=βxβ) AND change the default MaxLimit that is set for AutoQueryFeature?
Plugins.Add(new AutoQueryFeature
{
MaxLimit = 100,
IncludeTotal = true
});
Try modifying the query in a Custom AutoQuery implementation.