diesel v1.4.2 Release Notes
Release Date: 2019-03-19 // about 5 years ago-
🛠 Fixed
- Parenthesis are now inserted around all mathematical operations. This means
that
(2.into_sql() + 3) * 4
will correctly evaluate to 20 as expected. Previously we would generate SQL that evaluated to 14. This could even result in runtime errors if multiple types were involved (for example,interval * (integer + 1)
)
- Parenthesis are now inserted around all mathematical operations. This means
that