ADO.NET Provider for GitHub

Build 25.0.9434

Labels

Maintains a catalog of labels available in a repository, enabling effective categorization and filtering of issues and pull requests.

Table-Specific Information

Select

The provider uses the GitHub API to process WHERE clause conditions that are built with the following column and operators:

  • Name supports the '=,IN' comparison operators.

For example, the following queries are processed server-side:

SELECT * FROM [Labels]
SELECT * FROM [Labels] WHERE [Name] = 'Val1'

The provider processes other filters client-side within the provider.

The provider uses the GitHub API to process ORDER BY clause conditions that are built with the following columns:

  • Name
  • CreatedAt

SELECT * FROM [Labels] ORDER BY [Name]
SELECT * FROM [Labels] ORDER BY [CreatedAt]

The provider processes ordering by other columns client-side within the provider.

Insert

You can use the following columns to create (insert) a new record:

  • Name
  • Description
  • Color

INSERT INTO [Labels] ([Name], [Description], [Color]) VALUES ('TestLabel', 'A test label.', 'ffffff')

Update

You can use the following columns to update a record:

  • Name
  • Description
  • Color

UPDATE [Labels] SET [Name] = 'ChangedName', [Description] = 'Changed description.', [Color] = 'd73a4a' WHERE [Id] = 'LA_kwDOLkrwGs8AAAACOC3ntw'

Delete

You can specify the following column to delete a record: Id

DELETE FROM [Labels] WHERE [Id] = 'LA_kwDOLkrwGs8AAAACOC3ntw'

Columns

Name Type ReadOnly References Description
Id [KEY] String True

A unique identifier for the label within the repository.

Name String False

The name of the label, used to categorize issues and pull requests.

Description String False

A short summary explaining the purpose or usage of the label.

Color String False

The hexadecimal color code representing the label's appearance.

IsDefault Bool True

Indicates whether this label is one of the repository's default labels.

ResourcePath String True

The relative HTTP path to access the label within the repository.

Url String True

The full HTTP URL to directly access the label.

UpdatedAt Datetime True

The date and time when the label was most recently updated.

CreatedAt Datetime True

The date and time when the label was originally created.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434