I am getting "GetLastError command failed: getLastError command is not supported" while trying to insert document in Robo3T under collections

huangapple go评论52阅读模式
英文:

I am getting "GetLastError command failed: getLastError command is not supported" while trying to insert document in Robo3T under collections

问题

我在尝试在Robo3T中插入文档时遇到错误,但在单击“确定”后,文档成功添加到列表中。

错误消息:GetLastError命令失败:getLastError命令不受支持

不确定,因为相同版本的Robo 3T在我的另一台机器上可以正常工作,而且我目前正在使用Robo3T版本:1.4

英文:

I am getting error while trying to insert document in Robo3T but the document is successfully getting added to the list after clicking on OK.

Error message : GetLastError command failed: getLastError command is not supported

Not sure as the same version of Robo 3T is working on my other machine and also I am currently using Robo3T ver:1.4

答案1

得分: 3

面对相同情况。
这是因为在MongoDB中,getLastError命令已被弃用,不再受支持(截至MongoDB 4.4版本)。

英文:

Faced the same.
This is because the getLastError command has been deprecated in MongoDB and is no longer supported. (as of MongoDB 4.4)

答案2

得分: 0

"getLastError"已被弃用,请确保您的Robo3T支持您的MongoDB版本。我也使用了Robo3T 1.4.4,并且遇到了相同的问题。我安装了Studio3T,这是Robo3T的新升级版本,这解决了我的问题。

英文:

As getLastError has been deprecated, make sure your robo3T supports your mongodb version. I was also using Robo3T 1.4.4 and had same problem. I installed Studio3T, new updgraded version of Robo3T and this solved my problem.

huangapple
  • 本文由 发表于 2023年4月19日 19:05:17
  • 转载请务必保留本文链接:https://go.coder-hub.com/76053760.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定