pub struct JoinOn { /* private fields */ }Expand description
JOIN 已指定右表,待指定 ON 条件
Implementations§
Source§impl JoinOn
impl JoinOn
Sourcepub fn on<L, R>(self) -> JoinBuiltwhere
L: TypedColumn,
R: TypedColumn,
pub fn on<L, R>(self) -> JoinBuiltwhere
L: TypedColumn,
R: TypedColumn,
指定 ON 条件:左表列 = 右表列
§类型约束
L: 左表列,必须属于“主表“(用户自行保证)R: 右表列,必须属于right_table(用户自行保证)
编译期通过 TypedColumn::Table 关联约束校验列归属。
Sourcepub fn build_no_on(self) -> String
pub fn build_no_on(self) -> String
不带 ON 条件直接构造(用于 CROSS JOIN)
Auto Trait Implementations§
impl Freeze for JoinOn
impl RefUnwindSafe for JoinOn
impl Send for JoinOn
impl Sync for JoinOn
impl Unpin for JoinOn
impl UnsafeUnpin for JoinOn
impl UnwindSafe for JoinOn
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