turbo v0.4.8 Release Notes

Release Date: 2018-04-10 // over 5 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, attribute column are removed from BaseModel 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 method inc add multi docs support
    • ➕ add mongo_model module for support motor


    4.5 从 BaseModel 中弃用了 create 方法,请使用 insert 代替,默认所有插入操insert,insert_one,insert_many,save 都会进行 field 属性中键的校验,可以使用关键字参数 check=False 跳过校验。

    4.5 为了支持异步 mongo 驱动 motor pymongo 必须 >=3.2,请谨慎升级安装。