Also the recursive CTE to get the reply thread for a post is something 🥴 Fairly sure its not optimal, but its 4 CTES, 2 of them recursive and 3 UNIONs
0 likes 0 replies
?
Also the recursive CTE to get the reply thread for a post is something 🥴 Fairly sure its not optimal, but its 4 CTES, 2 of them recursive and 3 UNIONs
0 likes 0 replies