method fmodelize documentation in bbn\Db\Languages\Sql

function(string $table = '', bool $force = false) { if ($res = $this->modelize(...\func_get_args())) { foreach ($res['fields'] as $n => $f){ $res['fields'][$n]['name'] = $n; $res['fields'][$n]['keys'] = []; if (isset($res['cols'][$n])) { foreach ($res['cols'][$n] as $key){ $res['fields'][$n]['keys'][$key] = $res['keys'][$key]; } } } return $res['fields']; } return null; }

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.