Is there a clean, built-in way to directly reference the value of node data over a database trigger? I understand that I can get a parent reference that I could request for a value, but if there was a more concise way to do this, that would be a big thank you.
For clarity, I want to use the node child element inside the object as a trigger, and when it occurs, immediately get the value of the parent object to avoid calling the function when making other changes to the parent object like this:
const parentObject = {
triggerValue: 'I want the function to be triggered only on writes to this path',
parentValue: 'But I also want this value',
}
thank
source
share