会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cs_1993
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
公告
2019年12月13日
Django ORM中使用update_or_create功能
摘要: 官网的手写版如下: update_or_create(defaults=None, **kwargs)¶ A convenience method for updating an object with the given kwargs, creating a new one if necessar
阅读全文
posted @ 2019-12-13 13:36 cs_1993
阅读(3973)
评论(0)
推荐(0)