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