📜  django 插入批量数据 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:00.828000             🧑  作者: Mango

代码示例1
Entry.objects.bulk_create([
  Entry(headline = "foo"),
  Entry(headline = "bar")
])