ANNOUNCEMENT: Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.
Learn more
Docs Menu

MongoDB\GridFS\Bucket::getChunkSizeBytes()

이 페이지의 내용

버전 1.2에서 변경되었습니다.

MongoDB\GridFS\Bucket::getChunkSizeBytes()

이 버킷의 청크 크기를 바이트 단위로 반환합니다.

function getChunkSizeBytes(): integer

이 버킷의 청크 크기(바이트)입니다.

<?php
$bucket = (new MongoDB\Client)->test->selectGridFSBucket();
var_dump($bucket->getChunkSizeBytes());

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

int(261120)

이 페이지의 내용