Models.Document interface doesn't have 'data' property and I couldnt' find any example about it. Should I extends the interface to make my own document model and typecast it to access to the data?
yes, extend the document model and include the attributes for your collection
Super! Thank you very much! It helped a lot!
[SOLVED] How can I retrieve data of the document on nodejs Server SDK?
Recommended threads
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...