trilogy-libraries / trilogy

Trilogy is a client library for MySQL-compatible database servers, designed for performance, flexibility, and ease of embedding.
MIT License
697 stars 68 forks source link

Add the new VECTOR type #194

Open dbussink opened 1 month ago

dbussink commented 1 month ago

MySQL 9.0 added a new vector type at the protocol level, so this adds support for it. It is a binary length encoded buffer, so treat it as such.

dbussink commented 1 month ago

See also https://dev.mysql.com/doc/dev/mysql-server/latest/field__types_8h.html for the value here.