karras
karras copied to clipboard
A clojure wrapper to the mongo java driver
If I'm reading this code correctly, and it is very possible I am not... It seems like a limitation if you store other types of values in your _id field....
mongo-java-driver 2.1 does not support mongo replica sets. Upgrade to a newer version of mongo-java-driver is necessary.
``` qa.db> (r (fetch Client nil :include [:account-name])) (#:qa.db.Client{:_id #, :account-number "6000", :account-name "Sample Client - Classic", :active true, :questionnaire-id #, :questionnaire-title "Classic"} #:qa.db.Client{:_id #, :account-number "4000", :account-name "Sample Client...
it appears that fetch doesn't work with the count flag. https://github.com/wilkes/karras/blob/0ed5292e64f2afd97dff754711f428d8dd49d733/src/karras/collection.clj#L144 i tried this: ``` (fetch Client nil :count true) ;;it was inside with-mongo-request ``` i got back: ``` java.lang.IllegalArgumentException:...