fix(grid): continue Oracle manual transaction cursor for infinite scroll
This commit is contained in:
10 files changed
+410
-30
No files matched your search
@@ -463,6 +463,8 @@ pub async fn execute_in_manual_transaction(
|
||||
schema: Option<String>,
|
||||
max_rows: Option<usize>,
|
||||
table_data_preview: Option<bool>,
|
||||
page_size: Option<usize>,
|
||||
result_session_id: Option<String>,
|
||||
) -> Result<Vec<dbx_core::query::ExecuteMultiResult>, ManualTransactionCommandError> {
|
||||
dbx_core::query::execute_in_manual_transaction_with_options(
|
||||
&state,
|
||||
@@ -470,8 +472,12 @@ pub async fn execute_in_manual_transaction(
|
||||
&sql,
|
||||
&database,
|
||||
schema.as_deref(),
|
||||
max_rows,
|
||||
table_data_preview.unwrap_or(false),
|
||||
dbx_core::query::ManualTransactionExecutionOptions {
|
||||
max_rows,
|
||||
table_data_preview: table_data_preview.unwrap_or(false),
|
||||
page_size,
|
||||
result_session_id,
|
||||
},
|
||||
)
|
||||
.await
|
||||
.map_err(|error| {
|
||||
|
||||
Reference in new issue
Block a user