rust-at-night / rust-at-night-website

MIT License
3 stars 2 forks source link

Choose a crate for db interaction #11

Closed alisomay closed 1 year ago

alisomay commented 1 year ago

I have used sea-orm for a long time and I'm not super happy.

Generally idea of an orm does not feel very good anymore. If you do anything complex you start writing plain SQL again.

So I'd say we check diesel and maybe more lower level crates sqlx etc.

When we decide on something we can start building on top of it.

ozankasikci commented 1 year ago

I can rely on your choice on this @alisomay , please lead the way :)

alisomay commented 1 year ago

I think https://github.com/andrewwhitehead/sqlx would suffice. It is simple as hell and includes all the necessary functionalities imo.