title: Using Play Framework Anorm, how do I get the auto-generated id back for an insert?
body: <p>Suppose I have:</p>
  
  <pre><code>case class SomeModel(
    id : Pk[Long],
    description : String
  )
  
  object SomeModel extends Magic[SomeModel] {
    def ayDogAy = {
      var aydog = SomeModel(NotAssigned, "aydog")
      this.insert(aydog)
    }
  }
  </code></pre>
  
  <p>How do I get back the inserted id of aydog?</p>
  
  <p>If it matters, my backing database is Postgres</p>