feat: one-to-many relation helper
Allow one to specify that a field of a model is a foreign key. It will generate a bunch of helper methods to query related entities from one entity.
This commit is contained in:
parent
32ef1f7b33
commit
5f45671b74
25 changed files with 764 additions and 140 deletions
8
docs/tutorials/quick_start.md
Normal file
8
docs/tutorials/quick_start.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Quick start with sqlxgentools
|
||||
|
||||
Steps:
|
||||
- Install the crate
|
||||
- Declare your models
|
||||
- Generate migrations
|
||||
- Generate repositories
|
||||
- Use repositories in your code
|
||||
Loading…
Add table
Add a link
Reference in a new issue