text: 
  const Database = require('../db/config')
  /*
   * Declarado o objeto profile para injeção do JS direto no html utilizando EJS exemplo utilizado no profile
   * Obs: quando utilizar o objeto se o nome conter um "-" devera colocar com aspas.
  */
  
  //variaveis "let" pode ser alterado valores diferente de "const"
  
  module.exports = {
      async get() {
          const db = await Database()
          const data = await db.get(`SELECT * FROM profile`)
          await db.close()      
  
          return  {
                  name: data.name,
                  avatar: data.avatar,
                  "monthly-budget": data.monthly_budget,
                  "days-per-week": data.days_per_week,
                  "hours-per-day": data.hours_per_day,
                  "vacation-per-year": data.vacation_per_year,
                  "value-hours": data.value_hours
          };
      },
  
      async update(newData) {
          const db = await Database()
          
          db.run(`UPDATE profile SET 
                  name = "${newData.name}",
                  avatar = "${newData.avatar}",
                  monthly_budget = ${newData["monthly-budget"]},
                  days_per_week = ${newData["days-per-week"]},
                  hours_per_day = ${newData["hours-per-day"]},
                  vacation_per_year = ${newData["vacation-per-year"]},
                  value_hours = ${newData["value-hours"]}
          `)
  
  
          await db.close()
      },
  }