Answers for "how to get last value knex in postgresql"

0

how to get last value knex in postgresql

const getPoinLocationName = await db('profie').select(
 db.raw('last_value("name") over(order by created_at desc) as name')
)
Posted by: Guest on April-28-2021

Code answers related to "how to get last value knex in postgresql"

Code answers related to "Javascript"

Browse Popular Code Answers by Language