| Package | Description |
|---|---|
| me.lucko.helper.sql | |
| me.lucko.helper.sql.plugin |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseCredentials |
DatabaseCredentials.fromConfig(org.bukkit.configuration.ConfigurationSection config) |
DatabaseCredentials |
SqlProvider.getGlobalCredentials()
Gets the global database credentials being used for the global datasource.
|
static DatabaseCredentials |
DatabaseCredentials.of(String address,
int port,
String database,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
HelperDataSource |
SqlProvider.getDataSource(DatabaseCredentials credentials)
Constructs a new datasource using the given credentials.
|
static HelperDataSource |
HelperDataSource.usingHikari(DatabaseCredentials credentials) |
| Modifier and Type | Method and Description |
|---|---|
DatabaseCredentials |
SqlPlugin.getGlobalCredentials() |
| Modifier and Type | Method and Description |
|---|---|
HelperDataSource |
SqlPlugin.getDataSource(DatabaseCredentials credentials) |
| Constructor and Description |
|---|
HikariWrapper(DatabaseCredentials credentials) |
Copyright © 2017. All rights reserved.