Skip to content

Multi-table JOIN UPDATE/DELETE across shards #32

@renecannao

Description

@renecannao

MySQL-specific syntax like:

UPDATE users u JOIN orders o ON u.id = o.user_id SET u.status = 'vip' WHERE o.total > 1000

where users and orders are on different backends.

Requires: execute JOIN locally, extract affected PKs, generate per-backend UPDATE WHERE pk IN (...).

Lower priority — the common case (DML with subquery in WHERE) is handled by cross-shard subquery materialization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions