Skip to Content
0
Feb 04, 2019 at 01:48 PM

Return PK after saving a model

104 Views

Hello,

Is there a way to get the PK of the model which is saved, e.g in below code I want the PK of address since address does not have a 'code' or 'uid'

 modelService.save(billingAddressModel);

How can I get the PK of billingAddressModel?