MySQL 9.0 Reference Manual Including MySQL NDB Cluster 9.0

14.21 Vector Functions

MySQL 9.0 supports SQL functions to work with VECTOR values. These functions are described in this section.

Table 14.31 Vector Functions

Name Description
STRING_TO_VECTOR() Get the binary value of the VECTOR column represented by a conforming string
VECTOR_DIM() Get the length of a vector (that is, the number of entries it contains)
VECTOR_TO_STRING() Get the string representation of a VECTOR column, given its value as a binary string