Skip to content

Commit d469763

Browse files
committed
Update 05.5.md
1 parent c5ddbac commit d469763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebook/05.5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ beedb接口提供了另外一种插入的方式,map数据插入。
9494
add2["departname"] = "cloud develop2"
9595
add2["created"] = "2012-12-02"
9696
addslice =append(addslice, add, add2)
97-
orm.SetTable("userinfo").Insert(addslice)
97+
orm.SetTable("userinfo").InsertBatch(addslice)
9898

9999
上面的操作方式有点类似链式查询,熟悉jquery的同学应该会觉得很亲切,每次调用的method都会返回原orm对象,以便可以继续调用该对象上的其他method。
100100

0 commit comments

Comments
 (0)