Documentation Index
Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
Use this file to discover all available pages before exploring further.
PostgresResource connects to Postgres via a DSN and exposes its schemas and tables as a tree.
Setup steps for the DSN and required permissions live at Postgres Credentials.
Node
Browser
@neondatabase/serverless. The browser examples include a Vite plugin that wires the resource to a server-side pg client:
Config
| Field | Default | Notes |
|---|---|---|
dsn | required | Postgres connection string. Redacted in snapshots. |
schemas | none | Optional list to limit which schemas appear in the tree. |
defaultRowLimit | 1000 | Default LIMIT applied to ad-hoc reads. |
maxReadRows | 10_000 | Hard ceiling per read. |
maxReadBytes | 10 MiB | Hard ceiling per read. |
defaultSearchLimit | 100 | Default LIMIT for search-style queries. |
Mount mode
read only. Postgres mounts are read-only at the resource level.