src/bbn/db.php
public function has_id_increment($table): bool
  {
    return ($model = $this->modelize($table)) &&
      isset($model['keys']['PRIMARY']) &&
      (\count($model['keys']['PRIMARY']['columns']) === 1) &&
      ($model['fields'][$model['keys']['PRIMARY']['columns'][0]]['extra'] === 'auto_increment');
  }
public function has_id_increment($table): bool
  {
    return ($model = $this->modelize($table)) &&
      isset($model['keys']['PRIMARY']) &&
      (\count($model['keys']['PRIMARY']['columns']) === 1) &&
      ($model['fields'][$model['keys']['PRIMARY']['columns'][0]]['extra'] === 'auto_increment');
  }
public function has_id_increment ( $ table ) : bool { return ( $ model = $ this -> modelize ( $ table ) ) && isset ( $ model [ 'keys' ] [ 'PRIMARY' ] ) && ( \ count ( $ model [ 'keys' ] [ 'PRIMARY' ] [ 'columns' ] ) === 1 ) && ( $ model [ 'fields' ] [ $ model [ 'keys' ] [ 'PRIMARY' ] [ 'columns' ] [ 0 ] ] [ 'extra' ] === 'auto_increment' ) ; }
Return true if in the table there are fields with auto-increment.
Working only on mysql.

```php
\bbn\x::dump($db->has_id_increment('table_users'));
// (bool) 1
```

@param string $table The table's name
@return bool
Return true if in the table there are fields with auto - increment . Working only on mysql .