how do i create a listing page with custom query ?

hi lets say i have posts and categories. i want to list all posts in a category with something like /category/{id}/posts. and show it like standard post resource. what is the best way of doing this ?
1 Reply
toeknee
toeknee7mo ago
Build a new resource list page? Within that specify the route in the pages classes, and then in the custom page under the table query just adjust it with a cusotm where. You can see the query modifications on tables.