memos/store/db/postgres
Copilot b685ffacdf 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.
2025-10-16 09:22:52 +08:00
..
activity.go chore: fix postgres stmts 2024-01-05 21:27:16 +08:00
attachment.go refactor: memo filter 2025-10-16 09:22:52 +08:00
common.go chore: fix postgres stmts 2024-01-05 21:27:16 +08:00
idp.go fix: create idp in postgres 2024-05-29 23:22:20 +08:00
inbox.go fix: remove errors.Wrap(nil) (#4576) 2025-03-31 12:56:51 +08:00
memo.go refactor: memo filter 2025-10-16 09:22:52 +08:00
memo_filter_test.go refactor: memo filter 2025-10-16 09:22:52 +08:00
memo_relation.go refactor: memo filter 2025-10-16 09:22:52 +08:00
migration_history.go chore: fix postgres stmts 2024-01-05 21:27:16 +08:00
postgres.go chore: fix linter 2025-06-15 10:27:24 +08:00
reaction.go refactor: memo filter 2025-10-16 09:22:52 +08:00
user.go refactor: memo filter 2025-10-16 09:22:52 +08:00
user_setting.go refactor: general user setting 2025-06-23 23:23:57 +08:00
workspace_setting.go chore: tweak workspace setting store 2024-04-10 22:31:55 +08:00