File path: dist/twist/Core/Models/Database/Result.model.php
Namespace: Twist\Core\Models\Database
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.
<?php
//Call the function sql with the example vars
$resResult = new \Twist\Core\Models\Database\Result();
$resResult -> sql();
Method | Access | Returns |
---|---|---|
__construct | construct | void |
status | public | void |
sql | public | void |
insertID | public | void |
affectedRows | public | void |
numberRows | public | void |
row | public | void |
rows | public | void |
errorNo | public | void |
errorMessage | public | void |