AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.
Docs Menu

커서.isClosed() (mongosh 메서드)

cursor.isClosed()

중요

Mongo쉬 방법

This page documents a mongosh method. This is not the documentation for a language-specific driver, such as Node.js.

MongoDB API 드라이버의 경우 언어별 MongoDB 드라이버 설명서를 참조하세요.

반환합니다:

부울입니다.

cursor.isClosed() returns true if the server has closed the cursor.

닫힌 커서에는 마지막으로 수신한 배치에 문서가 남아 있을 수 있습니다. cursor.isExhausted() 또는 cursor.hasNext() 를 사용하여 커서가 완전히 소진되었는지 확인합니다.

이 메서드는 다음 환경에서 호스팅되는 배포에서 사용할 수 있습니다.

  • MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud

참고

This command is supported in all MongoDB Atlas clusters. For information on Atlas support for all commands, see Unsupported Commands.

이 페이지 평가하기

이 페이지의 내용