Database Nodes (Not Supported)

Postgres, MySQL, Redis, and MongoDB cannot run on Cloudflare Workers. Use HTTP-based alternatives.

Written By pvdyck

Last updated 21 minutes ago

Database Nodes (Not Supported)

The following database nodes are not supported on indie.money:

  • Postgres - MySQL - Redis - MongoDB - Microsoft SQL - SQLite

Why Not Supported

These database nodes are not supported by design. All database clients (pg, mysql2, redis, mongoose) depend on Node.js-specific TCP socket APIs that are not available in the Cloudflare Workers runtime. Use HTTP-based database APIs instead.

Workarounds

Use CaseAlternative Read/write PostgresUse Supabase REST API via HTTP Request + Secure Vault Supabase integration Read/write any SQL DBUse a REST API wrapper (e.g., PostgREST, Hasura) and call via HTTP Request Key-value storageUse Memory Buffer Window (1-hour TTL) or an HTTP-based KV store MongoDBUse MongoDB Atlas Data API via HTTP Request node

Related