method getCreate documentation in bbn\Db
Return SQL code for table creation.
Example
X::dump($db->getCreate("table_users"));
/*
(string)
CREATE TABLE `table_users` (
`userid` int(11) NOT NULL,
`userdataid` int(11) NOT NULL,
`info` char(200) DEFAULT NULL,
PRIMARY KEY (`userid`,`userdataid`),
KEY `table_users_userId_userdataId_info` (`userid`,`userdataid`,`info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
function(string $table, array $model = NULL)
{
$this->ensureLanguageMethodExists(__FUNCTION__);
return $this->language->getCreate($table, $model);
}
Return SQL code for table creation. 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.
© 2011-2025
BBN Solutions