feat(mongo): add document JSON preview

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-07-11 01:00:47 +08:00
1 parent ee4658bac2
commit 264909aaa9
23 files changed
+387 -18

No files matched your search

@@ -498,6 +498,7 @@ export function mongoDocumentsToQueryResult(documents: unknown[], executionTimeM
return {
columns,
rows,
mongo_documents: documents,
affected_rows: total,
execution_time_ms: Math.max(0, Math.round(executionTimeMs)),
truncated: total > documents.length,