TwistPHP Documentation

Result

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

Type: Model

Result — Object containing the results of a query run by the TwistPHP database utility. The object contains all the information from the query run including SQL the query itself.

Example Usage

<?php
//Call the function sql with the example vars
$resResult = new \Twist\Core\Models\Database\Result();
$resResult -> sql();

Method List

Method Access Returns
__constructconstructvoid
statuspublicvoid
sqlpublicvoid
insertIDpublicvoid
affectedRowspublicvoid
numberRowspublicvoid
rowpublicvoid
rowspublicvoid
errorNopublicvoid
errorMessagepublicvoid