dbx/packages/node-core/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
..
backend.ts fix(mcp): add direct Redis command execution 2026-06-26 22:27:31 +08:00
bridge.ts feat: show username/password fields for Access database connections 2026-06-10 08:37:18 +08:00
connections.ts fix(mcp): add direct Redis command execution 2026-06-26 22:27:31 +08:00
database.ts feat(mongodb): support collection stats shell commands 2026-07-03 21:32:29 +08:00
diagnostics.ts feat(oscar): add OSCAR database support 2026-06-30 20:07:55 +08:00
entrypoint.ts fix(packages): resolve npm bin entrypoint detection (#567) 2026-05-31 14:04:44 +08:00
format.ts fix(packages): polish cli and mcp package contracts 2026-05-30 17:20:38 +08:00
index.ts fix(mcp): add direct Redis command execution 2026-06-26 22:27:31 +08:00
paths.ts fix(check): stabilize pnpm check on Windows 2026-06-26 17:55:58 +08:00
redis-command.ts fix(mcp): add direct Redis command execution 2026-06-26 22:27:31 +08:00
schema-context.ts feat: show username/password fields for Access database connections 2026-06-10 08:37:18 +08:00
sql-safety.ts feat(mcp): improve setup defaults and config hints 2026-06-03 16:40:40 +08:00
web-backend.ts feat(mongodb): support collection stats shell commands 2026-07-03 21:32:29 +08:00