Maybe it's just me, but I do not find it easier to try and understand how an ORM translates the *your-favorite-language-here* into SQL. What I like is ORMlite things that just bind native language variables into SQL bindings, and then I can write SQL easily.
I feel like @Argorak had some plans / prototypes for this? -- definitely seemed to be coming from a similar angle at this.
-
-
Basically, it constructs an abstract tree and compiles it to the specific SQL dialect. Pretty often, that ends up implementing a relational algebra in the language space, e.g. Rails uses https://github.com/rails/rails/tree/master/activerecord/lib/arel … and sequel is an implementation in that.
-
The issue is independent of ORMs, though, ORM is just a way of expressing those statements around specific types. My current stab to express that in Rust is here:https://github.com/berlinrs/tbd.rs
End of conversation
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.