Answers for "laravel eloquent get current sequence value"

PHP
0

laravel eloquent get current sequence value

$statement = DB::select("SHOW TABLE STATUS LIKE 'users'");
$nextId = $statement[0]->Auto_increment;
Posted by: Guest on September-28-2020

Code answers related to "laravel eloquent get current sequence value"

Browse Popular Code Answers by Language