v0.3.0
v0.2.0 -> v0.3.0
Summary
Add FIND/QUERY commands with comparison operators and LIMIT support, extend dot-notation to EXIST/TYPE, and consolidate file structure.
翻譯
新增 FIND/QUERY 指令支援比較運算子與 LIMIT,擴展 dot-notation 至 EXIST/TYPE,並整併檔案結構Changes
FEAT
- Add FIND command with value search across all keys (EQ/GT/GE/LT/LE/LIKE)
- Add QUERY command for JSON sub-field conditional search with dot-notation
- Add LIMIT support for FIND and QUERY commands
- Add time-based sorting (UpdatedAt > CreatedAt, newest first) for FIND and QUERY results
- Add dot-notation support for EXIST and TYPE commands (ExistField, TypeField)
翻譯
- 新增 FIND 指令,支援全域值搜尋(EQ/GT/GE/LT/LE/LIKE)
- 新增 QUERY 指令,支援 JSON 子欄位條件查詢與 dot-notation
- 新增 FIND 與 QUERY 的 LIMIT 參數
- 新增 FIND 與 QUERY 依時間排序(UpdatedAt > CreatedAt,新到舊)
- 新增 EXIST 與 TYPE 的 dot-notation 巢狀欄位查詢
REFACTOR
- Extract WalkKeys to utils for shared use across GetField, IncrField, and Query
- Merge compact.go into aof.go and delField.go into del.go
- Merge getField.go into get.go
- Extract showList helper and parseLimit in exec.go
翻譯
- 抽離 WalkKeys 至 utils 供 GetField、IncrField、Query 共用
- 合併 compact.go 至 aof.go,delField.go 至 del.go
- 合併 getField.go 至 get.go
- 抽離 exec.go 中的 showList 與 parseLimit 輔助函式
Files Changed
| File | Status | Tag |
|---|---|---|
core/store/find.go |
Added | FEAT |
core/store/query.go |
Added | FEAT |
core/store/exec.go |
Modified | FEAT |
core/store/get.go |
Modified | FEAT |
core/store/del.go |
Modified | REFACTOR |
core/store/aof.go |
Modified | REFACTOR |
core/store/incrField.go |
Modified | REFACTOR |
core/utils/utils.go |
Modified | REFACTOR |
core/store/compact.go |
Deleted | REFACTOR |
core/store/delField.go |
Deleted | REFACTOR |
core/store/getField.go |
Deleted | REFACTOR |
README.md |
Modified | DOC |
Generated by SKILL