Open HarryVerhoef opened 5 months ago
As a CurryCompare developer I would like to improve the type safety of any geospatial queries, such as finding curry houses within a 5 mile radius, so that I can be sure that my raw and unsafe query is that little bit more secure.
Link for this with prisma: https://www.prisma.io/docs/orm/prisma-client/queries/raw-database-access/custom-and-type-safe-queries#geographic-data-support-in-prisma
Investigate if we can split the model so that geospatial queries don't lose type safety
As a CurryCompare developer I would like to improve the type safety of any geospatial queries, such as finding curry houses within a 5 mile radius, so that I can be sure that my raw and unsafe query is that little bit more secure.