© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
Drizzle Team
•
3y ago
Mikey
Spatial Query in Drizzle using MySQL
I
'm not able to find an example of how to create a Spatial Index as explained in this tutorial
.
https://www.endpointdev.com/blog/2021/03/spatial-queries-with-mysql/
Can I please get some help with how to do the following in Drizzle ORM
?
CREATE TABLE restaurants
(
name VARCHAR
(100
)
,
location GEOMETRY NOT NULL
,
SPATIAL INDEX
(location
)
)
;
Spatial queries with MySQL | End Point Dev
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
MySQL Spatial Data Schema
DT
Drizzle Team / help
17mo ago
MySql NOW() in Drizzle
DT
Drizzle Team / help
3y ago
Delete using pg query in drizzle
DT
Drizzle Team / help
3y ago