please tell me, how i can make query into database (mysql), with Django models filters. I want create select query like:
SELECT word FROM core_dictionary WHERE LENGTH(word)=8 AND SUBSTRING(word,1,1)='А';
Sorry for my English.
please tell me, how i can make query into database (mysql), with Django models filters. I want create select query like:
SELECT word FROM core_dictionary WHERE LENGTH(word)=8 AND SUBSTRING(word,1,1)='А';
Sorry for my English.
I found a way to solve this problem only by using the "extra":
But i think is not good way....