onenewcode
5fe3b5b435
feat(mongo): add collection clone
2026-08-10 15:53:00 +08:00
t8y2
9e3013adf9
fix(mongodb): support createUser shell commands
...
Closes #5639
2026-08-09 15:51:04 +08:00
t8y2
f10642e29a
fix(mongodb): support legacy aggregate commands
...
Closes #5575
2026-08-08 20:30:20 +08:00
t8y2
996ce42e80
fix(mongodb): support find explain commands
...
Closes #5619
2026-08-07 18:51:04 +08:00
t8y2
bac8f4166f
fix(mcp): route MongoDB getIndexes through metadata
...
Closes #5618
2026-08-07 17:21:31 +08:00
Eddy Lei
a5e46fd659
feat(query): show database server messages in query results
2026-08-07 15:18:32 +08:00
zipg
a71c767174
fix(mongodb-agent): block readonly query misjudged as write
2026-08-06 20:10:31 +08:00
t8y2
2e57ac8bc0
fix(mongodb): support legacy Agent findOne queries
...
Closes #5300
2026-08-04 13:09:33 +08:00
zipg
c9764be9a0
fix(mongodb): support collation for find queries
2026-08-04 00:37:13 +08:00
onenewcode
8e7b74d0ee
feat(mongodb): improve sidebar index management
2026-08-02 22:45:33 +08:00
onenewcode
9a83b46f00
feat(mongodb): rename collections from sidebar
2026-07-21 17:08:27 +08:00
onenewcode
bb613b1712
fix(mongodb): support aggregate options and parse errors
2026-07-17 16:57:38 +08:00
Võ Văn Thành (Jay)
640e82cdc6
feat(mongo): improve completion and add distinct support
2026-07-16 18:21:10 +08:00
onenewcode
5bcad3adc6
feat(mongo): add whole-document JSON editing
2026-07-16 18:21:01 +08:00
Võ Văn Thành (Jay)
55f15c8e4b
fix(mongodb): validate options and bound findOne queries
2026-07-15 13:19:53 +08:00
Guoyu Su
a99a34b4ab
fix(mongodb): use dedicated count for legacy collections
2026-07-13 13:21:50 +08:00
zipg
9a09bd49cb
fix(mongodb): support array filters in updates
2026-07-12 23:13:36 +08:00
Guoyu Su
ca9e11217e
fix(mongodb): support collection drop shell command
2026-07-09 14:16:32 +08:00
Guoyu Su
3bc208dbf9
fix(mongodb): support legacy index commands
2026-07-09 00:33:52 +08:00
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
t8y2
0c4ae7caf6
fix(mongodb): support shell delete commands
2026-07-01 20:23:51 +08:00
onenewcode
93eeeaa9c6
feat(mongo): add dropIndex and dropIndexes support across full stack
2026-07-01 17:53:09 +08:00
onenewcode
e09ec3cd7a
fix(mongo): preserve BSON types in MongoDB-to-MongoDB transfer
2026-07-01 16:31:39 +08:00
t8y2
6d9132e2a9
fix(mongo): support legacy agent bulk updates
2026-07-01 01:52:32 +08:00
t8y2
299a9843f3
fix(elasticsearch): pass routing for document writes
2026-07-01 00:43:14 +08:00
onenewcode
b90e4fd64e
feat(mongodb): support createIndex shell command ( #2187 )
2026-06-30 21:34:58 +08:00
lexmin0412
c04203ca90
fix(vector): use specified database for Milvus collection listing ( #2087 )
2026-06-30 01:53:48 +08:00
Guoyu Su
7a5984a1fd
fix(mongodb): support shell projection and db.version
2026-06-29 00:27:27 +08:00
lexmin0412
c2376494d3
feat(vector): add ChromaDB support
2026-06-26 01:41:36 +08:00
林剑凛
41edb3da91
feat(mongo): add database and collection deletion
2026-06-20 22:22:04 +08:00
t8y2
e27d34a34a
feat(vector): add qdrant and milvus support
2026-06-19 10:07:56 +08:00
t8y2
66e6ca1211
fix(db): refresh stale native pools
2026-06-17 11:14:35 +08:00
t8y2
c57e18bf3e
fix: resolve clippy warnings and missing struct fields in tests
2026-06-16 00:55:32 +08:00
t8y2
7923f4915e
fix(elasticsearch): apply document filters in browser
2026-06-11 18:56:38 +08:00
t8y2
8942356eed
fix: sort sidebar metadata nodes consistently
2026-06-05 16:44:41 +08:00
t8y2
81e1693c18
fix(mongodb): support restricted database users
2026-06-02 11:09:48 +08:00
t8y2
ef4baba57a
feat: support double-clicking .db/.sqlite/.duckdb files to open in IDE
...
Add OS file association for database files (.db, .sqlite, .sqlite3, .duckdb)
so double-clicking them in Finder/Explorer automatically creates a connection.
If the same file path is already connected, prompts the user to switch instead.
Also fix 42 pre-existing clippy warnings in dbx-core (needless_borrow,
too_many_arguments, derivable_impls, manual_div_ceil, type_complexity, etc.).
Closes #527
2026-05-29 17:25:52 +08:00
徐文彬
5ea146e08e
fix(mongodb): guard aggregate execution paths
2026-05-28 21:29:08 +08:00
徐文彬 and Claude Opus 4.7
c56bcb8e2d
feat(mongodb): 支持聚合查询、批量写入和 MCP 集成
...
- 桌面端:解析 db.<集合>.aggregate([...]) shell 语法,新增 mongoAggregateDocuments
接口(Tauri + HTTP);mongo 入口统一补 ensureConnected;ObjectId(...) 自动
转换为 {"\$oid":"..."} 扩展 JSON 表示。
- dbx-core:新增 aggregate_documents、insert/update/delete_documents bulk
操作;扩展 JSON 解析识别 \$oid;schema list_tables_core 补 MongoDB/Elasticsearch
分支返回 COLLECTION/INDEX。
- dbx-web / Tauri 命令 / MCP bridge:注册 4 个新 mongo 路由
(aggregate/insert/update/delete documents);MCP bridge 新增 mongo HTTP 入口
和 lazy 连接复用。
- node-core (MCP 后端):mongodb 走专属 executeQuery / listTables /
describeTable;read-only 默认 + DBX_MCP_ALLOW_WRITES /
DBX_MCP_ALLOW_DANGEROUS_SQL 两级开关;aggregate 含 \$out/\$merge 走同样开关;
describeTable 抽样 20 条文档推断字段类型,_id 自动标记主键。
- mcp-server:mongodb 跳过 SQL safety evaluator(mongo shell 与 SQL 语法
不兼容),改由 backend 做命令级 gating;附注释。
- AiAssistant 同时 emit replaceSql + executeSql 让编辑器和结果保持一致;
App.vue ensureQueryTab 在无上下文时回退到连接默认库;aiMessageRender
识别 mongodb / mongo 代码块。
- Review 修复:合并两份重复的 evaluateMongo*Safety 实现(同时修复 web-backend
用字符串比较导致空 filter 检查可被空格绕过的 bug);ObjectId 正则兼容
单/双引号;mongo_ops 错误文案 "MCP" 改为 "bulk";补 aggregate 解析测试用例。
测试:pnpm test 911 通过;vue-tsc 通过;cargo check -p dbx-core 通过。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-28 21:25:43 +08:00
t8y2
a8f717b3f6
refactor(agent): wrap mongo legacy calls
2026-05-19 15:49:22 +08:00
t8y2
a0bcb1d889
feat(mongo): fallback to agent driver for pre-4.2 MongoDB
...
When native Rust MongoDB driver fails with wire version error,
automatically fall back to the Java agent driver which supports
older MongoDB versions. All mongo_ops route through agent RPC
when the connection pool is Agent-backed.
2026-05-14 15:04:02 +08:00
t8y2
88ad579a27
feat(mongo): add filter/sort support and fix table view editing
...
- Add filter and sort parameters to MongoDB find_documents across the
full stack (driver, ops, tauri cmd, web routes, frontend API)
- Add find/sort input bar to MongoDocBrowser table view via DataGrid
search-bar slot, matching WHERE/ORDER BY positioning
- Fix table view editing: allow cell editing when customSave is provided
(bypasses primary key requirement for MongoDB)
- Fix replace_one WriteError 66 by removing _id from replacement doc
- Align action buttons (refresh, add row, commit) to the right in grid
2026-05-14 14:43:26 +08:00
t8y2
bafb424b23
perf: full-stack performance optimization
...
Frontend:
- Debounce queryStore tab persistence (remove flush:sync deep watcher)
- Eliminate unnecessary object spreading in connectionStore error handling
- Use in-place delete for completion cache invalidation
- Deduplicate schema cache prefix API calls
- Split echarts, reka-ui, marked, @codemirror/commands into separate chunks
- Lazy-load xlsxExport and markdownTable in DataGrid
- Lazy-load marked parser in UpdateDialog
Backend:
- Replace tokio::sync::Mutex with RwLock for AppState connections/configs
(60+ concurrent reads no longer block each other)
- Parallelize PostgreSQL DDL metadata queries with tokio::try_join!
2026-05-10 23:23:22 +08:00
t8y2
41445ff474
chore: add rustfmt.toml and apply unified code formatting
2026-05-05 14:16:18 +08:00
t8y2
cf4f25fd52
feat: extract dbx-core crate for web deployment support
...
Refactor all database drivers, query execution, schema operations, and
business logic into a shared `dbx-core` crate. The Tauri desktop app
becomes a thin shell delegating to dbx-core, enabling future web and
CLI frontends to reuse the same core.
2026-05-05 03:16:24 +08:00