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

MongoDB\Model\IndexInfo::isTtl()

MongoDB\Model\IndexInfo::isTtl()

Return whether the index is a TTL index. This correlates with the expireAfterSeconds option for MongoDB\Collection::createIndex().

function isTtl(): boolean

인덱스가 TTL 인덱스인지 여부를 나타내는 부울입니다.

<?php
$info = new IndexInfo([
'expireAfterSeconds' => 100,
]);
var_dump($info->isTtl());

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

bool(true)
이 페이지 평가하기