Trait diesel::associations::GroupedBy
[−]
[src]
pub trait GroupedBy<'a, Parent>: IntoIterator + Sized { fn grouped_by(self, parents: &'a [Parent]) -> Vec<Vec<Self::Item>>; }
Required Methods
Implementors
impl<'a, Parent: 'a, Child, Iter> GroupedBy<'a, Parent> for Iter where Iter: IntoIterator<Item=Child>,
Child: BelongsTo<Parent>,
&'a Parent: Identifiable,
&'a Parent::Id: Borrow<Child::ForeignKey>