Merge pull request #6322 from shati-patel/shati-patel/docs-multi-dbs-vscode

Docs: Running query on multiple DBs in CodeQL for VS Code
This commit is contained in:
Shati Patel
2021-08-18 16:41:10 +01:00
committed by GitHub

View File

@@ -97,6 +97,15 @@ For example, in the following snippet, you could select the predicate name ``foo
predicate foo(string s) { s = "bar" }
Running a query on multiple databases
--------------------------------------
This is helpful if you want to test your query on multiple codebases, or find a vulnerability in multiple projects.
#. Open a query (``.ql``) file.
#. Right-click and select **CodeQL: Run Query on Multiple Databases**.
#. From the dropdown menu, select the databases that you want to run the query on.
Viewing previous queries
--------------------------