本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
GaoreGo
/
goes
關注
6
收藏
0
複製
0
程式碼
合併請求
0
版本發佈
3
活動
瀏覽代碼
Only set Id on document if it was given
tags/v1.0.0
Marin Bek
9 年之前
父節點
4c9459a02b
當前提交
6c041327be
共有
1 個檔案被更改
,包括
4 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
goes.go
+ 4
- 1
goes.go
查看文件
@@ -478,8 +478,11 @@ func (c *Connection) Update(d Document, query map[string]interface{}, extraArgs
ExtraArgs: extraArgs,
method: "POST",
api: "_update",
id: d.Id.(string),
}
if d.Id != nil {
r.id = d.Id.(string)
}
return r.Run()
}
Write
Preview
Loading…
取消
儲存