sqlxgentools/TODO.md

30 lines
755 B
Markdown

# TODO
- CREATE TABLE migration
- add unit tests
- add custom table name attribute
- add automagically generated CHECK constraints on enum type field
- support foreign key CHECK constraints
- [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
- 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