基于nodejs的MongonDB 連接包,MongooseJS 4.1.0 發布
Mongoose 是基于nodejs,使用javascript編程,連接mongodb數據庫的軟件包,使mongodb的文檔數據模型變的優雅起來,方便對mongodb文檔型數據庫的連接和增刪改查等常規數據操作。
mongoose是當前使用mean(mongodb express angularjs nodejs)全棧開發必用的連接數據庫軟件包。
MongooseJS 4.1.0 發布,此版本更新內容如下:-
added;
schema.queue()
now public #3193 -
added; raw result as third parameter to findOneAndX callback #3173
-
added; ability to run validateSync() on only certain fields #3153
-
added; subPopulate #3103 timbur
-
added; $isDefault function on documents #3077
-
added; additional properties for built-in validator messages #3063 KLicheR
-
added; getQuery() and getUpdate() functions for Query #3013
-
added; export DocumentProvider #2996
-
added; ability to remove path from schema #2993 JohnnyEstilles
-
added; .explain() helper for aggregate #2714
-
added; ability to specify which ES6-compatible promises library mongoose uses #2688
-
added; export Aggregate #1910
下載:https://github.com/Automattic/mongoose/archive/4.1.0.zip。