Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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