TwistPHP Documentation

create

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

createCreate a database table as an object, if the table already exists you are returned null

Return Values

void — No return information has been documented for this function.

Example

<?php
//Call the function create with the example vars
$resTable = new \Twist\Core\Models\Database\Table();
$resTable -> create();