Skip to content

Instance Method

query(_:_:_:)

Convenience method for calling query(_:_:logger:_:) with the connection’s logger.
@preconcurrency func query(_ query: String, _ binds: [SQLiteData] = [], _ onRow: @escaping @Sendable (SQLiteRow) -> Void) -> EventLoopFuture<Void>

Discussion

Callers are strongly encouraged to always use this method or its async equivalent (query(_:_:_:)) instead of the protocol requirement.