dbx/src-tauri/src
onenewcode 91c77e53c4
feat(mongodb): support collection stats shell commands
Add db.coll.stats() / dataSize() / storageSize(scale) / totalIndexSize()
so these MongoDB shell commands return a result grid instead of the
"Use MongoDB shell-style commands" error (issue #2529).

- backend: collStats via mongo_driver.collection_stats, wired through
  mongo_ops, the dbx-web /mongo/collection-stats route, the tauri
  mongo_collection_stats command, and the MCP data bridge
- node-core: parseMongoCollectionStatsCommand + result formatter and
  executeQuery dispatch (web build + MCP path)
- desktop: mirror the parser/executor/autocomplete in mongoShellCommand.ts,
  queryStore.ts, api/tauri/http facade, and mongoCompletion.ts
- tests for the parser, result formatter, and completion entries

Close #2529
2026-07-03 21:32:29 +08:00
..
commands feat(mongodb): support collection stats shell commands 2026-07-03 21:32:29 +08:00
db feat: extract dbx-core crate for web deployment support 2026-05-05 03:16:24 +08:00
models feat: extract dbx-core crate for web deployment support 2026-05-05 03:16:24 +08:00
data_dir.rs fix(portable): prevent stale portable marker from wiping history data 2026-06-28 19:00:40 +08:00
lib.rs feat(mongodb): support collection stats shell commands 2026-07-03 21:32:29 +08:00
macos_app_delegate.rs fix(editor): prompt before closing unsaved SQL tabs 2026-07-02 16:43:55 +08:00
main.rs chore: add rustfmt.toml and apply unified code formatting 2026-05-05 14:16:18 +08:00
window_state_guard.rs fix(app): restore offscreen windows on startup 2026-05-18 16:47:14 +08:00