Get a single record from a database filtered by category_id and then randomised id
I can easily filter by category ID and fetch a list of all prompts, but I can't see how to only select one from within that category and randomise which is picked.
Any help much appreciated!
Table structure:[Screenshot 2022-01-21 at 14.05.42.png]
Thanks
Working with APIs
2 replies