FSharp.Data.SqlClient icon indicating copy to clipboard operation
FSharp.Data.SqlClient copied to clipboard

Dynamic SQL

Open pisees opened this issue 9 years ago • 1 comments

Is there a way to do dynamically construct a query. I see in example parameterized query used in WHERE clause, but for what if I wanted to determine the number of columns in a select clause at runtime?

pisees avatar Mar 08 '16 16:03 pisees

The library by design relies on static analysis at compile time. If you need to construct queries dynamically consider either raw ADO.NET or Dapper.

dmitry-a-morozov avatar Mar 08 '16 16:03 dmitry-a-morozov