Hi, I would like to query a document based on its id, in javascript. But I'm still failing.
I've tried with equals to "id" and "$id" so far.
And I'm getting an error "AppwriteException: Invalid query: Attribute not found in schema: id"
TL;DR
Developers wanted to query a document based on its ID in JavaScript. They tried using "id" and "$id" but kept getting an error. The solution was to use "$id" for the query, but the page needed to be reloaded for it to work correctly.