Skip to content

Commit 0518eda

Browse files
committed
Remove import tutorial
1 parent dee6635 commit 0518eda

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

docs/codeql/writing-codeql-queries/introduction-to-ql.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ Here is an example of a basic query:
2525

2626
.. code-block:: ql
2727

28-
import tutorial
29-
3028
select "hello world"
3129

3230
This query returns the string ``"hello world"``.
@@ -165,8 +163,6 @@ Exercise 1
165163

166164
.. code-block:: ql
167165
168-
import tutorial
169-
170166
from string s
171167
where s = "lgtm"
172168
select s.length()
@@ -175,17 +171,13 @@ There is often more than one way to define a query. For example, we can also wri
175171

176172
.. code-block:: ql
177173
178-
import tutorial
179-
180174
select "lgtm".length()
181175
182176
Exercise 2
183177
~~~~~~~~~~
184178

185179
.. code-block:: ql
186180
187-
import tutorial
188-
189181
from float x, float y
190182
where x = 3.pow(5) and y = 245.6
191183
select x.minimum(y).sin()
@@ -195,8 +187,6 @@ Exercise 3
195187

196188
.. code-block:: ql
197189
198-
import tutorial
199-
200190
from boolean b
201191
where b = false
202192
select b.booleanNot()
@@ -206,8 +196,6 @@ Exercise 4
206196

207197
.. code-block:: ql
208198
209-
import tutorial
210-
211199
from date start, date end
212200
where start = "10/06/2017".toDate() and end = "28/09/2017".toDate()
213201
select start.daysTo(end)

0 commit comments

Comments
 (0)