This is a follow-up from this question. Although I can write a non-binary LIKE query such as - SELECT COUNT(*) FROM TABLE WHERE MID LIKE 'TEXT%'
in raw SQL, I would like to know if it's possible through the Django ORM.
Both startswith
and contains
seem to be using a binary pattern search.