View Source Electric.Shapes.Querying (electric v1.0.0-beta.19)

Summary

Functions

Streams the initial data for a shape. Query results are returned as a stream of JSON strings, as prepared on PostgreSQL.

Types

@type json_iodata() :: iodata()
@type json_result_stream() :: Enumerable.t(json_iodata())

Functions

Link to this function

stream_initial_data(conn, stack_id, shape, chunk_bytes_threshold \\ LogChunker.default_chunk_size_threshold())

View Source

Streams the initial data for a shape. Query results are returned as a stream of JSON strings, as prepared on PostgreSQL.