Commit f45a9dab authored by Dries's avatar Dries

- Patch #328402 by hswong3i: documentation clean-up in PostgreSQL.

parent 35c7673c
......@@ -27,7 +27,10 @@ public function __construct(Array $connection_options = array()) {
$dsn .= ' port=' . $connection_options['port'];
}
parent::__construct($dsn, $connection_options['username'], $connection_options['password'], array(PDO::ATTR_STRINGIFY_FETCHES => TRUE));
parent::__construct($dsn, $connection_options['username'], $connection_options['password'], array(
// Convert numeric values to strings when fetching.
PDO::ATTR_STRINGIFY_FETCHES => TRUE,
));
}
public function query($query, Array $args = array(), $options = 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