Hello guys, i have a question abou*t graphql query...
# orm-help
j
Hello guys, i have a question abou*t graphql query pagination / RANDOM* I use a
pagination
when querying items (20 per each). But since graphql doesn't support
orderby: Random
, I’m planning to make a new column
Index
at the table (auto-increment integer) and query with randomly created 20 numbers.
But like this, I guess the pagination is not really useful nor possible, so I’m thinking to remove it. Do you think this idea could have a possible performance bottleneck?
r
@Jyn 👋 If it’s indexed and you order by that field then it shouldn’t have a performance issue 🙂
❤️ 1