You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hence the countryCode is the hash for both GSI tables, Whenever I write ***ByCountryCode it automatically behaves like I only query for GSI-1. How can I access to second GSI table?
I expected to specify the GSI somehow but I couldn't find it.
The text was updated successfully, but these errors were encountered:
I have a main Player table and two gsi tables demonstrated below:
Player
Partition Key - PlayerId
Attribute - ScoreType1
Attribute - ScoreType2
Attribute - IsoCountryCode
GSI-1
Partition Key - Country
Sort Key - ScoreType1
Attribute - PlayerId
GSI-2
Partition Key Country
Sort Key ScoreType2
Attribute PlayerId
I wrote entity class by giving both GSI's names into
globalSecondaryIndexNames
,and repository:
Hence the countryCode is the hash for both GSI tables, Whenever I write ***ByCountryCode it automatically behaves like I only query for GSI-1. How can I access to second GSI table?
I expected to specify the GSI somehow but I couldn't find it.
The text was updated successfully, but these errors were encountered: