Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Can't insert row when column name contains dash using PDO #35

Closed
@dkmuir

Description

@dkmuir

When there's a dash in the column name, inserts and updates fail.
See http://php.net/manual/en/pdo.prepared-statements.php#97162

The relevant code is:
https://github.com/zendframework/zend-db/blob/master/src/Adapter/Driver/Pdo/Pdo.php#L300

Is there a reason why this wouldn't work with positional placeholders instead?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions