Hi everyone,

I want to introduce Mongoika.  Mongoika is a MongoDB library for Clojure.

We have used this library for a few projects, and have found it easy
to use and efficient.  For this release we have fixed a few bugs from
our prototype, and it is now production ready.

Mongoika simplifies building queries.  Queries behave like lazy
sequences.  Basic GridFS operations are also supported.

The features of Mongoika are:

1) Queries as lazy sequences.

You can easily use Clojure stream idioms, such as method chaining, with MongoDB.

2) Maps as a property of a query.

The map-after function allows you to add a function that modify the
records returned by a query (like "map") without losing the ability to
add further mongodb query specifications.

E.g.:

(defn user-from-mongodb
  ; code to convert a mogodb record to a domain obect
)

; Create a query that returns all users as domain objects
(defn users [] (map-after user-from-mongodb :users))

; Now you can apply mongodb query specifications to this query,
; even though it doesn't return mongodb records.
(defn fred (fetch-one (users :name "fred")))

3) GridFS support

Supports insert! insert-multi! and delete!

Check out the details at:
https://github.com/yuushimizu/Mongoika

--
Tokusei(@tnoborio)
http://nyampass.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to