Closed simonmcconnell closed 4 years ago
Sure, I'll look at it (or you can send a PR). Which database? MSSQL, MySQL or Postgres?
MSSQL. I can try a PR in the coming days.
On Mon, 6 Jul 2020, 17:25 Roman Provazník, notifications@github.com wrote:
Sure, I'll look at it (or you can send a PR). Which database? MSSQL, MySQL or Postgres?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dzoukr/Dapper.FSharp/issues/8#issuecomment-654063508, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFMFOAESLU5DFLR4U7P2UCTR2F36ZANCNFSM4OQS55SA .
Fixed in v 1.10.0 - checked for all three databases. Thanks for pointing out, @simonmcconnell!
This will give
SELECT Id, Desc FROM MyTable WHERE Id=1
and raise an exception, when it really just needs to be something likeSELECT [Id], [Desc] FROM [MyTable] WHERE Id=1
. Do you have any objections to putting square brackets around the terms?