Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fawn unable to save createdAt #83

Open
pallabpki opened this issue May 19, 2020 · 0 comments
Open

Fawn unable to save createdAt #83

pallabpki opened this issue May 19, 2020 · 0 comments

Comments

@pallabpki
Copy link

pallabpki commented May 19, 2020

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
      })
   })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant