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
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...