Alternative (Default value)
This operator is used to provide alternative (or default) values when a particular expression is either null or false.
LHS is defined
Given a sample.yml file of:
then
will output
LHS is not defined
Given a sample.yml file of:
then
will output
LHS is null
Given a sample.yml file of:
then
will output
LHS is false
Given a sample.yml file of:
then
will output
RHS is an expression
Given a sample.yml file of:
then
will output
Update or create - entity exists
This initialises a
if it's not present
Given a sample.yml file of:
then
will output
Update or create - entity does not exist
This initialises a
if it's not present
Given a sample.yml file of:
then
will output
Last updated