[−][src]Struct rsfbclient::Statement
Implementations
impl<'c, 't> Statement<'c, 't>
[src]
pub fn prepare(
tr: &'t Transaction<'c>,
sql: &str
) -> Result<Statement<'c, 't>, FbError>
[src]
tr: &'t Transaction<'c>,
sql: &str
) -> Result<Statement<'c, 't>, FbError>
Prepare the statement that will be executed
pub fn execute<T>(&mut self, params: T) -> Result<(), FbError> where
T: IntoParams,
[src]
T: IntoParams,
Execute the current statement without returnig any row
Use ()
for no parameters or a tuple of parameters
pub fn query<T>(self, params: T) -> Result<StatementFetch<'c, 't>, FbError> where
T: IntoParams,
[src]
T: IntoParams,
Execute the current statement and returns the lines founds
Use ()
for no parameters or a tuple of parameters
pub fn execute_immediate<T>(
tr: &'t Transaction<'c>,
sql: &str,
params: T
) -> Result<(), FbError> where
T: IntoParams,
[src]
tr: &'t Transaction<'c>,
sql: &str,
params: T
) -> Result<(), FbError> where
T: IntoParams,
Execute the statement without returning any row
Use ()
for no parameters or a tuple of parameters
Trait Implementations
Auto Trait Implementations
impl<'c, 't> !RefUnwindSafe for Statement<'c, 't>
impl<'c, 't> !Send for Statement<'c, 't>
impl<'c, 't> !Sync for Statement<'c, 't>
impl<'c, 't> Unpin for Statement<'c, 't> where
'c: 't,
'c: 't,
impl<'c, 't> !UnwindSafe for Statement<'c, 't>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,