# Class Opencart\System\Library\DB\MySQLi

Class MySQLi

Located at system\library\db\mysqli.php

Methods
`public` | `__construct( string $hostname, string $username, string $password, string $database, int $port = 0, string $ssl_key = '', string $ssl_cert = '', string $ssl_ca = '', )` Constructor Constructor | #
`public` | `query(string $sql): mixed` 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