pub struct JoinSql<'a, T> { /* private fields */ }
Expand description
Join a sequence SQL fragments with an optional seperator
Implementations§
Source§impl<'a, T> JoinSql<'a, T>
impl<'a, T> JoinSql<'a, T>
pub fn new(list: &'a [T]) -> Self
pub fn with_seperator(self, sep: SqlFragment<'a>) -> Self
Trait Implementations§
Source§impl<'a, T> SqlSnippet<'a> for JoinSql<'a, T>where
&'a T: SqlSnippet<'a>,
impl<'a, T> SqlSnippet<'a> for JoinSql<'a, T>where
&'a T: SqlSnippet<'a>,
fn render_sql(&self, builder: &mut SqlBuilder<'a>)
fn borrow_into_sql_fragment(&'a self) -> SqlFragment<'a>
Auto Trait Implementations§
impl<'a, T> Freeze for JoinSql<'a, T>
impl<'a, T> !RefUnwindSafe for JoinSql<'a, T>
impl<'a, T> Send for JoinSql<'a, T>where
T: Sync,
impl<'a, T> Sync for JoinSql<'a, T>where
T: Sync,
impl<'a, T> Unpin for JoinSql<'a, T>
impl<'a, T> !UnwindSafe for JoinSql<'a, T>
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