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.
See Also
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
