-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
it appears that fetch doesn't work with the count flag.
karras/src/karras/collection.clj
Line 144 in 0ed5292
| (if count |
i tried this:
(fetch Client nil :count true) ;;it was inside with-mongo-request
i got back:
java.lang.IllegalArgumentException: Don't know how to create ISeq from: java.lang.Integer
[Thrown class java.lang.RuntimeException]
this however works fine:
(fetch Client nil :limit 1)
NOTE: I ended up using karras.entity/count-instances, but didn't know if the above was expected to work as it is still in the code.
Metadata
Metadata
Assignees
Labels
No labels