On this page本页内容
getnonce
Deprecated since version 4.0.自4.0版以来已弃用。
Client libraries use 客户端库使用getnonce
to generate a one-time password for authentication.getnonce
生成用于身份验证的一次性密码。
Applications should not invoke 应用程序不应直接调用getnonce
directly.getnonce
。
This command will be removed in a future release.此命令将在将来的版本中删除。
Starting in MongoDB 4.2, if the client that issued the 从MongoDB 4.2开始,如果发出getnonce
disconnects before the operation completes, MongoDB marks the getnonce
for termination (i.e. killOp
on the operation).getnonce
的客户端在操作完成之前断开连接,MongoDB会将getnonce
标记为终止(即操作上的killOp
)。