[Announce] SurrealDB nodes for Node‑RED (with Live Queries)

  • Node-RED nodes for SurrealDB covering connection, queries, CRUD, and live queries.
  • Uses the official surrealdb client (not the deprecated surrealdb.js).
  • Live Query support via WebSocket RPC endpoint.

What’s Included

  • surrealdb-config
    • Connection settings: URL, namespace, database
    • Auth: user/password or token
  • surrealdb-query
    • Run arbitrary SurrealQL from a node field or msg.query
    • Supports variables from msg.vars
  • surrealdb-record
    • CRUD helpers: select, create, update, merge, delete
    • Table and optional record id (config or msg.id)
  • surrealdb-live
    • Subscribe to live updates on a table or via a custom LIVE SELECT
    • Emits change events as they happen
    • Control via msg.action = start | stop | restart

Feedback Welcome

  • Repo: node-red-contrib-surrealdb (GitHub)
  • Please try it out and share feedback, issues, or feature requests—especially around live query behavior and query/CRUD ergonomics.
2 Likes

Nice work thank you! I take it that this ‘only’ a client and still requires a surrealdb server? (As surrealdb could be running with a local file as well, or at least it could)

Yes, no embedded option yet