fsprojects / FSharp.Data.SqlClient

A set of F# Type Providers for statically typed access to MS SQL database
http://fsprojects.github.io/FSharp.Data.SqlClient/
Other
205 stars 71 forks source link

Dynamic SQL #193

Open pisees opened 8 years ago

pisees commented 8 years ago

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?

dmitry-a-morozov commented 8 years ago

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.