File path: dist/twist/Core/Models/Database/Records.model.php
Namespace: Twist\Core\Models\Database
Type: Model
Records
— Manage rows in your SQL database in an object orientated way. The model allows you to call up single records as objects or arrays.
You can edit a record object and commit back to the database or count, search or delete from your tables with a single function call.
<?php
//Call the function create with the example vars
$resRecords = new \Twist\Core\Models\Database\Records();
$resRecords -> create();
Method | Access | Returns |
---|---|---|
__setTable | public | void |
__setDatabase | public | void |
create | public | void |
get | public | void |
copy | public | void |
delete | public | void |
count | public | void |
find | public | void |
all | public | void |
buildWhereClause | protected | void |