File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
docs/codeql/writing-codeql-queries Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,6 @@ Write a query which returns the length of the string ``"lgtm"``. (Hint: `here <h
61
61
62
62
➤ `Check your answer <#exercise-1 >`__
63
63
64
- There is often more than one way to define a query. For example, we can also write the above query in the shorter form:
65
-
66
- .. code-block :: ql
67
-
68
- select "lgtm".length()
69
-
70
64
Exercise 2 - Numbers
71
65
~~~~~~~~~~~~~~~~~~~~
72
66
@@ -182,6 +176,12 @@ Exercise 1
182
176
from string s
183
177
where s = "lgtm"
184
178
select s.length()
179
+
180
+ There is often more than one way to define a query. For example, we can also write the above query in the shorter form:
181
+
182
+ .. code-block :: ql
183
+
184
+ select "lgtm".length()
185
185
186
186
Exercise 2
187
187
~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments