MySQL does not have this support. I've tested few potential solution but most of them have a hige problem with performance.
Many thanks,
Serge
+380 636150445
skype: skhohlov
Serge
+380 636150445
skype: skhohlov
On Fri, Nov 25, 2016 at 1:52 PM, Karesh Arunakirinathan <akaresh88@gmail.com> wrote:
--
Is there any pure Django/faster way to get the distances less than x km. I have the model
class Products(models.Model): title = models.CharField(max_length=10
) point = models.PointField(srid=32140, null=True, blank=True)So I want to search the products less than x km from the persons view in mysql.? Because distance less than is only supported in postgresql. I want to do in mysql database. Thanks
Could anyone help please ?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b914da61- .bffc-4591-98d3-84d919420764% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADTRxJP-qQy2WBCqJeHCw0Tis63CDzfKE_fCcPZMJUEhB9tpFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment