Prisa Query doesn´t find the data in my DB
I have this Schema
I use this query
always get false as a return. Even when the data is in the DB.
I have even try this query:
but i get null in retyrn. And i know I have the data in my DB
Can anyone suggest why this isnt working?
My understanding:
@@unique([clanTag, seasonYear, seasonMonth]) means that the group is a unique id. The combination of the data on the keys is what make the row unique.
if I have the following row in my table with the following data:
clanTag: hippa6
seasonYear: 2024
seasonMonth: 06
And I want to add a new row with the following data:
clanTag: hippa6
seasonYear: 2024
seasonMonth: 05 <--
It would work becuase it has 05 and not 06.
![No description](https://cdn.answeroverflow.com/1254477852997586956/Screenshot_2024-06-23_at_18.46.44.png)
0 Replies