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.
8 lines
160 B
Markdown
8 lines
160 B
Markdown
# Quick start with sqlxgentools
|
|
|
|
Steps:
|
|
- Install the crate
|
|
- Declare your models
|
|
- Generate migrations
|
|
- Generate repositories
|
|
- Use repositories in your code
|