pub fn order_value_sql(hops: &[RelationHop], column: &str) -> StringExpand description
Build the correlated-subquery expression that yields column at the end
of hops, relative to the table reached by the first hop.
hops[0] is carried on the OrderClause itself (it becomes the clause’s
parent/related linkage), so only hops[1..] are nested here — matching
the shape the macro used to compute at expansion time.
Panics if hops is empty; callers only reach this from a generated
accessor that has traversed at least one relation.