typeorm temukan dengan batas

// the FindManyOptions's limit option is called 'take'
repository.find( { 
  order: { created: "DESC" }, // order results
  take: 1 // limit 1
} )
ShanK