Adonis Siapkan Create
import User from 'App/Models/User'
const user = new User()
// Assign username and email
user.username = 'virk'
user.email = '[email protected]'
// Insert to the database
await user.save()
console.log(user.$isPersisted) // true
GutoTrosla