The MongoDB\BSON\VectorType enum
(mongodb >=2.2.0)
Introduction
The MongoDB\BSON\VectorType enum is used to specify the type of
vector data stored in a MongoDB\BSON\Binary with
subtype MongoDB\BSON\Binary::TYPE_VECTOR.
Enum synopsis
enum MongoDB\BSON\VectorType
{
{
case Float32
; //
Each element in the vector is a 32-bit floating point value.
case Int8
; //
Each element in the vector is an 8-bit integer value.
}来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
