Skip to main content

any_query_item

Function any_query_item 

pub fn any_query_item() -> impl Strategy<Value = QueryItem>
Available on crate feature proptest only.
Expand description

Generates a QueryItem over the alphabets above.

prop_filter_map rather than a generator steered away from the empty case: an item constraining neither types nor tags is rejected at construction and simply is not representable, but each of the two empty sets on its own is legal and is precisely the input an adapter’s WHERE clause mishandles. Filtering the one illegal corner keeps both legal ones.