They don't match each other.
I am facing issue in forming a query in JS
Votes
1
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
see the issue is that I want only one user can give one response ,
Rank 1: Thread
so I am running query to check if the response is greater than error
☝️
Rank 1: Thread
see I only used appwrite only
Rank 1: Thread
not sdk
What is your appwrite version?
Rank 1: Thread
14.0.1
Your Appwrite instance
Not the package
Rank 1: Thread
this iis happenning due to the query error
You'll see it here
Rank 1: Thread
rest all appwrite features is working
Rank 1: Thread
means?
What version do you see here?
Rank 1: Thread
1.5.5
Rank 1: Thread
???
Rank 1: Thread
@Binyamin
Okay,
You should use listDocument with queries instead of getDocuemnt
Can you explain what you're trying to do?
Rank 1: Thread
As I told I don't want a duplicate entries , so I am running a query to check if the userName exists or not
Rank 1: Thread
in the collection ID
You can set a unique index on that attibute
So Appwrite will prevent you from inserting duplicate entries