JDBC Driver for GitHub

Build 22.0.8462

Forks

Lists information about forks of 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, RepositoryName, and IsLocked support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM Forks WHERE IsLocked=true

Columns

Name Type OrderBySupport Description
Id [KEY] String The fork ID.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
Name String True The name of the fork.
Description String The fork description.
DescriptionHTML String The fork HTML description.
CreatedAt Datetime True The creation date of the fork.
UpdatedAt Datetime True The date when the fork was last updated.
PushedAt Datetime True The date the fork was first pushed.
IsLocked Boolean Whether the fork is locked.
Url String The HTTP URL for this fork.
MirrorUrl String The mirror URL of the fork.

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