Skip to content
Snippets Groups Projects
Commit f45a9dab authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 35c7673c
No related branches found
No related tags found
No related merge requests found
......@@ -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()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment