PostgresNIO Documentation

Structure Postgres​Cell

public struct PostgresCell: Equatable  
%31 PostgresCell PostgresCell Equatable Equatable PostgresCell->Equatable

Conforms To

Equatable

Properties

bytes

public var bytes: ByteBuffer? 

data​Type

public var dataType: PostgresDataType

format

public var format: PostgresFormat

column​Name

public var columnName: String

column​Index

public var columnIndex: Int

Methods

decode(_:​context:​file:​line:​)

@inlinable
    public func decode<T: PostgresDecodable, JSONDecoder: PostgresJSONDecoder>(
        _: T.Type,
        context: PostgresDecodingContext<JSONDecoder>,
        file: String = #file,
        line: Int = #line
    ) throws -> T