Get the latest tech news
You probably don't need query builders
In a previous [0] post I’ve discussed why I ditched sea-query and why sql is almostalways the best way to not re-learn something new from the beginning...
In a previous[0] post I’ve discussed why I ditched sea-query and why sql is almost always the best way to not re-learn something new from the beginning that will inevitably end up slowing you down or simply not working at all in the long run. My naive-self in the past used to create a fancy custom deserializer function that transformed 11,22,33,44 from a String into a Vec<i64> and that is useless work that could have easily been handled by the database. As you can see we’ve got a lot done by employing sql alone, you can get smart with it and avoid writing over-complicated Rust logic in your queries, isn’t that a neater and better solution overall?
Or read this on Hacker News