Struct orm::Select
[−]
[src]
pub struct Select<E> { /* fields omitted */ }
Methods
impl<E> Select<E> where
E: Entity,
[src]
E: Entity,
pub fn new() -> Self
[src]
pub fn wher(&mut self, cond: &Cond)
[src]
pub fn with(&mut self, field: &str) -> &mut SelectImpl
[src]
pub fn join<Et>(&mut self, cond: &JoinCond) -> &mut Join where
Et: Entity,
[src]
Et: Entity,
pub fn left_join<Et>(&mut self, cond: &JoinCond) -> &mut Join where
Et: Entity,
[src]
Et: Entity,
pub fn right_join<Et>(&mut self, cond: &JoinCond) -> &mut Join where
Et: Entity,
[src]
Et: Entity,
pub fn outer_join<Et>(&mut self, cond: &JoinCond) -> &mut Join where
Et: Entity,
[src]
Et: Entity,
pub fn query<C>(&self, conn: &mut C) -> Result<Vec<E>, Error> where
C: GenericConnection,
[src]
C: GenericConnection,
pub fn query_ex<C>(&self, conn: &mut C) -> Result<Vec<Vec<E>>, Error> where
C: GenericConnection,
[src]
C: GenericConnection,