How to implement aggregate in erlang MongoDB driver -
I am trying to use it with the total This is what I have tried so far < Pre> but I receive this error I am having trouble moving forward and I am looking for any help. Just to be clear, I am trying to apply it db.users.aggregate ({$ group: {_ id: "", id: {$ Sum: "$ id"}}}, {$ Project: {_id: 0, id: "$ id"}}); which works in the Mongoody Shell. I can postpone someone who knows that if someone has cried so far, But there is no one: I think you are supplying a string for the pipeline argument where the driver is expecting a list. mongo_query: command ({db, angle}, {gross,
** exception error: {bad_command, {errmsg, & lt; & Lt; "Exception: Wrong type for field (pipeline) 2! = 4" & gt; & Gt; Code, 13111, OK, 0.0}}
Comments
Post a Comment