Skip to content

Instantly share code, notes, and snippets.

@danared
Created April 2, 2015 16:09
Show Gist options
  • Save danared/21e1ae99c89c750d6fd5 to your computer and use it in GitHub Desktop.
Save danared/21e1ae99c89c750d6fd5 to your computer and use it in GitHub Desktop.
var document = new BsonDocument { { "_id", 1 }, { "x", 2 } };
await collection.InsertOneAsync(document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment