Commit 1c92b907 authored by Tobsn's avatar Tobsn

fixed two typos

connecter class => connector class
Therefor => Therefore
parent 27fb9d06
...@@ -49,7 +49,7 @@ The default connection will always be used by the [fluent query builder](/docs/d ...@@ -49,7 +49,7 @@ The default connection will always be used by the [fluent query builder](/docs/d
<a href="options"></a> <a href="options"></a>
##Overwriting The Default PDO Options ##Overwriting The Default PDO Options
The PDO connecter class (**laravel/database/connectors/connector.php**) has a set of default PDO attributes defined which can be overwritten in the options array for each system. For example, one of the default attributes is to force column names to lowercase (**PDO::CASE_LOWER**) even if they are defined in UPPERCASE or CamelCase in the table. Therefor, under the default attributes, query result object variables would only be accessible in lowercase. The PDO connector class (**laravel/database/connectors/connector.php**) has a set of default PDO attributes defined which can be overwritten in the options array for each system. For example, one of the default attributes is to force column names to lowercase (**PDO::CASE_LOWER**) even if they are defined in UPPERCASE or CamelCase in the table. Therefore, under the default attributes, query result object variables would only be accessible in lowercase.
An example of the MySQL system settings with added default PDO attributes: An example of the MySQL system settings with added default PDO attributes:
'mysql' => array( 'mysql' => array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment