![]()  | 
  
    CQRS.NET
    4.0
    
   A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments. 
   | 
 
| async Task<DocumentCollection> Cqrs.Azure.DocumentDb.AzureDocumentDbHelper.CreateOrReadCollection | ( | DocumentClient | client, | 
| Database | database, | ||
| string | collectionName, | ||
| string[] | uniqiueIndexPropertyNames = null  | 
        ||
| ) | 
Gets a DocumentCollection creating one if it doesn't already exist.
| client | The DocumentClient to use. | 
| database | The Database to look in. | 
| collectionName | The name of the collection to get. | 
| uniqiueIndexPropertyNames | Any unique properties the collection should enforce. | 
Implements Cqrs.Azure.DocumentDb.IAzureDocumentDbHelper.