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
Given those, I have user_a as an instance of User. I want to fetch all users in database that are not in a battle with given user_a.
I tried to execute the following query:
It's possible that I am not doing the query correctly, so I'd like some feedback to know if it's that the case or there is something that is not working properly in the library.
Thanks!
The text was updated successfully, but these errors were encountered:
Discussed in #1086
Originally posted by satinfive May 21, 2023
Hi!
I am not sure if I am doing things right, that's why I wanted to ask before opening this as an issue.
I have defined two models:
Battle
andUser
:Given those, I have
user_a
as an instance of User. I want to fetch all users in database that are not in a battle with givenuser_a
.I tried to execute the following query:
But I am getting all the time
KeyError: player1
.It's possible that I am not doing the query correctly, so I'd like some feedback to know if it's that the case or there is something that is not working properly in the library.
Thanks!
The text was updated successfully, but these errors were encountered: