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
580 stars 146 forks source link

Detect computed columns #824

Closed willibrandon closed 5 months ago

willibrandon commented 5 months ago

Proposed Changes

Fixes #691

Detect computed columns for Postgres, Oracle, and Firebird to exclude them from insert clause.

Types of changes

What types of changes does your code introduce to SQLProvider? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

I can add some tests to prove that this change works, however, I am learning F# right now, as well as this project, and could use some instruction on how to best write and debug tests.

Thorium commented 5 months ago

Thanks!