Support for Implicit Conversions
·
322 commits
to main
since this release
SqlHydra.Query v1.0.5 adds support for F# implicit conversions in where
expressions.
Example 1: Comparing a decimal
value (p.ListPrice
) with an int
constant now works as expected:
select {
for p in productTable do
where (p.ListPrice > 5)
}
Example 2: Comparing a decimal option
(p.Weight
) with an int
constant now works as expected:
select {
for p in productTable do
where (p.Weight = Some 5)
}
Thanks to aciq for his awesome pull request!