Interface Row<JSONType, Format>

interface Row<JSONType, Format> {
    text: string;
    json<T>(): RowJSONType<T, Format>;
}

Type Parameters

  • JSONType = unknown
  • Format extends DataFormat | unknown = unknown

Properties

Methods

Properties

text: string

A string representation of a row.

Methods

  • Returns a JSON representation of a row. The method will throw if called on a response in JSON incompatible format. It is safe to call this method multiple times.

    Type Parameters

    Returns RowJSONType<T, Format>