title: How to Add Compound Indices in Shark Orm
body: <p>I understand how to define one property indices in SharkORM per the documentation</p>
  
  <pre><code>+ (SRKIndexDefinition *)indexDefinitionForEntity {
      SRKIndexDefinition* idx = [SRKIndexDefinition new];
      [idx addIndexForProperty:@"name" propertyOrder:SRKIndexSortOrderAscending];
      [idx addIndexForProperty:@"age" propertyOrder:SRKIndexSortOrderAscending];
      return idx;
  }
  </code></pre>
  
  <p>From my understanding the above will create one index on name, and another on age. However, what if I want to create a compound index (i.e. one that encompasses name first, and then age). If the above code is doing that, then my question is instead how do I define more than one index for a model?</p>
  
  <p>To put it another way how would I define the following two indices in SharkORM?</p>
  
  <ul>
  <li>[name, age]</li>
  <li>[name, location]</li>
  </ul>