pub struct PlainJoinChain(/* private fields */);Expand description
Implementations§
Source§impl PlainJoinChain
impl PlainJoinChain
Sourcepub fn as_(self, alias: impl Into<Cow<'static, str>>) -> PlainJoinChain
pub fn as_(self, alias: impl Into<Cow<'static, str>>) -> PlainJoinChain
AS \alias`` on the joined table.
Sourcepub fn columns(
self,
columns: impl IntoIterator<Item = impl Into<Cow<'static, str>>>,
) -> PlainJoinChain
pub fn columns( self, columns: impl IntoIterator<Item = impl Into<Cow<'static, str>>>, ) -> PlainJoinChain
Column aliases on the joined derived table.
Sourcepub fn lateral(self) -> PlainJoinChain
pub fn lateral(self) -> PlainJoinChain
LATERAL on the joined table.
Sourcepub fn partition(
self,
partitions: impl IntoIterator<Item = impl Into<Cow<'static, str>>>,
) -> PlainJoinChain
pub fn partition( self, partitions: impl IntoIterator<Item = impl Into<Cow<'static, str>>>, ) -> PlainJoinChain
PARTITION (…) on the joined table.
Sourcepub fn use_index(
self,
indexes: impl IntoIterator<Item = impl Into<Cow<'static, str>>>,
) -> PlainJoinChain
pub fn use_index( self, indexes: impl IntoIterator<Item = impl Into<Cow<'static, str>>>, ) -> PlainJoinChain
USE INDEX (…) on the joined table.
Sourcepub fn ignore_index(
self,
indexes: impl IntoIterator<Item = impl Into<Cow<'static, str>>>,
) -> PlainJoinChain
pub fn ignore_index( self, indexes: impl IntoIterator<Item = impl Into<Cow<'static, str>>>, ) -> PlainJoinChain
IGNORE INDEX (…) on the joined table.
Sourcepub fn force_index(
self,
indexes: impl IntoIterator<Item = impl Into<Cow<'static, str>>>,
) -> PlainJoinChain
pub fn force_index( self, indexes: impl IntoIterator<Item = impl Into<Cow<'static, str>>>, ) -> PlainJoinChain
FORCE INDEX (…) on the joined table.
Sourcepub fn on(self, condition: impl IntoExpr) -> PlainJoinChain
pub fn on(self, condition: impl IntoExpr) -> PlainJoinChain
ON condition.
Sourcepub fn on_eq(self, a: impl IntoExpr, b: impl IntoExpr) -> PlainJoinChain
pub fn on_eq(self, a: impl IntoExpr, b: impl IntoExpr) -> PlainJoinChain
ON (a = b).
Sourcepub fn using(
self,
columns: impl IntoIterator<Item = impl Into<Cow<'static, str>>>,
) -> PlainJoinChain
pub fn using( self, columns: impl IntoIterator<Item = impl Into<Cow<'static, str>>>, ) -> PlainJoinChain
USING (\a`, `b`)`.
Trait Implementations§
Source§impl Clone for PlainJoinChain
impl Clone for PlainJoinChain
Source§fn clone(&self) -> PlainJoinChain
fn clone(&self) -> PlainJoinChain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlainJoinChain
impl Debug for PlainJoinChain
Source§impl From<PlainJoinChain> for Join
impl From<PlainJoinChain> for Join
Source§fn from(chain: PlainJoinChain) -> Join
fn from(chain: PlainJoinChain) -> Join
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PlainJoinChain
impl !UnwindSafe for PlainJoinChain
impl Freeze for PlainJoinChain
impl Send for PlainJoinChain
impl Sync for PlainJoinChain
impl Unpin for PlainJoinChain
impl UnsafeUnpin for PlainJoinChain
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