MongoDB with JasperReport

0

In the course of angular the teacher taught some commands to work with MongoDB using find, insert, update, updateOne and others, but with this form it is not possible to create reports with jasperReport, probably the best known I imagine, as I was trying to use the commands taught by doing the report, I could see that to access a "collection" it was only with this command below.

{
collectionName : 'ticket'
}   

It complicated everything, besides not finding materials I could not generate the user fields. like email for example, I imagine that I should fetch the data by reference of the 'user' generated with the above query, I do not understand why it is not the same form of search, So how to fetch a collection with reference in mongoDB? I imagined that to access a property I should do "user.email" but it does not work the value comes "null".

    
asked by anonymous 22.11.2018 / 19:54

0 answers