pub fn outer_ref(column: &'static str) -> ExprExpand description
OuterRef("col") — use a column of the enclosing query inside a
correlated subquery.
It only works inside a subquery wrapper (exists,
not_exists, in_subquery, subquery); anywhere else the
writer returns
crate::sql::SqlError::OuterRefOutsideSubquery. column is a
column on the outer model and is emitted as
"<outer_table>"."<col>", so it stays unambiguous when inner and
outer tables share a column name.