Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typeorm find orderby

userRepository.find({
	where: { name, id },
    order: {
        name: "ASC",
        id: "DESC"
    }
});
 
PREVIOUS NEXT
Tagged: #typeorm #find #orderby
ADD COMMENT
Topic
Name
7+6 =