You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GEOMETRY is a type defined in MySQL, used for keeping and querying Spatial Data. But SQLC doesn't support this type and raises a syntax error when I try to generate Golang codes from my Database Schema.
I even tried to override the column with this type with some other known type but it didn't work either again because SQLC doesn't recognize GEOMETRY type.
Is there any quick solution for this?
Relevant log output
syntax error near "GEOMETRY NOT NULL"
Database schema
CREATETABLEgeometries (
id INT AUTO_INCREMENT PRIMARY KEY,
coordinates GEOMETRY NOT NULL
);
Version
1.27.0
What happened?
GEOMETRY is a type defined in MySQL, used for keeping and querying Spatial Data. But SQLC doesn't support this type and raises a syntax error when I try to generate Golang codes from my Database Schema.
I even tried to override the column with this type with some other known type but it didn't work either again because SQLC doesn't recognize GEOMETRY type.
Is there any quick solution for this?
Relevant log output
syntax error near "GEOMETRY NOT NULL"
Database schema
Configuration
The text was updated successfully, but these errors were encountered: