Output Arcade SQL queries to console()

03-17-2022 08:03 PM
Status: Open
Labels (1)
Frequent Contributor II

When writing Arcade scrips that make queries to the DB:

It would help to see what SQL is being used, by outputting the SQL to the console().

For example, I’m an SQL guy, yet I find the GroupBy() function easy to mess up. It would help if I could easily see the SQL that’s being sent to the DB — to make sure the query is right.

Could Esri consider making the SQL text available as a variable, so that we can output it to the console for debugging purposes?

Tags (1)