feat(redis): add all search mode
This commit is contained in:
1 parent
ca3e3a2a56
commit
a4bd62005b
13 files changed
+118
-18
No files matched your search
@@ -34,9 +34,20 @@ pub async fn redis_scan_values(
|
||||
cursor: u64,
|
||||
pattern: String,
|
||||
query: String,
|
||||
include_key_matches: Option<bool>,
|
||||
count: usize,
|
||||
) -> Result<RedisScanResult, String> {
|
||||
dbx_core::redis_ops::redis_scan_values_core(&state, &connection_id, db, cursor, &pattern, &query, count).await
|
||||
dbx_core::redis_ops::redis_scan_values_core(
|
||||
&state,
|
||||
&connection_id,
|
||||
db,
|
||||
cursor,
|
||||
&pattern,
|
||||
&query,
|
||||
include_key_matches.unwrap_or(false),
|
||||
count,
|
||||
)
|
||||
.await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in new issue
Block a user