demetrixbio / FSharp.Data.Npgsql

F# type providers to support statically typed access to input parameters and result set of sql statement in idiomatic F# way. Data modifications via statically typed tables.
Apache License 2.0
128 stars 15 forks source link

BUG: cannot insert to a table that has computed column #91

Closed legezam closed 4 years ago

legezam commented 4 years ago

Reproducing this issue requires a postgres 12 or newer.

When inserting to a table that has computed column, the type provider tries to insert to that column even if you don't supply a value for it.

see #90

melanore commented 4 years ago

Fixed in https://github.com/demetrixbio/FSharp.Data.Npgsql/pull/90