workspaces_file_diff
Creates, updates, deletes, gets or lists a workspaces_file_diff
resource.
Overview
Name | workspaces_file_diff |
Type | Resource |
Id | google.dataform.workspaces_file_diff |
Fields
Name | Datatype | Description |
---|---|---|
formattedDiff | string | The raw formatted Git diff for the file. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
fetch_file_diff | SELECT | locationsId, projectsId, repositoriesId, workspacesId | Fetches 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 }}';