Structure
PostgresRowSequence
An async sequence of
PostgresRows.struct PostgresRowSequence
Overview
Note
This is a struct to allow us to move to a move-only type easily once they become available.
Topics
Instance Properties
var columns: PostgresColumnsAPostgresColumnscollection containing metadata about the columns in the query result.
Instance Methods
func collect() async throws -> [PostgresRow]func makeAsyncIterator() -> PostgresRowSequence.AsyncIteratorCreates the asynchronous iterator that produces elements of this asynchronous sequence.
Type Aliases
typealias ElementThe type of element produced by this asynchronous sequence.
Default Implementations
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype_Concurrency.AsyncSequence
See Also
struct PostgresQueryA Postgres SQL query that can be executed on a Postgres server. Contains the raw SQL string and bindings.struct PostgresBindingsstruct PostgresRowPostgresRowrepresents a single table row that is received from the server for a query or a prepared statement. Its element type isPostgresCell.struct PostgresColumnsA collection ofPostgresColumncolumn metadata for a PostgreSQL query result.struct PostgresColumnMetadata for a single column in a PostgreSQL query result.struct PostgresRandomAccessRowA random access row ofPostgresCells. Its initialization is O(n), where n is the number of columns in the row. All subsequent cell accesses are O(1).struct PostgresCellA representation of a cell value within aPostgresRowandPostgresRandomAccessRow.struct PostgresQueryMetadata