Branches
Lists information about branches in a repository.
View-Specific Information
You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.
If you do not specify a UserLogin value, the adapter will use the login name of the authenticated user.
Select
The adapter uses the GitHub Data API API to restrict results to the specified UserLogin and RepositoryName values.
The adapter processes other filters client-side within the adapter.
- UserLogin and RepositoryName support the following operator: =
SELECT * FROM Branches WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'
Columns
Name | Type | OrderBySupport | Description |
Id [KEY] | String | The ID of the branch. | |
UserLogin | String | The login name of the user. | |
RepositoryName | String | The name of the repository. | |
Name | String | The branch name. | |
Prefix | String | The branch prefix. |