Zaid-Ajaj / Npgsql.FSharp.Analyzer

F# analyzer that provides embedded SQL syntax analysis, type-checking for parameters and result sets and nullable column detection when writing queries using Npgsql.FSharp.
MIT License
137 stars 9 forks source link

Add support for timestamp, date, set and declare cursor #32

Closed dbrattli closed 3 years ago

dbrattli commented 3 years ago

Proposed Changes

Add support for:

Types of changes

What types of changes does your code introduce to BinaryDefense.FSharp.Analyzers? 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

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

dbrattli commented 3 years ago

PS: Might be breaking change because of Integer of int64.

Zaid-Ajaj commented 3 years ago

PS: Might be breaking change because of Integer of int64.

It should be alright, the analyzer does not need to check the contents of the constants for now ✔️

Zaid-Ajaj commented 3 years ago

Thanks again for improving the parser, I will make use of these features for the next release!