turbo v0.4.8 Release Notes
Release Date: 2018-04-10 // over 8 years ago-
👍 Full support Python 3.3, Python 3.4, Python 3.5, Python 3.6
Previous changes from v0.4.5
-
- Methods
get_as_column,create, attributecolumnare removed fromBaseModelclass - 📦 Move tests outside turbo package
- Rewrite insert,update,remove with the latest pymongo collection methods like
insert_one,insert_manyand so on. - 📄
BaseModelmethodincadd multi docs support - ➕ add
mongo_modelmodule for support motor
⚠ warning
4.5 从
BaseModel中弃用了create方法,请使用insert代替,默认所有插入操insert,insert_one,insert_many,save都会进行field属性中键的校验,可以使用关键字参数check=False跳过校验。4.5 为了支持异步 mongo 驱动
motorpymongo 必须 >=3.2,请谨慎升级安装。 - Methods