# How to use mysql hints via orm

**URL:** <https://forum.djangoproject.com/t/how-to-use-mysql-hints-via-orm/32504>\
**Category:** Using Django\
**Created:** [June 27, 2024, 8:35am UTC](https://forum.djangoproject.com/t/how-to-use-mysql-hints-via-orm/32504 "2024-06-27T08:35:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomCruise](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/tomcruise/32/22264_2.png) [@TomCruise](https://forum.djangoproject.com/u/TomCruise)\
**Post date:** [June 27, 2024, 8:35am UTC](https://forum.djangoproject.com/t/how-to-use-mysql-hints-via-orm/32504/1 "2024-06-27T08:35:38Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/2/2/226f4415ae1861413b47b822ac3590001bbf2d5b.png)

I want use mysql hints via orm like above, Thank a lot.

CarRecord.objects…

---

<div class="post-metadata">

**Author:** ![theorangeone](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/theorangeone/32/21264_2.png) [@theorangeone](https://forum.djangoproject.com/u/theorangeone)\
**Post date:** [June 27, 2024, 9:29am UTC](https://forum.djangoproject.com/t/how-to-use-mysql-hints-via-orm/32504/2 "2024-06-27T09:29:25Z")

</div>

Unfortunately it’s not possible at the moment, without modifying the query yourself (ie outside of the ORM). There’s some work being done at the moment to add [comments to queries](https://code.djangoproject.com/ticket/24638), but those probably won’t work as you need them.

If you think it’d be a useful feature for Django, raising a feature-request might be the way to go: [https://code.djangoproject.com/newticket](https://code.djangoproject.com/newticket)
