Dropped old insert_id and insert_id_ext and only kepy insert_id_arr. Added insert_id_pk_name to get the inserted pk name. Insert RETURNING also works on non set pk name with RETURNING set Moved the get insert (RETURNING) into method so it can be called from both dbExec and dbExecute flow. Error code 31 is only thrown if no returning is set and insert flow cannot find a primary key for this table Update all old insert_id calls from other classes
8 lines
67 B
PHP
8 lines
67 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
require 'config.php';
|
|
|
|
// __END__
|