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
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...