method getUniquePrimary documentation in bbn\Db
Return the unique primary key of the given table.
Example
X::dump($db->getUniquePrimary('table_users'));
// (string) id
function(string $table)
{
if (method_exists($this->language, 'getUniquePrimary')) {
return $this->language->getUniquePrimary($table);
}
return null;
}
Return the unique primary key of the given table. 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