Clearing data!
Done!
---
Creating Bob Doe!
---
Darnit, "Bob" or "Doe" is taken!
Darnit, "Bob" or "Foo" is taken!
Creating Bar Foo!
---
Darnit, "Bob" or "Doe" is taken!
Darnit, "Bob" or "Foo" is taken!
Darnit, "Bar" or "Foo" is taken!
Creating Jane Boo!
---
Darnit, "Bob" or "Doe" is taken!
Darnit, "Bob" or "Foo" is taken!
Darnit, "Bar" or "Foo" is taken!
Darnit, "Jane" or "Boo" is taken!
We're all out of luck!
---
Data in the datastore:
MyModel: Jane Boo
MyModel: Bob Doe
MyModel: Bar Foo
UniqueConstraint: MyModel → unique-values → first:Bar
UniqueConstraint: MyModel → unique-values → first:Bob
UniqueConstraint: MyModel → unique-values → first:Jane
UniqueConstraint: MyModel → unique-values → last:Boo
UniqueConstraint: MyModel → unique-values → last:Doe
UniqueConstraint: MyModel → unique-values → last:Foo