# SQL not available in segment filtering

**URL:** <https://community.forestadmin.com/t/sql-not-available-in-segment-filtering/6689>\
**Category:** Help me!\
**Tags:** howtos, typescript\
**Created:** [September 21, 2023, 12:21pm UTC](https://community.forestadmin.com/t/sql-not-available-in-segment-filtering/6689 "2023-09-21T12:21:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [September 21, 2023, 12:38pm UTC](https://community.forestadmin.com/t/sql-not-available-in-segment-filtering/6689/2 "2023-09-21T12:38:47Z")

</div>

Hello @vit,

This feature is not compatible with `@forestadmin/agent` at the moment.

You can either use the filters that are displayed in the UI, or create a [segment directly in the code](https://docs.forestadmin.com/developer-guide-agents-nodejs/agent-customization/segments), where you have full control of the requested elements.

I’ll add this feedback to our product board in order to have it prioritized.

---

_[View the full topic](https://community.forestadmin.com/t/sql-not-available-in-segment-filtering/6689)._
