PullRequestComments
Returns data from pull request comments table.
Select
本製品 は Backlog API を使用して、以下のカラムと演算子で構築されたWHERE 句条件を処理します。リクエストを行うにはProjectId、RepositoryId、PullRequestNumber が必要です。その他のフィルタはクライアント側で本製品 内部で処理されます。
- ProjectId は'=' をサポートしています。
- RepositoryId は'=' をサポートしています。
- PullRequestNumber は'=' をサポートしています。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM PullRequestComments WHERE ProjectId = 114706 AND RepositoryId = 22462 AND PullRequestNumber = 2
Insert
挿入は、ProjectId、RepositoryId、PullRequestNumber およびContent を指定することで実行できます。
INSERT INTO PullRequestComments (ProjectId, RepositoryId, PullRequestNumber, Content) VALUES ('114706', '22462', '2', 'FirstComment')
Update
UPDATE PullRequestComments SET Content = 'Third' WHERE ProjectId = 114706 AND RepositoryId = 22462 AND PullRequestNumber = 2 AND ID = 3
Delete
削除はこのテーブルではサポートされていません。
Columns
| Name | Type | ReadOnly | Description |
| ProjectId | Int | False | |
| RepositoryId | Int | False | |
| PullRequestNumber | Int | False | |
| Id [KEY] | Int | False | |
| Content | String | False | |
| Created | Datetime | True | |
| Updated | Datetime | True | |
| CreatedById | Int | True | |
| CreatedByUserId | String | True | |
| CreatedByName | String | True | |
| CreatedByRoleType | Int | True | |
| CreatedByLanguage | String | True | |
| CreatedByMailAddress | String | True | |
| CreatedByNulabAccountName | String | True | |
| CreatedByNulabId | String | True | |
| CreatedByNulabAccountUniqueId | String | True |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| NotifiedUserId | String |