Purpose
Returns and deletes random domain instance.
Examples
def randomPerson = Person.pop()
Description
Similar to the random
method but deletes the domain instance at the same time.
Returns and deletes random domain instance.
def randomPerson = Person.pop()
Similar to the random
method but deletes the domain instance at the same time.