Typeorm encontrar ordenby
userRepository.find({
where: { name, id },
order: {
name: "ASC",
id: "DESC"
}
});
IT
userRepository.find({
where: { name, id },
order: {
name: "ASC",
id: "DESC"
}
});
userRepository.find({
order: {
name: "ASC",
id: "DESC"
}
});