wondering if I dislike ORMs as a category, or whether there are actually any DB abstractions I'd like to use
This will make your code way more resilient, but also harder to make generic (e.g. a function that takes any table with a column called "name" is really difficult to express. Reach for a macro in that case).
-
-
We also focus less on DB agnostic code. It's possible, but more targeted towards library authors (dev/prod parity is good). We want you to use the features of your database to their full potential
-
Is there a way to write a diesel query interactively, or does it more or less come down to iterating on a `fn main(){ ... }` until you get something that works, then move what you've learned into your app?
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.