Open thearabbit opened 9 years ago
Now I try the more the 2 level relations like this
1- Address Collection (_id, name) 2- Customer Collection (_id, name, gender, addressId) 3- Order Collection (_id, orderDate, customerId)
And then I use
Customer.cacheDoc('address', Address, ['name'], {referenceField: 'addressId'}); Order.cacheDoc('customer', Customer, ['name', 'gender', '_address'], {referenceField: 'customerId'});
Order
Address
['name' ,'gender'] but don't removed ['_address'] field from
Waiting for fix this... :+1:
Sorry for the late reply. Is this still an issue for you or have you been able to resolve it?
Now I try the more the 2 level relations like this
And then I use
Order
, if I update/remove the firstAddress
. It removed['name' ,'gender'] but don't removed ['_address'] field from
Order`.