MongoDB\Driver\ClientEncryption::getKeys

(mongodb >=1.15.0)

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