method deleteUser documentation in bbn\Db\Languages\Pgsql
Deletes a database user
function(string $user)
{
if (bbn\Str::checkName($user)) {
$this->rawQuery("REVOKE ALL PRIVILEGES ON ALL TABLES IN SCHEMA \"public\" FROM $user");
return (bool)$this->rawQuery("DROP USER $user");
}
return false;
}
Deletes a database user BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way