Profile Query Language (PQL) offers functions to make interaction with objects simpler. More information about other PQL functions can be found in the Profile Query Language overview.
The isNull
function determines if an object reference does not exist as a boolean.
Format
{OBJECT}.isNull()
Example
The following PQL query checks if the person’s home address does not exist.
person.homeAddress.isNull()
The isNotNull
function determines if an object reference exists as a boolean.
Format
{OBJECT}.isNotNull()
Example
The following PQL query checks if the person’s home address exists.
person.homeAddress.isNotNull()
Now that you have learned about object functions, you can use them within your PQL queries. For more information about other PQL functions, please read the Profile Query Language overview.