docs/api/Opencart.System.Library.DB.PgSQL.html
Class PgSQL
Located at system\library\db\pgsql.php
| Methods |
|---|
| ` |
public
` | `__construct(string $hostname, string $username, string $password, string $database, string $port = '')`
Constructor
Constructor
| # | | `
public
` | `query(string $sql): stdClass`
Query
Query
| # | | `
public
` | `escape(string $value): string`
Escape
Escape
| # | | `
public
` | `countAffected(): int`
countAffected
countAffected
| # | | `
public
` | `getLastId(): int`
getLastId
getLastId
| # | | `
public
` | `isConnected(): bool`
isConnected
isConnected
| # | | `
public
` | `__destruct()`
Destructor Closes the DB connection when this object is destroyed.
Destructor Closes the DB connection when this object is destroyed.
| # |
OpenCart API API documentation generated by ApiGen dev-master