Skip to content
Advertisement

Tag: nestjs

How do I translate this SQL query to Typeorm

I have this query that I tested in the query tool, and I now wish to apply this into Typeorm syntax I have tried this approach but it’s not 100% correct: Answer Assuming your class defined for the entity menu_entry is MenuEntry, typeorm query statement would be as follows-

Advertisement