OTS_DB_PostgreSQL __construct(
array
$params
)
|
|
Creates database connection.
Creates database connection.
Connects to PgSQL (PostgreSQL) database on given arguments.
List of parameters for this drivers:
- host - database server.
- port - port (optional, also it is possible to use host:port in host parameter).
- database - database name.
- user - user login.
- password - user password.
Parameters:
|
array |
$params: |
Connection parameters. |
API Tags:
Information Tags:
| Version: | 0.0.6 |
| Version: | 0.0.4 |
| Throws: | PDOException On PDO operation error. |
| Since: | 0.0.4 |