Skip to content

Commit 089077e

Browse files
authored
Merge pull request github#6322 from shati-patel/shati-patel/docs-multi-dbs-vscode
Docs: Running query on multiple DBs in CodeQL for VS Code
2 parents cc4fe73 + 69dab49 commit 089077e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/codeql/codeql-for-visual-studio-code/analyzing-your-projects.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@ For example, in the following snippet, you could select the predicate name ``foo
9797
9898
predicate foo(string s) { s = "bar" }
9999
100+
Running a query on multiple databases
101+
--------------------------------------
102+
103+
This is helpful if you want to test your query on multiple codebases, or find a vulnerability in multiple projects.
104+
105+
#. Open a query (``.ql``) file.
106+
#. Right-click and select **CodeQL: Run Query on Multiple Databases**.
107+
#. From the dropdown menu, select the databases that you want to run the query on.
108+
100109
Viewing previous queries
101110
--------------------------
102111

0 commit comments

Comments
 (0)