Now you can declare unique constraints as part of the model definition.
Like so:
@Model final class Book {
#Unique<Person>([\.title], [\.author])
var title: String
var author: String
init(title: String, author: String) {
self.title = title
self.author = author
}
}
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: