Dependent driver of Mongodb Plugin in version 1.0.8 upgrade to the latest version 3.4.0 followed by the official. Hereinafter referred to as plugin. MongoDB
MongoDB in version 3.4 adds a large number of “aggregation” operators with more powerful functions. Since many of the operators in the new version are not currently available, plugin only supports the following two (not simplified versions): $grahpLookup
$grahpLookup make a progress which could support more complex relationship computing on the basis of $lookup in version 3.2.
$addFields makes document operations more richer such as storing certain plus-fields as new fields.
In order to facilitate people’s usage of bson generated by the Aggregates method, which has not yet supported by.Pipeline (aggregation operation) into the official drive, you can run MongoAggregation(query).grahpLookup()or .addFields ().
In this version we have adjusted the directory structure. It need to update the path of referenced class after updating to version 1.0.8.
If use plugin to achieve their own join query in version 1.0.8, it will automatically convert _id to id. Automatically remove _id when using the replace method to replace docment.
Reimplemented the set method of MongoQuery, now putting into a Bean object can retain the original format to insert the database and support one layer of object nesting .
Optimized save method. If there is a problem in storaging, it will not directly throw exception and return false in the previous version. But the new version outputs error log while returning false.
In order to solve the output of debug log of MongoDB Driver, we added a setDebug method in MongoKit to allow developers to set whether to open the developer model.
bug Fix the bug :judging errors when putting aggregate queries into searching conditions.
Added a new class MongoBean in version 1.0.8, see MongoBean for details.
MongoDB now supports retrieval features of geographic location, see Geographical.