Retool Forum
How to reference the same query that is being used?
💬 App Building
javascript
,
sql
Oscar_Ortega
November 28, 2023, 8:59pm
2
Hi, you can reference the query itself with
self
image
786×242 21.7 KB
also there is a related post, might be helpful
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Error Handling & Queries - Part 2
💬 Queries and Resources
3
157
September 19, 2025
Catch Unexpected Bugs / Errors in Failure Event Handler
💬 Queries and Resources
bug
11
1597
September 8, 2025
Chaining "Run JS Code" queries and error handling
💬 App Building
javascript
4
390
October 18, 2024
Event handlers update: triggeredById broken / works differently now?
💬 App Building
10
2345
July 27, 2023
"Keep variable references inside the query in sync with your app" query option questions
💬 Queries and Resources
14
3087
August 2, 2023