resolve_field

Function resolve_field 

Source
pub fn resolve_field(fields: &[Field], n: &Name) -> Result<usize, SqlError>
Expand description

A column reference, as an index into the row a query produced.

Shared by the select list, the where and the order by, and by crate::query’s own resolution of a join’s on — one rule for what a name means, so a query cannot resolve a name two ways.