pub struct DualQuery<T, U>{ /* private fields */ }Implementations§
Source§impl<T, U> DualQuery<T, U>
impl<T, U> DualQuery<T, U>
pub fn new(style: PlaceholderStyle) -> Self
pub fn with_db(self, db: Arc<DatabaseRef>) -> Self
pub fn Join(self, join_type: JoinType, on_expr: Expr) -> Self
pub fn Where(self, expr: Expr) -> Self
pub fn OrderBy(self, ob: &str) -> Self
pub fn Top(self, n: i64) -> Self
pub fn to_sql(&self) -> (String, Vec<SqlParam>)
pub async fn to_list_async(self) -> Result<Vec<(T, U)>>
Auto Trait Implementations§
impl<T, U> Freeze for DualQuery<T, U>
impl<T, U> !RefUnwindSafe for DualQuery<T, U>
impl<T, U> Send for DualQuery<T, U>
impl<T, U> Sync for DualQuery<T, U>
impl<T, U> Unpin for DualQuery<T, U>
impl<T, U> !UnwindSafe for DualQuery<T, U>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more