Instance Property
eventLoop
The
EventLoop used for asynchronous operations on a given database.var eventLoop: any EventLoop { get }
Discussion
If there is no specific EventLoop which handles the database (such as because it is a connection pool which assigns loops to connections at point of use, or because the underlying implementation is based on Swift Concurrency or some other asynchronous execution technology), a single consistent EventLoop must be chosen for the database and returned for this property nonetheless.
See Also
Properties
var logger: LoggerTheLoggerused for logging all operations relating to a given database.var version: (any SQLDatabaseReportedVersion)?The version number the database reports for itself.var dialect: any SQLDialectThe descriptor for the dialect of SQL supported by the given database.var queryLogLevel: Logger.Level?The logging level used for reporting queries run on the given database to the database’s logger. Defaults to.debug.