Skip to main content

count_detailed

Function count_detailed 

Source
pub fn count_detailed(
    model: &str,
    body: &[u8],
    map: Option<&Value>,
    registry: RegistryHandle<'_>,
) -> CountResult
Expand description

Count with provenance and diagnostics. Unlike count, malformed JSON is never indistinguishable from a genuinely empty request: it falls back to a conservative estimate over the raw body and records warnings.