TwistPHP Documentation

nullAutoIncrement

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

nullAutoIncrementNullify an auto increment field, used when cloning a database record so that you wont get duplicate keys

Return Values

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

Example

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