We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ddbac commit d469763Copy full SHA for d469763
ebook/05.5.md
@@ -94,7 +94,7 @@ beedb接口提供了另外一种插入的方式,map数据插入。
94
add2["departname"] = "cloud develop2"
95
add2["created"] = "2012-12-02"
96
addslice =append(addslice, add, add2)
97
- orm.SetTable("userinfo").Insert(addslice)
+ orm.SetTable("userinfo").InsertBatch(addslice)
98
99
上面的操作方式有点类似链式查询,熟悉jquery的同学应该会觉得很亲切,每次调用的method都会返回原orm对象,以便可以继续调用该对象上的其他method。
100
0 commit comments