pub struct PlsqlResult {
pub out_values: Vec<Value>,
pub rows_affected: u64,
pub cursor_id: Option<u16>,
pub implicit_results: ImplicitResults,
}Expand description
Result from executing a PL/SQL block with OUT parameters
Fields§
§out_values: Vec<Value>OUT parameter values indexed by position (0-based)
rows_affected: u64Number of rows affected (if applicable)
cursor_id: Option<u16>Cursor ID (if the result contains a REF CURSOR)
implicit_results: ImplicitResultsImplicit result sets returned via DBMS_SQL.RETURN_RESULT
Implementations§
Source§impl PlsqlResult
impl PlsqlResult
Sourcepub fn get_string(&self, index: usize) -> Option<&str>
pub fn get_string(&self, index: usize) -> Option<&str>
Get a string OUT value by position
Sourcepub fn get_integer(&self, index: usize) -> Option<i64>
pub fn get_integer(&self, index: usize) -> Option<i64>
Get an integer OUT value by position
Sourcepub fn get_cursor_id(&self, index: usize) -> Option<u16>
pub fn get_cursor_id(&self, index: usize) -> Option<u16>
Get a cursor ID from OUT value by position (for REF CURSOR)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlsqlResult
impl RefUnwindSafe for PlsqlResult
impl Send for PlsqlResult
impl Sync for PlsqlResult
impl Unpin for PlsqlResult
impl UnwindSafe for PlsqlResult
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more