Skip to content

Instance Method

query(_:_:_:)

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

Discussion

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