Implement Tag repository #16

Open
opened 2026-10-30 21:00:13 -06:00 by west · 0 comments
Owner

📋 CRUD operations for tags with many-to-many relationship to transactions.

🎯 Acceptance Criteria:

  • create(tag) appends to SyncOutbox
  • update(tag) appends to SyncOutbox
  • delete(id) removes tag from all associated transactions
  • queryByName(name) returns a tag by name
  • queryAll() returns all tags
  • addTagToTransaction(transactionId, tagId)
  • removeTagFromTransaction(transactionId, tagId)
  • getTagsForTransaction(transactionId) returns tags for a transaction

📝 Notes: Many-to-many junction table management is the key challenge here.

📋 **CRUD operations for tags with many-to-many relationship to transactions.** 🎯 **Acceptance Criteria:** - [ ] create(tag) appends to SyncOutbox - [ ] update(tag) appends to SyncOutbox - [ ] delete(id) removes tag from all associated transactions - [ ] queryByName(name) returns a tag by name - [ ] queryAll() returns all tags - [ ] addTagToTransaction(transactionId, tagId) - [ ] removeTagFromTransaction(transactionId, tagId) - [ ] getTagsForTransaction(transactionId) returns tags for a transaction 📝 **Notes:** Many-to-many junction table management is the key challenge here.
Sign in to join this conversation.
No description provided.