View Source EdgeDB.Protocol.Enums.IOFormat (EdgeDB v0.1.0)

Data I/O format.

Values:

  • :binary - return data encoded in binary.
  • :json - return data as single row and single field that contains the result set as a single JSON array.
  • :json_elements - return a single JSON string per top-level set element. This can be used to iterate over a large result set efficiently.

Link to this section Summary

Types

t()

Data I/O format.

Link to this section Types

Specs

t() :: :binary | :json | :json_elements | 98 | 106 | 74

Data I/O format.

Values:

  • :binary - return data encoded in binary.
  • :json - return data as single row and single field that contains the result set as a single JSON array.
  • :json_elements - return a single JSON string per top-level set element. This can be used to iterate over a large result set efficiently.