Skip to main content

github_pr_info_results

Creates, updates, deletes, gets or lists a github_pr_info_results resource.

Overview​

Namegithub_pr_info_results
TypeResource
Idrailway.integrations.github_pr_info_results

Fields​

The following fields are returned by SELECT queries:

One GitHubPRInfoResult row.

NameDatatypeDescription
errorstring
pr_infoobjectGitHubPRInfo object

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectpr_number, service_idGet info for a GitHub pull request, including fetch errors. Backed by the Railway GraphQL query githubPRInfoResult.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
pr_numberinteger
service_idstring

SELECT examples​

Get info for a GitHub pull request, including fetch errors. Backed by the Railway GraphQL query githubPRInfoResult.

SELECT
error,
pr_info
FROM railway.integrations.github_pr_info_results
WHERE pr_number = '{{ pr_number }}' -- required
AND service_id = '{{ service_id }}' -- required
;