feat(mongo): add document JSON preview
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user