Uses of Class
io.github.coho04.mysql.entities.Database
-
Uses of Database in io.github.coho04.mysql
Modifier and TypeMethodDescriptionMYSQL.getDatabase
(String name) Retrieves a Database object with the given name.MYSQL.getOrCreateDatabase
(String name) Retrieves an existing Database object with the given name or creates a new one if it doesn't exist.Modifier and TypeMethodDescriptionMYSQL.getDatabases()
Retrieves a list of databases from the MySQL server.Modifier and TypeMethodDescriptionvoid
MYSQL.switchDatabase
(Database database) Switches the current database to the specified database. -
Uses of Database in io.github.coho04.mysql.entities
Modifier and TypeMethodDescriptionColumn.getDatabase()
Retrieves the Database object associated with this Column.Row.getDatabase()
Retrieves the database associated with this Row.Table.getDatabase()
Retrieves the database associated with the table.Modifier and TypeMethodDescriptionvoid
User.removePermissionToDatabase
(Permissions PERMISSION, Database database) Removes the specified permissions from the user for the given database.void
User.setPermissionToDatabase
(Permissions permissions, Database database) Sets the specified permissions to the given database for the current user.