[SOLVED] How can I retrieve data of the document on nodejs Server SDK?
- 0
- Resolved
- Self Hosted
- Databases
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
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...
- Console display all Databases as TablesD...
While looking at an issue with <@1231860789355347971> we saw that the console was displaying ALL databases as `TablesDB` even if the real type in the API is `le...