pub struct SQLCommonTableExpression {
pub name: String,
pub columns: Vec<String>,
pub query: SQLSelectBuilder,
pub recursive: bool,
}Fields§
§name: String§columns: Vec<String>§query: SQLSelectBuilder§recursive: boolImplementations§
Source§impl SQLCommonTableExpression
impl SQLCommonTableExpression
pub fn new(name: impl Into<String>, query: SQLSelectBuilder) -> Self
pub fn recursive(self) -> Self
pub fn with_column(self, col: impl Into<String>) -> Self
pub fn emit_cte_part(&self) -> String
Auto Trait Implementations§
impl Freeze for SQLCommonTableExpression
impl RefUnwindSafe for SQLCommonTableExpression
impl Send for SQLCommonTableExpression
impl Sync for SQLCommonTableExpression
impl Unpin for SQLCommonTableExpression
impl UnsafeUnpin for SQLCommonTableExpression
impl UnwindSafe for SQLCommonTableExpression
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