Crates.io | welds-cli |
lib.rs | welds-cli |
version | 0.4.2 |
source | src |
created_at | 2023-04-18 00:45:21.625385 |
updated_at | 2024-10-07 19:35:19.496114 |
description | An async ORM for (postgres, mssql, mysql, sqlite) |
homepage | |
repository | https://github.com/weldsorm/welds/tree/main/welds-cli |
max_upload_size | |
id | 841987 |
size | 107,723 |
Welds is an ORM for Rust.
This crate is a command line tool to help you use welds.
It is used to generate rust code for your struct definitions.
You point it at your database and out comes a bunch of rust files for all the tables in your database.
cargo install welds-cli
export DATABASE_URL=postgres://postgres:password@localhost:5432
welds.yaml
database definition file.welds update
welds generate