Laravel: Get relationship in randomized order
<p>I have the following code where I get a random question with it's answers:</p>

<pre><code>$q = Question::with('answers')
        -&gt;inRandomOrder()
        -&gt;first();
</code></pre>

<p>I want to return the <code>answers</code> in random order.</p>

<p>My table structure is:</p>

<p><code>questions</code></p>

<p><code>answers</code></p>

<p><code>answer_questions</code> - question_id, answer_id</p>

<p>Any ideas?</p>