Skip to content

Support simulation of date/dateime placeholders - #244

Merged
staabm merged 2 commits into
mainfrom
datetime
Feb 4, 2022
Merged

staabm merged 2 commits into
mainfrom
datetime

Conversation

@staabm

@staabm staabm commented Feb 4, 2022 •

Copy link
Copy Markdown
Owner

refs #225 (comment)

ugly hack to make phpstan-dba not error on query which use date/datetime types with a placeholder.

grafik

I think in case we would have a proper sql parser, we could feed schema-type-dependent default values in case of strings.

@staabm staabm mentioned this pull request Feb 4, 2022
7 of 13 tasks
@staabm
staabm marked this pull request as ready for review February 4, 2022 13:37
@staabm
staabm enabled auto-merge (squash) February 4, 2022 13:38
@staabm
staabm merged commit 9c50b0f into main Feb 4, 2022
@staabm
staabm deleted the datetime branch February 4, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants