Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 986c15c commit c1efb7fCopy full SHA for c1efb7f
1 file changed
docs/codeql/writing-codeql-queries/introduction-to-ql.rst
@@ -61,12 +61,6 @@ Write a query which returns the length of the string ``"lgtm"``. (Hint: `here <h
61
62
➤ `Check your answer <#exercise-1>`__
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
Exercise 2 - Numbers
71
~~~~~~~~~~~~~~~~~~~~
72
@@ -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
+.. code-block:: ql
+ select "lgtm".length()
185
186
Exercise 2
187
~~~~~~~~~~
0 commit comments