pub fn validate_query_keys(
where_: &ParsedWhere,
is_master: bool,
) -> Result<(), ParseError>Expand description
The key-name half of validateQuery (DatabaseController.js:161-188).
A key must match ^[a-zA-Z][a-zA-Z0-9_\.]*$ or be one of the internal columns the caller’s
authority may name. $relatedTo is deliberately not in either list, and does not need to be:
upstream deletes it from the query before this runs (DatabaseController.js:1208), and here it
has already been resolved into an objectId constraint by the time the check happens.