Skip to main content

execute_with_byte_limit

Function execute_with_byte_limit 

Source
pub fn execute_with_byte_limit(
    shards: &[&[Record]],
    query: &Query,
    limits: &ExecutionLimits,
    max_scanned_bytes: u64,
) -> Result<QueryResult, BoundedQueryError>
Expand description

Executes one query under an explicit aggregate key/document byte budget.

ยงErrors

Returns a validation, budget, timeout, duplicate-key, document, or aggregation error.