类:Mongo::Operation::UsersInfo::Result

继承:
操作::结果
  • 对象
显示全部
定义于:
lib/ Mongo/operation/users_info/result.rb

Overview

定义使用 usersInfo 命令时结果的自定义行为。

由于:

  • 2.1.0

常量摘要折叠

USERS =

此常量是私有 API 的一部分。 应尽可能避免使用此常量,因为它将来可能会被删除或更改。

usersInfo 结果中用户文档的字段名称。

由于:

  • 2.1.0

'用户'

实例方法摘要折叠

实例方法详细信息

# 个文档对象

由于:

  • 2.1.0



33
34
35
# File 'lib/ Mongo/operation/users_info/result.rb', line 33

def 文档
  回复.文档.first[用户(User)]
end