sea-orm/sea-orm-cli
Chris Tsang f506ad6581 Tweak
2021-10-19 18:51:56 +08:00
..
2021-10-19 01:11:54 -04:00
2021-10-19 18:51:56 +08:00

SeaORM CLI

Getting Help:

cargo run -- -h

Running Entity Generator:

# MySQL (`--database-schema` option is ignored) 
cargo run -- generate entity -u mysql://sea:sea@localhost/bakery -o out

# PostgreSQL
cargo run -- generate entity -u postgres://sea:sea@localhost/bakery -s public -o out