fsprojects / SQLProvider

A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides.
https://fsprojects.github.io/SQLProvider
Other
579 stars 146 forks source link

Can't use Postgres functions #699

Open retendo opened 3 years ago

retendo commented 3 years ago

I want to call a function in my Postgres database. I did it like in the example here: https://fsprojects.github.io/SQLProvider//core/programmability.html (I used database provider type POSTGRESQL instead)

But when I want to use it with my dataContext I get

ProductRepo.fs(72, 13): [FS0039] The type 'dataContext' does not define the field, constructor or member 'Functions'.

Thorium commented 1 year ago

This is kind of duplicate of #180