Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (ns messaging.models.message
- (:require [[monger.core :as mg] [monger.collection :as mc]])
- (:import [com.mongodb MongoOptions ServerAddress])
- (:gen-class ))
- (mg/connect!)
- (defn -main []
- (mc/find "documents" {:first_name "Ringo"})
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement