Answers for "typeorm find with limit"

0

typeorm find with limit

// the FindManyOptions's limit option is called 'take'
repository.find( { 
  order: { created: "DESC" }, // order results
  take: 1 // limit 1
} )
Posted by: Guest on August-04-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language