Electric Shapes

Configure ShapeStream and Shape to sync a Postgres table to the client. Covers ShapeStreamOptions (url, table, where, columns, replica, offset, handle), custom type parsers (timestamptz, jsonb, int8), column mappers (snakeCamelMapper, createColumnMapper), onError retry semantics, backoff options, log modes (full, changes_only), requestSnapshot, fetchSnapshot, subscribe/unsubscribe, and Shape materialized view. Load when setting up sync, configuring shapes, parsing types, or handling sync errors.

electric-sql Updated

File contents

electric-sql/electric/tree/main/packages/typescript-client/skills/electric-shapes commit 12d3c0fd03

Frequently asked questions

npx skillmds@latest add electric-sql/electric-shapes-2