[−][src]Trait rql::HasRows
A trait for accessing rows
Associated Types
Loading content...Required methods
Loading content...Provided methods
fn select<F, R>(self, f: F) -> Select<Self::Iter, F> where
F: Fn(<Self::Iter as Iterator>::Item) -> R,
F: Fn(<Self::Iter as Iterator>::Item) -> R,
Create a selection
fn relate<R, F>(self, other: R, f: F) -> Relate<Self::Iter, R::Iter, F> where
R: HasRows,
R::Iter: Clone,
<Self::Iter as Iterator>::Item: Clone,
F: Fn(&<Self::Iter as Iterator>::Item, &<R::Iter as Iterator>::Item) -> bool,
R: HasRows,
R::Iter: Clone,
<Self::Iter as Iterator>::Item: Clone,
F: Fn(&<Self::Iter as Iterator>::Item, &<R::Iter as Iterator>::Item) -> bool,
Relate this HasRows
to another
fn wher<F>(self, f: F) -> Where<Self::Iter, F> where
F: Fn(&<Self::Iter as Iterator>::Item) -> bool,
F: Fn(&<Self::Iter as Iterator>::Item) -> bool,
Restricts the rows with a WHERE
clause
fn find<F>(self, f: F) -> Option<<Self::Iter as Iterator>::Item> where
F: Fn(&<Self::Iter as Iterator>::Item) -> bool,
F: Fn(&<Self::Iter as Iterator>::Item) -> bool,
Tries to find a row that satisfies the clause
Implementors
impl<'a, T> HasRows for &'a Table<T>
[src]
impl<'a, T> HasRows for &'a mut Table<T>
[src]
impl<I> HasRows for I where
I: Iterator,
[src]
I: Iterator,