给定以下数据模型,是否有一种方法可以在不更新(现有)子对象的情况下更新或设置子关系?{ }码let existingDog = realm.objectForPrimaryKeycreate new dog and person
let newDog = Dog(value: ["id": 42, &quo
我正在尝试使用Contact Picker结果更新现有的领域记录。该函数删除除新内容之外的所有对象内容。picker: CNContactPickerViewController, didSelect contact: CNContact) { let person = Person()
let me = realm.objects(Person.self).filter("mobileNumb