MongoDB\Driver\ClientEncryption::getKeys

MongoDB\Driver\ClientEncryption::getKeysGets all key documents

Description

final public MongoDB\Driver\ClientEncryption::getKeys(): MongoDB\Driver\Cursor

Finds all key documents in the key vault collection.

Parameters

This function has no parameters.

Return Values

Returns MongoDB\Driver\Cursor on success.

Errors/Exceptions