staabm / phpstan-dba

PHPStan based SQL static analysis and type inference for the database access layer
https://staabm.github.io/archive.html#phpstan-dba
MIT License
250 stars 17 forks source link

pgsql support for AST #597

Open staabm opened 1 year ago

staabm commented 1 year ago

even if sqlftw does not yet support pgsql we can at least narrow types for pgsql when the statement at hand is compatible with mysql. I think we could run queries thru the sqlftw parser on pgsql but just stop trying to narrow it, if the sql parser throws.

staabm commented 1 year ago

don't let yourself be confused by this "help wanted" label. I just removed this label from the issue tracker, as all issues in the trackers are welcome to be fixed by contributors

hemberger commented 1 year ago

Is #538 a duplicate of this?