Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Updating the docs my adding 100 degrees to the temperature.
private void DeleteAllDocs()
List<SensorTick> ticks = _client.CreateDocumentQuery<SensorTick>(_dbcUri).ToList();
foreach (var tick in ticks)
Uri docUri = UriFactory.CreateDocumentUri(DbName, CollectionName, tick.Id);
Console.WriteLine(@"Deleted: {0}", tick.Id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment