Is there any way to add default value to relationship attribute, If relationship doc deleted It will automatically fill the default relationship document value??
TL;DR
The user is asking if it's possible to have a default value for a relationship attribute and have it automatically fill in with the default value if the relationship document is deleted. They suggest using a function to achieve this.