The example provided in the docs here has an example of what looks like a one to many (by passing a nested array of documents)
https://appwrite.io/docs/products/databases/relationships#create-documents
Does this mean to create a one to many, and assuming an arbitrary attribute key name relation_name, would you post a document in the shape of an object or just the id?
psuedo payload in yaml below:
name: My Object Name
random_boolean_attribute: true
relation_name:
$id: related_object_id
versus
name: My Object Name
random_boolean_attribute: true
relation_name: related_object_id
Recommended threads
- Setup Permissions to only allow resource...
I would like to know how you do this in Appwrite Databases. Any ideas?
- Custom Domains with Cloudflare for SaaS ...
Hi! I'm using Appwrite Cloud Sites with Cloudflare for SaaS for multi-tenant custom domains. Problem: Custom domain: donate.pekeetong.my → CNAME to sites.dono...
- DNS Not Working
Ok so I have my website, but when I try to use a subdomain of that on another site in appwrite, it just gets stuck at generating certtificate, fails every time....