Crates.io | welds-cli |
lib.rs | welds-cli |
version | 0.3.0 |
source | src |
created_at | 2023-04-18 00:45:21.625385 |
updated_at | 2024-03-09 12:12:04.971214 |
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 | 106,950 |
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