Skip to main content
Mount @bijectionhq/app-rest once per relation. Use the HTTPS coordinator origin and a database principal restricted to the relation. The engine runs the queries.
app.ts
The two receivers share one credential. Bind them and the mount under the same data label. Set origin to the same HTTPS origin used for the receiver pair, without a trailing slash. Presto uses the Presto user header. Trino and Starburst use the Trino user header.
Use presto.sql.observations for PrestoDB or starburst.sql.observations for Starburst. Declare one unique, non-null bigint key and up to fifteen additional columns. The key is carried as decimal text. Project wide numeric values as text in the source relation when their ordinary JSON representation loses precision. Each SELECT returns up to 32 rows across its replies. Each reply is bounded by 36 KiB. Progress commits the query ID, coordinator continuation route and exclusive key with the page. The connector follows only direct statement routes on the same origin and query. It advances to another statement once a full result ends. A short result ends the sweep. Queries can observe changes between statements, and missing rows remain. A rejected continuation with HTTP 404 or 410 records a gap and requires an authorized reset. Set a query runtime and scan limit on the provider for this reader. Spooling and coordinator redirects are outside the direct protocol supported here. Trino protocol · Presto protocol · Starburst direct protocol