Mongoose 5.3.3 釋出,MongoDB 非同步物件模型工具
Mongoose 5.3.3 釋出了,Mongoose 是在 Node.js 非同步環境下對 MongoDB 進行便捷操作的物件模型工具。
更新內容如下:
-
fix(document): 通過刪除 $ isValidatorError 屬性,在 MongoDB 中啟用儲存 mongoose 驗證錯誤
-
docs(api): 清理聚合觸發聚合中介軟體
-
fix(connection): 當 schema + autoCreate == true 上存在索引時,處理 Model.init()
-
docs(middleware): 解釋如何在 remove() 中切換文件和查詢鉤子
-
docs(api): 清理 SchemaType.prototype.validate docs 中的編碼問題
-
docs(schema): 將模式型別新增到 api 文件並更新 schematypes 頁面上的連結
-
docs(model): 使用示例和欄位 param 擴充套件模型建構函式 docs
-
docs(aggregate): 刪除 noCursorTimeout 的錯誤描述並新增聚合選項的描述
-
docs: 重新在 API docs 中新增陣列型別
-
docs(connections): 新增由於副本集中的主機名錯誤導致的 members.host 錯誤的相關注釋
ofollow,noindex" target="_blank">更新日誌
下載地址: