u
This commit is contained in:
@@ -10,7 +10,7 @@ WITH tree AS (
|
||||
FROM category c
|
||||
INNER JOIN tree t ON c.parent_id = t.id
|
||||
)
|
||||
SELECT id, parent_id, sort
|
||||
SELECT id, parent_id AS parentId, sort
|
||||
FROM tree
|
||||
ORDER BY sort, id
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user