Welds is an ORM for Rust. This cli is tool to help use welds. It is used to generate model struct definitions.
1) Set a connection string to your database using the ENV DATABASE_URL
bash
export DATABASE_URL=postgres://postgres:password@localhost:5432
2) use the welds-cli to create a welds.yaml
database definition file.
bash
welds update
3) use the welds-cli to generate rust code.
bash
welds generate