Answers for "how to save data and return data in adonis js"

0

how to save data and return data in adonis js

const user = new User()
user.hobby = "basketball"
user.age = 12

await user.save()

return User.findOrFail(user.id)
Posted by: Guest on January-06-2021

Code answers related to "how to save data and return data in adonis js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language