pub struct SqlServerPreparedStatement { /* private fields */ }Expand description
SQL Server prepared statement backed by a shared connection.
SQL Server uses parameterized queries (sp_executesql) rather than server-side prepared statements. This wrapper stores the query text and a reference to the parent connection for execute/query delegation.
Trait Implementations§
Source§impl PreparedStatement for SqlServerPreparedStatement
impl PreparedStatement for SqlServerPreparedStatement
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
params: &'life1 [Value],
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
params: &'life1 [Value],
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute the prepared statement with given parameters
Auto Trait Implementations§
impl Freeze for SqlServerPreparedStatement
impl !RefUnwindSafe for SqlServerPreparedStatement
impl Send for SqlServerPreparedStatement
impl Sync for SqlServerPreparedStatement
impl Unpin for SqlServerPreparedStatement
impl UnsafeUnpin for SqlServerPreparedStatement
impl !UnwindSafe for SqlServerPreparedStatement
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