
Hi! I'm testing the realtime in web, and it works flawlessly. I call for an specific ID in the collection, so the document is the only thing I'm subscribing at, but the relationships defined in the DB are not present in that change, nor does it triggers the change when the a related entry gets created or updated. Is this expected? or is there a way to configure this differently? I could not find any docs about this particular topic.
export const subscribe = async (collection: string, document: string) => {
const unsubscribe = await client.subscribe(
`databases.${
DBID as any
}.collections.${collection}.documents.${document}`,
(response) => {
console.log('hello', response);
}
);
return unsubscribe;
};
In the payload Im expecting the object.
{ ...myData, messages (the relationship) }
But only get { ...myData }
Thanks in advance!
Recommended threads
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
