Skip to content

Instantly share code, notes, and snippets.

@lohithgn
Created March 13, 2018 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lohithgn/7984760a57453a0fdbf3a0f7129b6658 to your computer and use it in GitHub Desktop.
Save lohithgn/7984760a57453a0fdbf3a0f7129b6658 to your computer and use it in GitHub Desktop.
//Create Collection
var collection = await client.CreateDocumentCollectionIfNotExistsAsync(
UriFactory.CreateDatabaseUri(dbName),
new DocumentCollection { Id = collectionName }
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment