Skip to main content

query_of_types

Function query_of_types 

pub fn query_of_types(types: &[&str]) -> Query
Expand description

Builds a single-item query constrained by type.

ยงPanics

Panics if types is empty or holds an invalid type. Test-only helper.