Community Archive

๐Ÿงต View Thread

๐Ÿงต Thread (5 tweets)

Placeholder
Miguel Piedrafita โœจ@m1guelpfโ€ข about 2 years ago

After years of missing @laravelphp's Eloquent ORM everywhere I go, I've finally decided to do something about it. Ensemble (a laravel-inspired ORM for Rust), coming soon ๐Ÿ‘€ https://t.co/WDaPlSljcU

Tweet image 1
249 17
8/17/2023
Placeholder
Miguel Piedrafita โœจ@m1guelpfโ€ข about 2 years ago
Replying to @m1guelpf

@laravelphp After a bunch of tinkering, I finally got things to compile! I honestly thought both figuring out the basics of derive macros and getting a global db connection pool would be the hardest parts of this, so I'm super happy with progress so far ๐Ÿ˜ Next up, basic CRUD ๐Ÿ‘€ https://t.co/95ItKkD0MY

Tweet image 1
10 0
8/19/2023
Placeholder
Miguel Piedrafita โœจ@m1guelpfโ€ข about 2 years ago
Replying to @m1guelpf

@laravelphp Ensemble lets you just write Rust, iRust ORMs is that they always make you write your migrations in SQL. Ensemble lets you just write Rust, and provides a fluent interface for things like constraints, indexes, etc. ๐Ÿ’ซ https://t.co/r14G6jEnAN

Tweet image 1
7 0
8/23/2023
Placeholder
Miguel Piedrafita โœจ@m1guelpfโ€ข about 2 years ago
Replying to @m1guelpf

Finally managed to get relationships working! Full support for BelongsTo/HasMany/BelongsToMany relationships, as simple as adding a key to a struct โœจ This require manually deriving serde, which was PAINFUL, but also means you no longer need to pull it in as a dependency ๐Ÿ˜ https://t.co/cxFCh6sbUf

Tweet image 1
12 0
8/28/2023
Placeholder
Miguel Piedrafita โœจ@m1guelpfโ€ข almost 2 years ago
Replying to @m1guelpf

Switched to Ensemble on one of my Rust projects, and shoved off more than a thousand lines in the process! Getting close to a v1.0 ๐Ÿ‘€ https://t.co/YuT9giAwon

Tweet image 1
18 0
9/3/2023