Jaspersoft mongodb aggreation

0

Hello,

i was using mongodb 3.4 ,i recently changed it to 4.0 .This is my  script that i used in jaspersoft studio to get data :

{
    runCommand: {
        aggregate : 'Unite_ORG',
        pipeline : [
            {
                $project : {
                    
                    Miss_Attr.categorie:1,
                    Miss_Attr.texte:1
                }
            },
            { $unwind : '$Miss_Attr'}
       ]

}}

the probléme is i'm getting this error and i don't know how to fix it :  net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: The 'cursor' option is required, except for aggregate with the explain argument

mohamed.aghoulas's picture
Joined: May 11 2019 - 5:48am
Last seen: 6 days 23 hours ago

0 Answers:

No answers yet
Feedback
randomness