Struct rsfbclient_core::NamedParams [−][src]
Named params implementation.
Works on top of firebird positional parameters (?
)
Fields
sql: String
Implementations
impl NamedParams
[src]
pub fn parse(raw_sql: &str) -> Result<Self, FbError>
[src]
Parse the sql statement and return a structure representing the named parameters found
pub fn empty(raw_sql: &str) -> Self
[src]
Returns the sql as is, disabling named parameter function
pub fn convert<P>(&self, params: P) -> Result<Vec<SqlType>, FbError> where
P: IntoParams,
[src]
P: IntoParams,
Re-sort/convert the parameters, applying the named params support
Auto Trait Implementations
impl RefUnwindSafe for NamedParams
impl Send for NamedParams
impl Sync for NamedParams
impl Unpin for NamedParams
impl UnwindSafe for NamedParams
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,
pub 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.
pub 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>,