DatabaseClientConfig
Configuration interface for DatabaseClient behavior.
This interface defines settings for SQL transformation, batch validation, logging, and transaction handling. Use the database-specific factory functions (e.g., PgDatabaseClientConfig(), MysqlDatabaseClientConfig()) to create instances with the correct SQL transformation for each database type.
See also
Properties
Whether to always run some steps that possibly require Exposed transactions in Exposed transactions.
The transaction isolation level used in transaction in DatabaseClient.statementPreparationExposedTransaction.
The provider for Exposed transactions used for SQL statement preparation.
Whether to validate whether the batch statements have the same generated prepared SQL. It's recommended to keep this enabled for tests but disabled for production. Actual performance implications as tested are insignificant.