Cara Mendapatkan Nilai Terakhir Knex di PostgreSQL

const getPoinLocationName = await db('profie').select(
 db.raw('last_value("name") over(order by created_at desc) as name')
)
Restu Wahyu Saputra