Viktorani API - v0.0.8
    Preparing search index...

    Function removePlayerFromTeam

    • Remove playerId from team.playerIds AND teamId from player.teamIds in a single atomic transaction.

      Safe to call when the relationship does not exist — idempotent.

      Parameters

      • playerId: string
      • teamId: string

      Returns Promise<void>