ÃÛ¶¹ÊÓƵ

Object functions

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.

Is null

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()

Is not null

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()

Next steps

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.

recommendation-more-help
770bc05d-534a-48a7-9f07-017ec1e14871