You need to call update  on the instance of the db  model:   for eg:     const address= {   "addressInfo" : {            "permanent" : {                "district" :  "Morang" ,                "city" :  "Biratnagar" ,                "wardNo" :  "03" ,                "toleName" :  "Gaurigunj"           },            "current" : {                "district" :  "Kathmandu" ,                "city" :  "Lazimpat" ,           ...
 
Comments
Post a Comment