Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 11601

Storing Spatial Data using Drizzle-ORM for MySQL [closed]

$
0
0

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 the drizzle-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)


Viewing all articles
Browse latest Browse all 11601

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>