JDBC Driver for GitHub

Build 22.0.8462

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 driver will use the login name of the authenticated user.

Select

The driver uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The driver processes other filters client-side within the driver. 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: =
For example, the following queries are processed server side:
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.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462