Move, rename and remove fields
Moving fields
// Assuming the following structure:
// User { id, firstName, lastName, addressId }
// Address { id, streetName, streetNumber, city, countryId }
// Country { id, name }
userCollection
.importField('city', { path: 'address:city', readonly: true })
.importField('country', { path: 'address:country:name', readonly: true });Renaming and removing fields and relations
Last updated