method createUser documentation in bbn\Db\SqlEngines

Creates a database user

function(string $user, string $pass, string $db = NULL) { /** * Deletes a database user * * @param string $user * @return bool */ public function deleteUser(string $user): bool; /** * Return an array including privileges of a specific db_user or all db_users. * * @param string $user * @param string $host * @return array */ public function getUsers(string $user = '', string $host = ''): ?array; /** * Renames the given table to the new given name. * * @param string $table The current table's name * @param string $newName The new name. * @return bool True if it succeeded */ public function renameTable(string $table, string $newName): bool; /** * Returns the comment (or an empty string if none) for a given table. * * @param string $table The table's name * * @return string The table's comment */ public function getTableComment(string $table): string; /** * Creates the given column for the given table. * * @param string $table * @param string $column * @param array $col * @return bool */ public function createColumn(string $table, string $column, array $col): bool; /** * Drops the given column for the given table. * * @param string $table * @param string $column * @return bool */ }

Creates 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.