Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/ / /
PHP 라이브러리 매뉴얼
/ /

MongoDB\Client::createClientEncryption()

MongoDB\Client::createClientEncryption()

Returns a MongoDB\Driver\ClientEncryption object for manual encryption and decryption of values.

function createClientEncryption(array $options): MongoDB\Driver\ClientEncryption
$options : 배열

An array specifying the desired options. Refer to the MongoDB\Driver\Manager::createClientEncryption() extension documentation for a list of supported options.

If a MongoDB\Client is provided for the keyVaultClient option, it will be unwrapped into a MongoDB\Driver\Manager for the extension.

A MongoDB\Driver\ClientEncryption instance which can be used to encrypt and decrypt values.

MongoDB\Exception\InvalidArgumentException 매개변수 또는 옵션의 구문 분석과 관련된 오류의 경우입니다.

MongoDB\Driver\Exception\InvalidArgumentException for errors related to the parsing of parameters or options at the extension level.

돌아가기

bulkWrite()를 호출합니다.

이 페이지의 내용