module Flux::QueryResult

Overview

Parsers and data structures for working with returned query results.

FIXME support query results containing mutliple schemas

Extended Modules

Defined in:

flux/query_result.cr
flux/query_result/data_type.cr
flux/query_result/row.cr

Instance Method Summary

Instance Method Detail

def parse(string_or_io : String | IO) : Enumerable(Table(Array(String))) #

Parses a response into a set of tables with each row as an Array of Strings.


[View source]
def parse(string_or_io : String | IO, &block : CSV::Row, Array(Column) -> T) : Enumerable(Table(T)) forall T #

Parses a response into a set of tables, using the passed block to map to the record types.


[View source]