Package | Description |
---|---|
com.glyart.mystral.database |
Contains the implementations of the main functionalities of this library.
|
Modifier and Type | Method and Description |
---|---|
static @NotNull Database |
Mystral.newDatabase(@NotNull Credentials credentials)
Creates a new Database with the given Credentials.
|
static <T extends DataSource> |
Mystral.newDatabase(@NotNull DataSourceFactory<T> factory)
Creates a new Database with the given DataSourceFactory.
|
Modifier and Type | Method and Description |
---|---|
Optional<Database> |
AsyncDatabase.getDatabase()
Returns the Database class instance which wraps the given DataSource's instance.
|
Copyright © 2021. All rights reserved.