Request Details

it would be nice to be able to write subscriptions that subscribe to multiple tables at once with conditions that link them. something like:

"SELECT * FROM auction_listing as AL, user_name as UN, item_lookup as IL WHERE AL.cathegory = 'Weapon' LINK AL.entity_id = UN.entity_id, AL.item_id = IL.item_id"

and it is like writing 3+ separate subscriptions and returns the rows of the 3 tables where the link and where condition matches.
the problem currently is that it is a pain to get related data from multiple tables without opening potentially hundreds to thousands of subcriptions per client.

Requested by @xDovos via the SpacetimeDB site.

  1. website-features added the feature-request label Jun 3, 2026
  2. cloutiertyler renamed to "Multi-table subscription" Jun 3, 2026

Reopen this request?

The request will return to its prior live status.

Mark as Duplicate

Pick the request that Multi-table subscription is a duplicate of. Energy rolls up into that request and GitHub closes the linked issue as a duplicate with a timeline reference to the canonical.

Unmark Duplicate

Restore as an independent request. The linked GitHub issue will be reopened and its duplicate-of relationship cleared. The original timeline entries stay as history; the note below is posted as a follow-up comment.