pub struct ExecuteOptions {Show 13 fields
pub batcherrors: bool,
pub arraydmlrowcounts: bool,
pub parse_only: bool,
pub token_num: u64,
pub cursor_id: u32,
pub cache_statement: bool,
pub scrollable: bool,
pub fetch_orientation: u32,
pub fetch_pos: u32,
pub scroll_operation: bool,
pub suspend_on_success: bool,
pub no_prefetch: bool,
pub registration_id: u64,
}Expand description
Optional execute modes (reference ExecuteMessage attributes).
Fields§
§batcherrors: bool§arraydmlrowcounts: bool§parse_only: boolParse/describe without executing (reference parse_only).
token_num: u64Pipeline token; pipelined operations carry tokens 1..N
(impl/thin/connection.pyx _create_messages_for_pipeline),
everything else carries 0.
cursor_id: u32Server cursor id of an already-parsed statement; non-zero skips the PARSE option and SQL text (reference Statement._cursor_id).
cache_statement: boolWhether the statement may be kept in the connection statement cache
(reference cursor.prepare(cache_statement=...)).
scrollable: boolWhether the cursor was opened scrollable; sets the scrollable execute
flags and primes the fetch orientation (reference cursor_impl.scrollable).
fetch_orientation: u32Fetch orientation for the next fetch (reference fetch_orientation,
al8i4[10]); one of the TNS_FETCH_ORIENTATION_* constants. Zero leaves
the server default.
fetch_pos: u32Desired row position paired with fetch_orientation (reference
fetch_pos, al8i4[11]).
scroll_operation: boolTrue when this execute is a scroll request: the EXECUTE/BIND options are
suppressed so the server only repositions the open cursor and fetches
(reference scroll_operation).
suspend_on_success: boolSuspend the active sessionless transaction once this execute succeeds
(reference cursor_impl.suspend_on_success); the driver folds a
post-detach into the sessionless piggyback. Does not affect the execute
wire body itself.
no_prefetch: boolSuppress the FETCH execute option so the server does not prefetch any
rows during the execute round trip (reference stmt._no_prefetch,
execute.pyx:99). Set when re-executing an open cursor whose columns
require a client-side define (VECTOR): a prefetched row would otherwise
exhaust the cursor before the define-fetch runs, yielding ORA-01002 on
the subsequent fetch.
registration_id: u64CQN registration id threaded into the execute body (split into lsb/msb
at the al8i4 slots) when registering a query against a subscription
(reference cursor_impl._registration_id, execute.pyx:116-163). Zero
for ordinary executes.
Trait Implementations§
Source§impl Clone for ExecuteOptions
impl Clone for ExecuteOptions
Source§fn clone(&self) -> ExecuteOptions
fn clone(&self) -> ExecuteOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ExecuteOptions
Source§impl Debug for ExecuteOptions
impl Debug for ExecuteOptions
Source§impl Default for ExecuteOptions
impl Default for ExecuteOptions
impl Eq for ExecuteOptions
Source§impl PartialEq for ExecuteOptions
impl PartialEq for ExecuteOptions
Source§fn eq(&self, other: &ExecuteOptions) -> bool
fn eq(&self, other: &ExecuteOptions) -> bool
self and other values to be equal, and is used by ==.