turbo v0.4.8 Release Notes
Release Date: 2018-04-10 // over 6 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
, attributecolumn
are removed fromBaseModel
class - 📦 Move tests outside turbo package
- Rewrite insert,update,remove with the latest pymongo collection methods like
insert_one
,insert_many
and so on. - 📄
BaseModel
methodinc
add multi docs support - ➕ add
mongo_model
module for support motor
⚠ warning
4.5 从
BaseModel
中弃用了create
方法,请使用insert
代替,默认所有插入操insert
,insert_one
,insert_many
,save
都会进行field
属性中键的校验,可以使用关键字参数check=False
跳过校验。4.5 为了支持异步 mongo 驱动
motor
pymongo 必须 >=3.2,请谨慎升级安装。 - Methods