클래스: Mongo::Operation::GetMore::Result
- 상속:
-
Operation::Result
- 객체
- Operation::Result
- Mongo::Operation::GetMore::Result
- 다음에 정의됨:
- lib/ Mongo/operation/get_more/result.rb
개요
get more 명령에 대한 결과의 사용자 지정 동작을 정의합니다.
인스턴스 메서드 요약 접기
-
#cursor_id ⇒ 정수
비공개
커서 ID를 가져옵니다.
-
문서 # 개 ⇒ Array<BSON::Document>
결과에서 문서를 가져옵니다.
-
#post_batch_resume_token ⇒ BSON::Document | nil
비공개
결과에 대한 배치 게시 재개 토큰을 가져옵니다.
인스턴스 메서드 세부 정보
#cursor_id ⇒ 정수
이 메서드는 비공개 API의 일부입니다. 이 방법은 향후 제거되거나 변경될 수 있으므로 가능하면 사용하지 않는 것이 좋습니다.
커서 ID를 가져옵니다.
34 35 36 |
# 파일 'lib/ Mongo/operation/get_more/result.rb', 줄 34 def cursor_id cursor_document ? cursor_document[CURSOR_ID] : super end |
문서 # 개 ⇒ Array<BSON::Document>
결과에서 문서를 가져옵니다.
56 57 58 |
# 파일 'lib/ Mongo/operation/get_more/result.rb', 줄 56 def 문서 cursor_document[NEXT_BACH] end |
#post_batch_resume_token ⇒ BSON::Document | nil
이 메서드는 비공개 API의 일부입니다. 이 방법은 향후 제거되거나 변경될 수 있으므로 가능하면 사용하지 않는 것이 좋습니다.
결과에 대한 게시 배치 재개 토큰 가져오기
43 44 45 |
# 파일 'lib/ Mongo/operation/get_more/result.rb', 줄 43 def post_batch_resume_token cursor_document ? cursor_document['postBatchResumeToken'] : nil end |