Closed mataide closed 6 years ago
.where()
is for range key conditions, which do not support .exists()
(keys must exist, so this query would be redundant). gameId
isn't even a key for this object, so you can't use .where()
on it.
You want .filter('gameId').exists()
.
I got this error when try to do the follow query:
Query:
Error:
Room.query(...).usingIndex(...).where(...).exists is not a function
Object: