Skip to main content
Mount @bijectionhq/app-sql once per relation. Use the PostgreSQL wire endpoint published by your MotherDuck region and pass the receiver as provider.
Seal a scoped MotherDuck read token in this receiver credential. Bind the receiver and the mount under the same data label and initialize the source. The wire requires direct verified TLS on port 5432.
The path names the database, schema and relation. Supply one unique, non-null BIGINT key and up to fifteen projected columns. DuckDB SQL runs in MotherDuck. It casts projected values to text, preserving nulls and the exact decimal key. Record keys are one-element JSON arrays of decimal text. Each answer carries up to 32 rows and 48 KiB of encoded result data. The next page reads strictly above the last committed key. Each SELECT can observe concurrent changes. Sweeps start again after the final page, and missing keys remain. Change the installed incarnation after a relation replacement or token rebind to a different underlying share. An embedded DuckDB file needs a separately supported receiver service. MotherDuck PostgreSQL wire endpoint