Commit Graph
49 Commits
Author SHA1 Message Date
Loc Nguyen 2db28fc236 feat(mongodb): support db.collection.renameCollection() 2026-09-18 14:12:39 +08:00
Loc Nguyen a78fc48a7b feat(mongodb): support find explain in the SQL editor 2026-09-18 01:45:37 +08:00
Loc Nguyen 58200ce5a4 fix(mongodb): reject unsupported find() chain methods instead of dropping them 2026-09-17 17:16:28 +08:00
Loc Nguyen f78dc1ba16 feat(mongodb): support bulkWrite 2026-09-17 12:54:21 +08:00
Loc Nguyen 9eafac706e feat(mongodb): support replaceOne 2026-09-16 12:18:54 +08:00
Loc Nguyen 69b138dc22 feat(mongodb): support estimatedDocumentCount, db.stats, db.serverStatus 2026-09-16 00:40:32 +08:00
Loc Nguyen aeafddfae7 fix(mongodb): say what failed instead of the generic command hint 2026-09-15 16:00:10 +08:00
Loc Nguyen 608633edff fix(mongodb): offer query operators by filter position 2026-09-14 17:53:17 +08:00
zipg 28206f2963 fix(mongodb): null cell display and inline editing 2026-09-13 13:26:26 +08:00
Loc Nguyen 074216ed0f fix(mongo): suggest extended json values in completion 2026-09-11 21:10:04 +08:00
Loc Nguyen 7c2db2d142 fix(mongo): stop suggesting extended json keys as fields 2026-09-11 13:25:54 +08:00
二丫讲梵 0f07d337c3 feat(mongodb): distinguish missing fields from BSON null in grid 2026-09-10 11:59:28 +08:00
jearhe 20f312d650 fix(mongodb): keep plain strings when batch pasting values 2026-09-03 17:51:34 +08:00
Farahani 955558c81f feat(safety): temporary write-unlock window for read-only connections 2026-08-27 17:37:54 +08:00
zipg 2c75a6535e feat(mongodb): support OIDC browser authentication 2026-08-20 09:27:04 +08:00
Võ Văn Thành (Jay) a290948ad9 fix(editor): suggest MongoDB collection methods 2026-08-17 14:53:34 +08:00
t8y2 65792128e4 fix(mongodb): support show databases shell commands
Closes #6226
2026-08-14 07:49:07 +00:00
zipg 325127419f fix(mongodb): install legacy driver during connection test 2026-08-14 14:45:35 +08:00
Guoyu Su 9b24d962bb feat(mongodb): support generic runCommand execution 2026-08-12 21:05:13 +08:00
t8y2 9a16aeaf8b fix(mongodb): separate formatted shell statements
Closes #5909
2026-08-11 13:08:32 +00:00
t8y2 20ddf2eca5 fix(mongodb): preserve null fields in grid edits
Closes #5773
2026-08-10 16:13:49 +08:00
t8y2 9e3013adf9 fix(mongodb): support createUser shell commands
Closes #5639
2026-08-09 15:51:04 +08:00
zipg e49d86b101 feat(mongo): refine document browsing and structured filter experience 2026-08-08 11:36:57 +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
zipg 9c8daa2bd4 fix(sql-completion): improve MongoDB editor suggestions 2026-08-02 09:00:00 +08:00
zipg 1672d64619 fix(mongodb): support query result pagination 2026-07-28 01:02:24 +08:00
Guoyu Su 3da4dd5ff9 fix(mongodb): avoid exact count for unfiltered queries 2026-07-25 19:40:09 +08:00
二丫讲梵 0992c52448 feat(mongodb): support copying MongoDB documents 2026-07-24 15:50:49 +08:00
t8y2 6ace11b097 fix(mongodb): defer result copy statement generation 2026-07-21 17:11:58 +08:00
Freedom 288d62bf64 fix(mongo): preserve date-shaped string values 2026-07-21 17:08:38 +08:00
二丫讲梵 d642d01eac feat(mcp): centralize connection access policies 2026-07-20 22:47:40 +08:00
zipg 7aff5ea493 fix(mongodb): complete dotted collection names 2026-07-20 17:32:38 +08:00
t8y2 4bcf618162 feat(cli): migrate CLI to native Rust binary 2026-07-18 22:29:29 +08:00
zipg fa5579a3f1 fix(mongodb): support legacy insert syntax 2026-07-18 22:17:45 +08:00
co1dsand 681da22c33 feat(mongodb): improve document quick filters 2026-07-17 18:51:33 +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
vrustx d9076f4689 fix(mongo): preserve document IDs during editing 2026-07-16 00:47:02 +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
zipg 2a5e7ac1c7 fix(mongodb): preserve long ids in filters and updates 2026-07-14 11:09:11 +08:00
zipg 5ceca7fb3e fix(mongodb): preserve JSON-looking string values 2026-07-13 18:33:30 +08:00
zipg c2c4860a28 fix(mongodb): preserve document types when copying data 2026-07-13 16:15:02 +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
二丫讲梵 264909aaa9 feat(mongo): add document JSON preview 2026-07-11 01:00:47 +08:00
Guoyu Su ca9e11217e fix(mongodb): support collection drop shell command 2026-07-09 14:16:32 +08:00
Hiep LeandClaude Opus 4.8 78019c44e2 fix(mongo): support ISODate() and new Date() in MongoDB queries
* fix(mongo): hỗ trợ ISODate() và new Date() trong query MongoDB

Parser shell MongoDB ở frontend chỉ chuyển ObjectId(...) sang extended JSON,
nên filter chứa ISODate("...")/new Date("...") không parse được: câu lệnh rơi
xuống SQL executor và báo lỗi "Use MongoDB-specific commands".

Bổ sung rewrite ISODate(x)/new Date(x) -> {"$date":x} trong normalizeJsonArgument,
khớp với json_value_to_bson của backend (đã hiểu $date/$oid). Thêm test cho
filter dùng ISODate và new Date.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(mongo): decode $date extended JSON trong filter query

json_filter_value_to_bson chỉ chuyển {"$oid":...} nên filter chứa {"$date":...}
bị gửi thẳng lên server: { field: {"$date":...} } lỗi "unknown operator: $date",
còn { field: {"$gte": {"$date":...}} } so sánh với sub-document nên không khớp gì
(trả về rỗng).

Thêm nhánh parse_extended_json_date vào json_filter_value_to_bson, đồng bộ với
json_value_to_bson (vốn đã hiểu $date/$oid). Thêm test cho cả equality và $gte.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-06 18:21:15 +08:00
t8y2 7e7c4944e9 refactor(desktop): organize lib modules by domain 2026-07-04 13:53:52 +08:00