Skip to content

Instance Method

execute(_:logger:file:line:)

iOS 16.0+ macOS 13.0+ tvOS 16.0+ watchOS 9.0+
Execute a prepared statement, taking care of the preparation when necessary.
func execute<Statement, Row>(_ preparedStatement: Statement, logger: Logger? = nil, file: String = #fileID, line: Int = #line) async throws -> AsyncThrowingMapSequence<PostgresRowSequence, Row> where Statement : PostgresPreparedStatement, Row == Statement.Row