Skip to content

Conversation

@staabm
Copy link
Owner

@staabm staabm commented Jan 19, 2022

with proper sql parsing, we should better detect the placeholders and therefore could validate this query

refs #94 (comment)

@staabm staabm mentioned this pull request Jan 19, 2022
13 tasks
{
// XXX with proper sql parsing, we should better detect the placeholders and therefore could validate this query
$sql = "
INSERT IGNORE INTO `s_articles_supplier` (`id`, `name`, `img`, `link`, `changed`) VALUES (:supplierId, 'TestSupplier', '', '', '2019-12-09 10:42:10');
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the current placeholder parsing detects :42 of the datetime-col as a placeholder

@staabm staabm enabled auto-merge (squash) January 19, 2022 17:14
@staabm staabm merged commit 954101c into main Jan 19, 2022
@staabm staabm deleted the no-error-94 branch January 19, 2022 17:14
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.

3 participants