Skip to content

PDO function 'quote' not available on PDO_ODBC #344

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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