Type alias QueryResult<Format>

QueryResult<Format>: IsSame<Format, DataFormat> extends true
    ? ResultSet<unknown>
    : ResultSet<Format>

If the Format is not a literal type, fall back to the default behavior of the ResultSet, allowing to call all methods with all data shapes variants, and avoiding generated types that include all possible DataFormat literal values.

Type Parameters

Generated using TypeDoc