David Carrdcblogdev.hashnode.devยทJan 25, 2018Laravel retrieving records in a random orderRetrieving records in a random order is simple with MySQL using the RAND() function but it's not very random ironically especially when dealing with a few records. a better way is to make use of inRandomOrder attribute that Laravel provides for model...Add a thoughtful commentNo comments yetBe the first to start the conversation.