DatabaseConfig
class in package klyn.databases.entities

    public class DatabaseConfig:

DatabaseConfig

Configuration de la connexion à la base de données.

@example ```klyn config = DatabaseConfig( driver="mariadb", host="localhost", port=3306, database="RagSystem", username="app_user", password="secret" )

Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | database `database as String` | No summary.
public property | driver `driver as String` | No summary.
public property | host `host as String` | No summary.
public property | mapping2ddl `mapping2ddl as String = "update"` | No summary.
public property | password `password as String` | No summary.
public property | poolSize `poolSize as Int = 10` | No summary.
public property | port `port as Int` | No summary.
public property | showSql `showSql as Boolean = false` | No summary.
public property | username `username as String` | No summary.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | DatabaseConfig `DatabaseConfig( driver as String, host as String, port as Int, database as String, username as String, password as String ):` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | buildConnectionString `buildConnectionString() as String:` | No summary.