MongooseJS 4.9.2 发布了。使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。 本次更新如下: fix(discriminator): 一直处理类名 #5104 fix(schema): 使 clone() 通过重用鉴别器模式工作 #5098 fix(querycursor): run pre find hooks with .cursor() #5096 fix(connection): 如果 usernameassword 包括 @ 或 : 抛出错误 #5091 fix(timestamps): handle overwriting createdAt+updatedAt consistently #5088 fix(document): ensure subdoc post save runs after parent save #5085 docs(model): 改进更新的文档 #5076 bertolo1988 点此查看完整更新内容 下载地址 Source code (zip) Source code (tar.gz) MongooseJS 4.9.2 发布,MongoDB 连接包下载地址