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

MongoDB\Collection::getWriteConcern()

버전 1.2에 추가 되었습니다.

MongoDB\Collection::getWriteConcern()

이 collection에 대한 쓰기 고려 (write concern)를 반환합니다.

function getWriteConcern(): MongoDB\Driver\WriteConcern

MongoDB\ 드라이버\WriteConcern 객체.

<?php $collection = (new MongoDB\Client)->selectCollection('test', 'users', [ 'writeConcern' => new MongoDB\Driver\WriteConcern(1, 0, true),]); var_dump($collection->getWriteConcern());

이 경우 출력은 다음과 유사합니다:

object(MongoDB\Driver\WriteConcern)#5 (2) { ["w"]=> int(1) ["j"]=> bool(true)}
이 페이지 평가하기