pub fn normalize_identifier_to_scope(
identifier: String,
entity_scope: &[String],
) -> StringExpand description
Normalize one possibly-qualified identifier against one SQL entity scope.
If identifier is qualifier.field and qualifier matches any scope
candidate by tail-equivalence, this returns field. Otherwise returns the
original identifier unchanged.