MongoDB\Driver\Manager::getEncryptedFieldsMap

Return the encryptedFieldsMap auto encryption option for the Manager

Description

final public arrayobjectnull MongoDB\Driver\Manager::getEncryptedFieldsMap()

Returns the encryptedFieldsMap auto encryption option for the Manager, if specified.

Parameters

This function has no parameters.

Return Values

The encryptedFieldsMap auto encryption option for the Manager, or null if it was not specified.

Errors/Exceptions

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.

See Also

  • MongoDB\Driver\Manager::__construct