TwistPHP Documentation

generateUniqueKey

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

generateUniqueKeyGenerate the unique keys that can be used in the create query

Return Values

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

Example

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