TwistPHP Documentation

sql

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

sqlThis will generate the create SQL command and output for you to use.

Return Values

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

Example

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