TwistPHP Documentation

ProtocolMYSQLI

File path: dist/twist/Core/Models/Database/ProtocolMYSQLI.model.php
Namespace: Twist\Core\Models\Database
Extends:

Type: Model

ProtocolMYSQLI — The library of MySQLi, this will allow the Database class to communicate with a MySQL server using the advanced MySQLi Protocol

Example Usage

<?php
//Call the function close with the example vars
$resProtocolMYSQLI = new \Twist\Core\Models\Database\ProtocolMYSQLI();
$resProtocolMYSQLI -> close();

Method List

Method Access Returns
connectpublicvoid
connectedpublicvoid
closepublicvoid
connectionErrorpublicvoid
pingpublicvoid
selectDatabasepublicvoid
setCharsetpublicvoid
escapeStringpublicvoid
numberRowspublicvoid
insertIdpublicvoid
affectedRowspublicvoid
querypublicvoid
fetchArraypublicvoid
freeResultpublicvoid
errorStringpublicvoid
errorNumberpublicvoid
autoCommitpublicvoid
commitpublicvoid
rollbackpublicvoid
serverInfopublicvoid