Ranges

Can anyone please explain

queryBuildRange.status(RangeStatus::Locked);

What is Range Status and if it is locked …what it does.

Please explain what it actually performs.

Regards

Manjusha.D

Hi Manjusha,

If u want to add a range in a query where the value of the field must not be empty then we u use RangeStatus::Locked.

Like this way

queryBuildRange.value(<some value>)

queryBuildRange.status(RangeStatus::Locked)

It doesnot really make it mandatory. Rather it will lock the range for any update during the execution.

It is generally used if a field that is used a range has a default value and should not be updated…

thanks