This commit is contained in:
withchao 2023-05-24 16:39:12 +08:00
parent 7bfd9aef2f
commit 103cb3cb99

View File

@ -74,7 +74,7 @@ func Test_BatchInsertChat2DB(t *testing.T) {
}) })
for j, s := range arr { for j, s := range arr {
if j == 0 { if j == 0 {
fmt.Sprintf("channnelID: %d, arr[0]: %d", channelID, arr[j]) fmt.Printf("channnelID: %d, arr[0]: %s\n", channelID, arr[j])
} }
filter := bson.M{"doc_id": "test:0"} filter := bson.M{"doc_id": "test:0"}
update := bson.M{ update := bson.M{