Pomelo.EntityFrameworkCore.MySql
Pomelo.EntityFrameworkCore.MySql copied to clipboard
Use ST_DISTANCE_SPHERE for MariaDB Spatial Queries
It looks like MariaDB added support for ST_DISTANCE_SPHERE in May. Currently MariaDB queries are translated using an explicit haversine function. Since MariaDB now supports ST_DISTANCE_SPHERE spatial queries can be implemented using this method.
See issue https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/1183.