original_string: public function modelize($table = null, bool $force = false): ?array
    {
      $r = [];
      $tables = false;
      if ( empty($table) || $table === '*' ){
        $tables = $this->get_tables($this->current);
      }
      else if ( \is_string($table) ){
        $tables = [$table];
      }
      else if ( \is_array($table) ){
        $tables = $table;
      }
      if ( \is_array($tables) ){
        foreach ( $tables as $t ){
          $full = $this->tfn($t);
          $r[$full] = $this->_get_cache($full, 'columns', $force);
        }
        if ( \count($r) === 1 ){
          return end($r);
        }
        return $r;
      }
      return null;
    }
code: public function modelize($table = null, bool $force = false): ?array
    {
      $r = [];
      $tables = false;
      if ( empty($table) || $table === '*' ){
        $tables = $this->get_tables($this->current);
      }
      else if ( \is_string($table) ){
        $tables = [$table];
      }
      else if ( \is_array($table) ){
        $tables = $table;
      }
      if ( \is_array($tables) ){
        foreach ( $tables as $t ){
          $full = $this->tfn($t);
          $r[$full] = $this->_get_cache($full, 'columns', $force);
        }
        if ( \count($r) === 1 ){
          return end($r);
        }
        return $r;
      }
      return null;
    }
code_tokens: public function modelize ( $ table = null , bool $ force = false ) : ? array { $ r = [ ] ; $ tables = false ; if ( empty ( $ table ) || $ table === '*' ) { $ tables = $ this -> get_tables ( $ this -> current ) ; } else if ( \ is_string ( $ table ) ) { $ tables = [ $ table ] ; } else if ( \ is_array ( $ table ) ) { $ tables = $ table ; } if ( \ is_array ( $ tables ) ) { foreach ( $ tables as $ t ) { $ full = $ this -> tfn ( $ t ) ; $ r [ $ full ] = $ this -> _get_cache ( $ full , 'columns' , $ force ) ; } if ( \ count ( $ r ) === 1 ) { return end ( $ r ) ; } return $ r ; } return null ; }
docstring: Return the table's structure as an indexed array.
  
  ```php
  \bbn\x::dump($db->modelize("table_users"));
  // (array) [keys] => Array ( [PRIMARY] => Array ( [columns] => Array ( [0] => userid [1] => userdataid ) [ref_db] => [ref_table] => [ref_column] => [unique] => 1 )     [table_users_userId_userdataId_info] => Array ( [columns] => Array ( [0] => userid [1] => userdataid [2] => info ) [ref_db] => [ref_table] => [ref_column] =>     [unique] => 0 ) ) [cols] => Array ( [userid] => Array ( [0] => PRIMARY [1] => table_users_userId_userdataId_info ) [userdataid] => Array ( [0] => PRIMARY [1] => table_users_userId_userdataId_info ) [info] => Array ( [0] => table_users_userId_userdataId_info ) ) [fields] => Array ( [userid] => Array ( [position] => 1 [null] => 0 [key] => PRI [default] => [extra] => [signed] => 1 [maxlength] => 11 [type] => int ) [userdataid] => Array ( [position] => 2 [null] => 0 [key] => PRI [default] => [extra] => [signed] => 1 [maxlength] => 11 [type] => int ) [info] => Array ( [position] => 3 [null] => 1 [key] => [default] => NULL [extra] => [signed] => 0 [maxlength] => 200 [type] => varchar ) )
  ```
  
  @param null|array|string $table The table's name
  @param bool $force If set to true will force the modelization to reperform even if the cache exists
  @return null|array
docstring_tokens: Return the table s structure as an indexed array .