Unsupported Spatial Data Types in MySQL in Drizzle-ORM
Drizzle-ORM does not support storing spatial data type for MySQL database officially.
- There is absolutely no mention about it in the documentation, GitHub repo (found one for PostgreSQL but it was in the opened issues, the methods have not been implemented for MySQL yet).
- None of the data types for storing the spatial data mentioned here are available in the
mysql-core
of thedrizzle-orm
package, and I'm now stuck at this.
Question
How to implement a schema in drizzle-orm
for MySQL for storing coordinates using Point
datatype?(without using raw SQL cause that's the point of using an ORM)