We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 185759c commit 9c37509Copy full SHA for 9c37509
Background Scripts/SQL Checker/SQLChecker.js
@@ -0,0 +1,12 @@
1
+// This example demonstrates how it is possible to see the generated SQL query without enabling the SQL debug feture in the navigator
2
+try {
3
+ gs.trace(true);
4
+ var incGr = new GlideRecord("incident");
5
+ incGr.setLimit(10);
6
+ incGr.orderByDesc("sys_created_on");
7
+ incGr.query();
8
+ // TODO any other logic comes here...
9
+}
10
+finally {
11
+ gs.trace(false);
12
0 commit comments