JDBC Driver for GitHub

Build 24.0.9060

PullRequestFiles

Lists the files changed within pull requests.

View-Specific Information

Select

The driver uses the GitHub API to process WHERE clause conditions built with the below columns and operators. The driver processes other filters client-side within the driver.

  • PullRequestNumber supports the '=' comparison operator.
For example, the following query is processed server side:
SELECT * FROM [Repository].[PullRequestFiles] WHERE [Repository].[PullRequestFiles].[PullRequestNumber] = '100'

Columns

Name Type References OrderBySupport Description
PullRequestId [KEY] String The ID of the pull request.
PullRequestNumber Int Identifies the pull request number.
Path [KEY] String The path of the file.
ChangeType String How the file was changed in this PullRequest.
ViewerViewedState String The state of the file for the viewer.
Additions Int The number of additions to the file.
Deletions Int The number of deletions to the file.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060