Jump to content
We've recently updated our Privacy Statement, available here ×

Jaspersoft mongodb aggreation


mohamed.aghoulas

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...