title: Google App Engine - Datastore get_or_insert key_name confusion
body: <p>I am confused by <code>get_or_insert(..)</code>. What should I pass as the <code>key_name</code>? Consider the following example:</p>
  
  <pre><code>class Person(db.model)
      name = db.StringProperty(required=True)
  </code></pre>
  
  <p>Assume that no two people can have the same name. Say I want to get or insert a new <code>Person</code> with name <code>Peter</code>, what would my <code>get_or_insert</code> statement look like?</p>
  
  <p>Cheers,</p>
  
  <p>Pete</p>