title: how do I access this pivot field
body: <p>I am trying to access a pivot field like so:</p>
  
  <pre><code>$attendee_waitlisted-&gt;pivot('order_number')
  </code></pre>
  
  <p>but I receive this error:</p>
  
  <blockquote>
    <p>Call to undefined method Illuminate\Database\Query\Builder::pivot()</p>
  </blockquote>
  
  <p>In my View, I form <code>$attendee_waitlisted</code> like so:</p>
  
  <pre><code>{{$attendee_waitlisted = $program-&gt;waitlist-&gt;attendees-&gt;find($attendee)}}    
  </code></pre>
  
  <p>I can see my <code>order_number</code> field in my HTML Output:</p>
  
  <pre><code>{
      "id":"24",
      "created_at":"2015-06-23 12:53:16",
      "updated_at":"2015-06-26 14:49:15",
      "first_name":"Abby",
      "last_name":"Gordon",
      "birthday":"2009-01-27",
      "media_release":"1",
      "food_consent":"1",
      "food_allergies":"",
      "special_care":"Paid first week",
      "user_id":"21",
      "contact_name":"",
      "contact_phone":"",
      "contact_email":"",
      "pivot":{
              "waitlist_id":"1",
              "attendee_id":"24",
              "created_at":"2015-08-11 18:42:37",
              "updated_at":"2015-08-11 18:56:43",
              "order_number":"1"
      }
  }
  </code></pre>
  
  <p><strong>How do I access just that field?</strong></p>