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
- Auth broken after update from 1.8.0 to 1...
So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user...
- Magic Link woes/noob
Magic Link is working; it sends the link to my email. But the link itself always leads to "Page Not Found. The page you're looking for doesn't exist". Clicking ...
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...