feat(repositories): add get_many_by_id method

This commit is contained in:
Matthieu Bessat 2025-07-31 17:15:00 +02:00
parent e4a1006412
commit 7a6243c6e4
3 changed files with 62 additions and 5 deletions

15
TODO.md
View file

@ -6,14 +6,25 @@
- add automagically generated CHECK constraints on enum type field
- support foreign key CHECK constraints
- Repositories generation
- [x] Repositories generation
- default CRUD boilerplate
- get_all
- get_by_id
- get_many_by_ids
- insert
- update
- delete_by_id
- custom queries
- Config file for project
- [ ] Config file for project
- configure models path
- configure repositories path
- [ ] Better errors
- Better support for lib like `thiserror`
- Don't export anyhow errors
- [ ] Support basic one to many, many to one, belongs to relationships
- [ ] Support generating inner join SQL query
- [ ] Better, cleaner migration support