Skip to content

getColumnMeta returns uppercase name even if PDO::CASE_LOWER is set #79

Open
@ghost

Description

The Statement::getColumnMeta() method does not respect the PDO::ATTR_CASE setting and always returns uppercase names for columns.

I think the field name should be converted to lower case:

if ($this->getAttribute(PDO::ATTR_CASE) == PDO::CASE_LOWER)
  $meta['name']  = strtolower($meta['name'] );

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions