RepositoryBranches
Lists information about branches in repositories.
View-Specific Information
Select
The 本製品 uses the GitHub API to process WHERE clause conditions that are built with the following columns and operators.
- Name supports the =, IN comparison operators.
- RepositoryName supports the =, IN comparison operators. When querying RepositoryBranches, applying this filter is recommended to improve query efficiency.
- OwnerLogin supports the =, IN comparison operators.
For example, the following queries are processed server-side:
SELECT * FROM [RepositoryBranches]
SELECT * FROM [RepositoryBranches] WHERE [Name] = 'Val1'
SELECT * FROM [RepositoryBranches] WHERE [RepositoryName] = 'Val1'
SELECT * FROM [RepositoryBranches] WHERE [OwnerLogin] = 'Val1'
The 本製品 processes other filters client-side within the 本製品.
Columns
| Name | Type | References | OrderBySupport | Description |
| Id [KEY] | String | The ID of the branch. | ||
| Name | String | The branch name. | ||
| Prefix | String | The branch prefix. | ||
| TargetId | String | The ID of the object the ref points to. | ||
| TargetOid | String | The Git object ID of the object the ref points to. | ||
| RepositoryId | String | The ID of the repository. | ||
| RepositoryName | String | The name of the repository. | ||
| OwnerLogin | String | The login field of a user or organization. |