TwistPHP Documentation

detectAutoIncrement

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

detectAutoIncrementReturn the auto increment field name if one exists

Return Values

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

Example

<?php
//Call the function detectAutoIncrement with the example vars
$resRecord = new \Twist\Core\Models\Database\Record();
$resRecord -> detectAutoIncrement();