pub fn build_query(
taxon: &str,
tax_tree: &str,
tax_rank: &str,
expression: &str,
) -> StringExpand description
Build the query value from its parts.
An empty taxon makes a query across all taxa. tax_rank and
expression are as returned by crate::utils::tax_ranks::TaxRanks::parse
and format_expression, i.e. starting with " AND ". As OR binds
more loosely than AND in the API, the taxon and rank are repeated in
each OR branch of the expression, so they apply to all of them.