MongoDB\BSON\Binary::getVectorType
(mongodb >=2.2.0)
MongoDB\BSON\Binary::getVectorType — Returns the data type for a Binary with the vector subtype
Description
Parameters
This function has no parameters.
Return Values
Returns the data type of the Binary vector.
Errors/Exceptions
- Throws MongoDB\Driver\Exception\LogicException if the subtype is not
MongoDB\BSON\Binary::SUBTYPE_VECTOR. - Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
↑ and ↓ to navigate • Enter to select • Esc to close • / to open