Skip to content

Instantly share code, notes, and snippets.

@dstarr dstarr/Program3.cs
Last active Mar 7, 2018

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
You can’t perform that action at this time.