I want to make a specific odrer of WHERE statements in my query to use multicolumn index in database. But oder in code is not the same as result query: code: filter(user=self.user, province=self.province, city=self.city)
Mysql result: WHERE (`accounts_usercity`.`province_id` = 6 AND `accounts_usercity`.`city_id` = 32 AND `accounts_usercity`.`user_id` = 26 ) How to force my own order? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.