method hasIdIncrement documentation in bbn\Db

Return true if in the table there are fields with auto-increment.

Working only on mysql.

Example

X::dump($db->hasIdIncrement('table_users')); // (bool) 1 function(string $table) { if (method_exists($this->language, 'hasIdIncrement')) { return $this->language->hasIdIncrement($table); } return false; }

Return true if in the table there are fields with auto-increment. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.