From 862811be59ccd4535a6c9e68bf030aaa443c9db8 Mon Sep 17 00:00:00 2001 From: weavejester Date: Thu, 25 Nov 2010 00:04:30 +0000 Subject: [PATCH] Added basic markdown README --- README | 17 ----------------- README.md | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 17 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index db4279d..0000000 --- a/README +++ /dev/null @@ -1,17 +0,0 @@ -# hassium - -FIXME: write description - -## Usage - -FIXME: write - -## Installation - -FIXME: write - -## License - -Copyright (C) 2010 FIXME - -Distributed under the Eclipse Public License, the same as Clojure. diff --git a/README.md b/README.md new file mode 100644 index 0000000..0e287d0 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +Hassium +======= + +Hassium is a MongoDB client library for the Clojure programming +language. + +Example +------- + + (def db + {:host "127.0.0.1" + :port 27017 + :database "demo-db"}) + + (def people + (collection "people") + + (with-connection db + (insert people {:name "Alice"} + {:name "Bob"} + {:name "Carol"}) + (doseq [p @(find-all people)] + (println (:name p))))