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

    Function addPlayerToTeam

    • Add playerId to team.playerIds AND teamId to player.teamIds in a single atomic transaction.

      Safe to call when the relationship already exists — idempotent.

      Parameters

      • playerId: string
      • teamId: string

      Returns Promise<void>