method deleteUser documentation in bbn\Db\Languages\Mysql

Deletes a database user

function(string $user) { if (bbn\Str::checkName($user)) { $host = $this->getHost(); $this->rawQuery("REVOKE ALL PRIVILEGES ON *.* FROM '$user'@'$host'"); return (bool)$this->rawQuery("DROP USER '$user'@'$host'"); } 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

This website uses cookies to ensure you get the best experience on our website.