Structure
PostgresRow
PostgresRow represents a single table row that is received from the server for a query or a prepared statement. Its element type is PostgresCell.struct PostgresRow
Mentioned in
Overview
Warning
Please note that random access to cells in a PostgresRow has O(n) time complexity. If you require random access to cells in O(1), create a new PostgresRandomAccessRow with the given row and access it instead.
Topics
Instance Properties
Instance Methods
func column(String) -> PostgresData?func decode(_:context:file:line:)func decode(_:file:line:)func makeRandomAccess() -> PostgresRandomAccessRow
Default Implementations
Relationships
Conforms To
Swift.CollectionSwift.CopyableSwift.CustomStringConvertibleSwift.EquatableSwift.EscapableSwift.SendableSwift.SendableMetatypeSwift.Sequence
See Also
struct PostgresQueryA Postgres SQL query that can be executed on a Postgres server. Contains the raw SQL string and bindings.struct PostgresBindingsstruct PostgresRowSequenceAn async sequence ofPostgresRows.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