Mongoose 6.1.0 发布,MongoDB 异步对象模型工具

栏目: 软件资讯 · 发布时间: 4年前

内容简介:Mongoose 是设计用于异步环境的 MongoDB 对象模型工具,支持 promises 和 callbacks。Mongoose 6.1.0 正式发布,本次更新内容如下: feat(populate): 支持子文档的引用 #10856 feat(document): 添加 ownerDocumen...

Mongoose 是设计用于异步环境的 MongoDB 对象模型工具,支持 promises 和 callbacks。Mongoose 6.1.0 正式发布,本次更新内容如下:

  • feat(populate): 支持子文档的引用 #10856
  • feat(document): 添加 ownerDocument() 方法到顶层文档,与子文档保持一致 #10884 
  • fix: mongodb 驱动升级到 4.2.1 #11032 #10985 
  • feat(schema): MongoDB 5 时间序列集合支持 timeseries 选项 #10611
  • feat(mongoose): 加入全局 strictPopulate 选项 #10694 
  • feat(mongoose+connection): 加入全局 mongoose.syncIndexes()  Connection.prototype.syncIndexes() #10893 
  • feat(query): 支持从推测(projections)中移除字段 #10630 
  • feat(aggregate): 为聚合添加 unionWith 方法 #10961 
  • fix(index.d.ts): 修复聚合管道阶段的类型 #10971 

更新公告:https://github.com/Automattic/mongoose/releases/tag/6.1.0

 


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

ActionScript 3.0 Cookbook

ActionScript 3.0 Cookbook

Joey Lott、Darron Schall、Keith Peters / Adobe Dev Library / 2006-10-11 / GBP 28.50

Well before Ajax and Microsoft's Windows Presentation Foundation hit the scene, Macromedia offered the first method for building web pages with the responsiveness and functionality of desktop programs......一起来看看 《ActionScript 3.0 Cookbook》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具