execute_sql_query_on_profile_database = { label = "Execute SQL Query on Profile Database" shortcut = "esqopd" requires_profile = true parameters = { query = { shortcut = "q" required = true } update_tables = { shortcut = "ut" type = bool required = false default = false } } expression = ` include("lib.table.table_as_string"); # Run the query table result = database_sql_query(query, true, update_tables); # Dump the table string tableDump = table_as_string(result); echo(tableDump); # Free the table unload_table(result); ` } # execute_sql_query_on_profile_database