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 本製品 will use the login name of the authenticated user.
Select
The 本製品 uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.
The 本製品 processes other filters client-side within the 本製品. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.
- 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. |