How is this not illegal?

This page renders SELECT * FROM pokemon ORDER BY RANDOM() LIMIT 12 from the edge, for every request.

What's best, the data fetching is defined directly within the component tree thanks. Legally. (Source). (Blogpost)