Skip to content

Fawn unable to save createdAt #83

@pallabpki

Description

@pallabpki

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
      })
   })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions