|
|
|
|
|
by fiedzia
608 days ago
|
|
>The second that you would benefit from using a DBMS specific feature, the ORM begins getting in the way. You can extend diesel (and probably many other orms, Diesel is just particularly easy here) to support any db feature you want. > It is highly unlikely that an ORM provides support, much less a good abstraction, over features that only 1/N supported DBMS have. That depends on orm flexibility and popularity. It may not provide support OOTB, but can make it easy to add it. > Your code ends up using the driver raw in these cases, so why not just use the driver for everything? Your codebase would be consistent at that point Main point of using orm for me is that I have type verification, raw (as in text) breaks too easily. |
|
Might have improved since last I checked, but I was pretty confused.