pub struct InsertMany<S, B, R = ()> { /* private fields */ }Implementations§
Source§impl<'q, S: Database, R> InsertMany<S, <S as HasArguments<'q>>::Arguments, R>where
R: ReturningClause,
impl<'q, S: Database, R> InsertMany<S, <S as HasArguments<'q>>::Arguments, R>where
R: ReturningClause,
pub fn _build(self) -> (String, <S as HasArguments<'q>>::Arguments)
Source§impl<'q, S: Database> InsertMany<S, <S as HasArguments<'q>>::Arguments>
impl<'q, S: Database> InsertMany<S, <S as HasArguments<'q>>::Arguments>
pub fn returning( self, returning: Vec<&'static str>, ) -> InsertMany<S, <S as HasArguments<'q>>::Arguments, Vec<&'static str>>
pub fn columns( self, cols: Vec<&'static str>, ) -> InsertMany<S, <S as HasArguments<'q>>::Arguments>
pub fn values<B>(self, values: Vec<B>) -> Selfwhere
B: IntoMutArguments<'q, S>,
Trait Implementations§
Source§impl<'q, S, R> NoCache<'q, S> for InsertMany<S, <S as HasArguments<'q>>::Arguments, R>
impl<'q, S, R> NoCache<'q, S> for InsertMany<S, <S as HasArguments<'q>>::Arguments, R>
Auto Trait Implementations§
impl<S, B, R> Freeze for InsertMany<S, B, R>
impl<S, B, R> RefUnwindSafe for InsertMany<S, B, R>
impl<S, B, R> Send for InsertMany<S, B, R>
impl<S, B, R> Sync for InsertMany<S, B, R>
impl<S, B, R> Unpin for InsertMany<S, B, R>
impl<S, B, R> UnwindSafe for InsertMany<S, B, R>
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
Source§impl<'q, S, T> ExecuteNoCache<'q, S> for T
impl<'q, S, T> ExecuteNoCache<'q, S> for T
fn execute<E>(
self,
executor: E,
) -> impl Future<Output = Result<S::QueryResult, Error>> + Sendwhere
E: for<'e> Executor<'e, Database = S>,
fn fetch_one<E, O, F>( self, executor: E, with: F, ) -> impl Future<Output = Result<O, Error>> + Send
fn fetch_optional<E, O, F>( self, executor: E, with: F, ) -> impl Future<Output = Result<Option<O>, Error>> + Send
fn fetch_all<E, O, F>( self, executor: E, with: F, ) -> impl Future<Output = Result<Vec<O>, Error>> + Send
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more