OCLOperators IsNew
Created by Lars.olofsson on 2018-04-10 · Last edited by Peter.byaruhanga on 2025-12-11.
The IsNew operator returns true if the object has never been saved to the database.
Example
Using Class Fruit as an example
Fruit.allInstances->first.IsNew