Skip to content

Please adapt for mongo versions >3.0 #32

Description

@anquegi

Thanks for this library. could be possible to adapt it to be used with mongodb 3?, now it only works with mongodb 2.6.11, as latest release.

;; connect to mongodb 2.6.11
CL-USER> (with-mongo-connection (:host "127.0.0.1" :port 27018 :db "stackoverflow" )
			 (show :collections))
[{name : stackoverflow.system.indexes} ]
[{name : stackoverflow.queue2} {options : (autoIndexId : T) (flags : 1) } ]
[{name : stackoverflow.queue2.$_id_} ]
NIL

;; connection to mongodb 3.0
CL-USER> (with-mongo-connection (:host "127.0.0.1" :port 27017 :db "gravity" )
			 (show :collections))
NIL

captura de pantalla 2017-11-06 a las 8 37 01 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions