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
loggerTheLoggerused for logging all operations relating to a given database.versionThe version number the database reports for itself.dialectThe descriptor for the dialect of SQL supported by the given database.queryLogLevelThe logging level used for reporting queries run on the given database to the database’s logger. Defaults to.debug.