Electric.Shapes.Querying (electric v1.0.20)
View SourceSummary
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
@spec stream_initial_data( DBConnection.t(), String.t(), Electric.Shapes.Shape.t(), non_neg_integer() ) :: json_result_stream()
Streams the initial data for a shape. Query results are returned as a stream of JSON strings, as prepared on PostgreSQL.