3 ms·
One benefit of the diesel approach is that it's type safe, whereas the pure SQL approach isn't.
by leshow 9y ago
One benefit of the diesel approach is that it's type safe, whereas the pure SQL approach isn't.
- u320 9y agoThere is no technical reason why you couldn't create a fully typesafe pure SQL interface in Rust, the same way Rust's format language is typesafe.
- steveklabnik 9y agoThis is true, but to do that, you need procedural macros, which are not yet stable.