Skip to content

Commit

Permalink
Merge pull request #6322 from shati-patel/shati-patel/docs-multi-dbs-…
Browse files Browse the repository at this point in the history
…vscode

Docs: Running query on multiple DBs in CodeQL for VS Code
  • Loading branch information
shati-patel authored Aug 18, 2021
2 parents cc4fe73 + 69dab49 commit 089077e
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------------------

Expand Down

0 comments on commit 089077e

Please sign in to comment.