What's the correct import statement like this: from appwrite.services.storage import Storage. Can't find info on this in the docs. Would appreciate any help
I seem to have figured it out. Should I have the query like this? It's throwing an index not found error for email:
res = databases.list_documents(databaseID, collectionFilesID, [query.equal("email", [email])])
If anyone is facing this issue, you need to first index the attribute.
[SOLVED] How can I use query in python
Recommended threads
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...