JDBC Driver for GitHub

Build 22.0.8462

Labels

Lists information about the different labels you can apply on an issue.

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, RepositoryName, and Name support the following operator: =
For example, the following queries are processed server side.
SELECT * FROM Labels WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

SELECT * FROM Labels WHERE Name = 'duplicate'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the label.
RepositoryName String The name of the repository.
UserLogin String The login name of the user.
Color String Identifies the label color.
CreatedAt Datetime True Identifies the date and time when the label was created.
Description String A brief description of this label.
IsDefault Boolean Indicates whether or not this is a default label.
Name String True Identifies the label name.
ResourcePath String The HTTP path for this label.
UpdatedAt Datetime Identifies the date and time when the label was last updated.
Url String The HTTP URL for this label.

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