I have two collections 'companies' and 'students'. And in students collection I have a relation of companies. Now I'm not able to figure out how I can create new student using relation from code.
this is the interface for companies: interface Company { company_name: string; company_logo?: string; CTC?: string; job_type: string; desc: string; Roles: string; } I've attached the code that I've wrote along with postman response that I'm giving and getting
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...