Skip to content

pyk/seaorm-by-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeaORM by example

I'm kicking off a blog series about Rust's SeaORM, all from a beginner's angle.

Check out the posts:

  1. Creating PostgreSQL Tables
  2. Insert, Select, Update, and Delete Rows in PostgreSQL Tables

Getting started

Copy .env.example to .env and update the values.

Use the following command to run the migration:

sea-orm-cli migration up

Use the following command to update the entity crate:

sea generate entity -o entity/src --lib

Releases

No releases published

Packages

No packages published

Languages