# How to query from related field

**URL:** <https://community.dreamfactory.com/t/how-to-query-from-related-field/4107>\
**Category:** uncategorized\
**Created:** [October 2, 2017, 8:18am UTC](https://community.dreamfactory.com/t/how-to-query-from-related-field/4107 "2017-10-02T08:18:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alvin\_Pancakie](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/alvin_pancakie/32/1066_2.png) [@Alvin\_Pancakie](https://community.dreamfactory.com/u/Alvin_Pancakie)\
**Post date:** [October 2, 2017, 8:18am UTC](https://community.dreamfactory.com/t/how-to-query-from-related-field/4107/1 "2017-10-02T08:18:54Z")

</div>

Lets say i make a get request for user and there is a related field called programme\_by\_user\_ID. How do i make filter query to the fields in programme\_by\_user\_ID

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [October 5, 2017, 4:10pm UTC](https://community.dreamfactory.com/t/how-to-query-from-related-field/4107/2 "2017-10-05T16:10:42Z")

</div>

Check out this blog I wrote on filtering related data: [https://blog.dreamfactory.com/event-scripts-filter-related-data](https://blog.dreamfactory.com/event-scripts-filter-related-data)
