pub struct CrossJoinChain(/* private fields */);Expand description
A CROSS JOIN under construction — JoinChain without the condition
methods, because a cross join has no condition.
Implementations§
Source§impl CrossJoinChain
impl CrossJoinChain
Sourcepub fn as_(self, alias: impl Into<Cow<'static, str>>) -> CrossJoinChain
pub fn as_(self, alias: impl Into<Cow<'static, str>>) -> CrossJoinChain
AS "alias" on the joined table.
Sourcepub fn columns(
self,
columns: impl IntoIterator<Item = impl Into<Cow<'static, str>>>,
) -> CrossJoinChain
pub fn columns( self, columns: impl IntoIterator<Item = impl Into<Cow<'static, str>>>, ) -> CrossJoinChain
Column aliases on the joined table.
Sourcepub fn only(self) -> CrossJoinChain
pub fn only(self) -> CrossJoinChain
ONLY on the joined table.
Sourcepub fn lateral(self) -> CrossJoinChain
pub fn lateral(self) -> CrossJoinChain
LATERAL on the joined table.
Sourcepub fn with_ordinality(self) -> CrossJoinChain
pub fn with_ordinality(self) -> CrossJoinChain
WITH ORDINALITY on the joined function.
Sourcepub fn tablesample(
self,
method: impl Into<Cow<'static, str>>,
args: impl IntoExprList,
) -> CrossJoinChain
pub fn tablesample( self, method: impl Into<Cow<'static, str>>, args: impl IntoExprList, ) -> CrossJoinChain
TABLESAMPLE method (args) on the cross-joined table.
Grammatical here because both operands of gram.y’s
table_ref CROSS JOIN table_ref are table_refs, and a table_ref is
relation_expr opt_alias_clause tablesample_clause.
Sourcepub fn repeatable(self, seed: impl IntoExpr) -> CrossJoinChain
pub fn repeatable(self, seed: impl IntoExpr) -> CrossJoinChain
REPEATABLE (seed) on the cross-joined table’s sampling clause.
Ignored without a tablesample, like
TableChain::repeatable.
Trait Implementations§
Source§impl Clone for CrossJoinChain
impl Clone for CrossJoinChain
Source§fn clone(&self) -> CrossJoinChain
fn clone(&self) -> CrossJoinChain
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 CrossJoinChain
impl Debug for CrossJoinChain
Source§impl From<CrossJoinChain> for Join
impl From<CrossJoinChain> for Join
Source§fn from(chain: CrossJoinChain) -> Join
fn from(chain: CrossJoinChain) -> Join
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CrossJoinChain
impl !UnwindSafe for CrossJoinChain
impl Freeze for CrossJoinChain
impl Send for CrossJoinChain
impl Sync for CrossJoinChain
impl Unpin for CrossJoinChain
impl UnsafeUnpin for CrossJoinChain
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