Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fehmicansaglam committed Mar 7, 2015
1 parent 886bdec commit 9d1ecc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ Tepkin is a relatively young project and absolutely needs your help. Good ways t
val client = MongoClient("mongodb://localhost")
val db = client("tepkin")
val collection = db("mongo_collection_spec")

val document = ("name" := "fehmi") ~ ("surname" := "saglam")

implicit val timeout: Timeout = 5.seconds

val future = for {
insert <- collection.insert(Seq(document))
update <- collection.update(
Expand Down

0 comments on commit 9d1ecc6

Please sign in to comment.