I have a JSON column type called data with the following value:
{"name": "tester", "email": "[email protected]"}
I can utilize these values via data->name etc.
However, if I try to access an unknown parameter like data->phone, I get an unknown parameter error because that particular parameter does not exist.
How can I query this so that it will default to null if I try to access a parameter that does not exist?