diff --git a/src/Connectors/MysqlConnector.php b/src/Connectors/MysqlConnector.php index efd7f1d..78332e8 100644 --- a/src/Connectors/MysqlConnector.php +++ b/src/Connectors/MysqlConnector.php @@ -20,11 +20,12 @@ class MysqlConnector implements ConnectorInterface{ /** * The default PDO connection options. * + * PDO::ATTR_CASE => PDO::CASE_NATURAL * @var array */ private static $options = [ PDO::ATTR_PERSISTENT => true, - PDO::ATTR_CASE => PDO::CASE_NATURAL, + PDO::ATTR_CASE => PDO::CASE_LOWER, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_EMULATE_PREPARES => false, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, diff --git a/src/Connectors/PostgresConnector.php b/src/Connectors/PostgresConnector.php index 9eaf93c..48c08e2 100644 --- a/src/Connectors/PostgresConnector.php +++ b/src/Connectors/PostgresConnector.php @@ -23,7 +23,7 @@ class PostgresConnector * @var array */ protected $options = [ - PDO::ATTR_CASE => PDO::CASE_NATURAL, + PDO::ATTR_CASE => PDO::CASE_LOWER, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_ORACLE_NULLS => PDO::NULL_NATURAL, PDO::ATTR_STRINGIFY_FETCHES => false,