//! Helpers for the `#[has_many(via = …)]` code the derive macro emits.
use crateModel;
use Name;
use ;
use stmt;
/// Build the [`FieldTy::Via`] for a relation-terminal `#[has_many(via = …)]`
/// field reaching model `M`. The per-model
/// [`ViaTarget`](crate::schema::ViaTarget) impl the derive emits
/// delegates here so the construction (and `Box`/type plumbing) stays in this
/// crate.