Skip to content

Instantly share code, notes, and snippets.

@dalmat36
Created May 6, 2015 14:26
Show Gist options
  • Select an option

  • Save dalmat36/85816cf8b6249a62fed4 to your computer and use it in GitHub Desktop.

Select an option

Save dalmat36/85816cf8b6249a62fed4 to your computer and use it in GitHub Desktop.
Webinar: Introduction to using MongoDB and Spring Data on Cloud Foundry Insert Post
p = {author: "roger",
date: new Date(),
text: "about mongodB...",
tags: ["tech", "databases"]}
db.posts.save(p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment