ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying pg client for anything not wrapped here.
Execute a SQL statement over the Postgres wire with optional positional
params and return the result rows (pg's result.rows).
Optionalparams: unknown[]Create a streaming SOURCE via CREATE SOURCE <name> <definition>, e.g.
createSource('kafka_src', "FROM KAFKA CONNECTION ... (TOPIC 'events')").
Returns the driver result rows.
Create a MATERIALIZED VIEW (kept incrementally up to date) via
CREATE MATERIALIZED VIEW <name> AS <selectSql>. Returns the driver
result rows.
MaterializeStorewraps apgclient connected to Materialize and exposesquery(sql, params)for reads/DDL, pluscreateSource()andcreateMaterializedView()convenience helpers for the streaming-specific DDL that defines what Materialize keeps incrementally up to date.