Structure
PostgresCell
A representation of a cell value within a
PostgresRow and PostgresRandomAccessRow.struct PostgresCell
Mentioned in
Topics
Initializers
Instance Properties
bytesThe cell’s value as raw bytes.columnIndexThe cell’s column index within the row.columnNameThe cell’s column name within the row.dataTypeThe cell’s data type. This is important metadata when decoding the cell.formatThe format in which the cell’s bytes are encoded.
Instance Methods
decode(_:context:file:line:)Decode the cell into a Swift type that conforms toPostgresDecodable.decode(_:file:line:)Decode the cell into a Swift type that conforms toPostgresDecodable.
Relationships
Conforms To
Swift.EquatableSwift.SendableSwift.SendableMetatype
See Also
PostgresQueryA Postgres SQL query that can be executed on a Postgres server. Contains the raw SQL string and bindings.PostgresBindingsPostgresRowPostgresRowrepresents a single table row that is received from the server for a query or a prepared statement. Its element type isPostgresCell.PostgresRowSequenceAn async sequence ofPostgresRows.PostgresColumnsA collection ofPostgresColumncolumn metadata for a PostgreSQL query result.PostgresColumnMetadata for a single column in a PostgreSQL query result.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).PostgresQueryMetadata