Fawn icon indicating copy to clipboard operation
Fawn copied to clipboard

Fawn unable to save createdAt

Open pallabpki opened this issue 4 years ago • 0 comments

Hi...I am trying to save data but record saving withoit createdAt, and updatedAt. But when I am saving normally it's saving properly.

{
    timestamps: true
}

Already added in Schema //Fawn

new Fawn.Task()
   .save('employees', employee)
   .save('employeedetails', employeeDetails)
   .run({ useMongoose: true })
   .then(function (retult) {
      res.send({
         retult
      })
   })

pallabpki avatar May 19 '20 05:05 pallabpki