Skip to main content

workspaces_file_diff

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

Overview

Nameworkspaces_file_diff
TypeResource
Idgoogle.dataform.workspaces_file_diff

Fields

NameDatatypeDescription
formattedDiffstringThe raw formatted Git diff for the file.

Methods

NameAccessible byRequired ParamsDescription
fetch_file_diffSELECTlocationsId, projectsId, repositoriesId, workspacesIdFetches Git diff for an uncommitted file in a Workspace.

SELECT examples

Fetches Git diff for an uncommitted file in a Workspace.

SELECT
formattedDiff
FROM google.dataform.workspaces_file_diff
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND repositoriesId = '{{ repositoriesId }}'
AND workspacesId = '{{ workspacesId }}';