refactor: memo filter
- Updated memo and reaction filtering logic to use a unified engine for compiling filter expressions into SQL statements. - Removed redundant filter parsing and conversion code from ListMemoRelations, ListReactions, and ListAttachments methods. - Introduced IDList and UIDList fields in FindMemo and FindReaction structs to support filtering by multiple IDs. - Removed old filter test files for reactions and attachments, as the filtering logic has been centralized. - Updated tests for memo filtering to reflect the new SQL statement compilation approach. - Ensured that unsupported user filters return an error in ListUsers method.
Showing
plugin/filter/MAINTENANCE.md
0 → 100644
plugin/filter/README.md
0 → 100644
This diff is collapsed.
plugin/filter/engine.go
0 → 100644
plugin/filter/helpers.go
0 → 100644
plugin/filter/ir.go
0 → 100644
plugin/filter/parser.go
0 → 100644
This diff is collapsed.
plugin/filter/render.go
0 → 100644
This diff is collapsed.
plugin/filter/schema.go
0 → 100644
Please register or sign in to comment