// typeorm find example: search with pagination
const video = await connection.getRepository(Video).find({
where: { title: Like(`%${title}%`) },
//relations: { exampleRelation1234: true},
take: Number(limit),
skip: skip,
});
// the FindManyOptions's limit option is called 'take'
repository.find( {
order: { created: "DESC" }, // order results
take: 1 // limit 1
} )