Skip to content

PDO function 'quote' not available on PDO_ODBC #344

@will-barber

Description

@will-barber

return $this->fluent->getPdo()->quote($value);

When passing in an array for use in an "in" clause,
$query->where('COLNAME', ['Condition1', 'Condition2']);

fluentPDO dies due to limitations with the driver I'm using with PDO - I'm using PDO_ODBC which does not support the quote function.

https://www.php.net/manual/en/pdo.quote.php

Could fluentPDO be modified to support a user-defined function for quoting instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions