SavedSearches
Query any saved searches
テーブル固有の情報
Select
WHERE 句で任意の条件を使用して、Saved Searches テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。
SELECT * FROM [Saved Searches] WHERE Contents LIKE '%account%' AND [Date Created] > '2017-08-09'
Insert
書き込み可能なカラムを指定して、Saved Search を作成します。
INSERT INTO [Saved Searches] (Name, Module, Contents) VALUES ('Search 1', 'Opportunities', 'growth chance')
Update
Id を指定して、書き込み可能なSaved Search カラムを更新できます。
UPDATE [Saved Searches] SET Contents = 'ideas' WHERE Id = 'Test123'
Delete
Id を指定して、Saved Search を削除します。
DELETE FROM [Saved Searches] WHERE Id = 10003
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
The unique identifier of the saved search. |
AssignedUserId | String | False |
User Id assigned to the record. |
AssignedUserName | String | True |
The user name of the user assigned to the record. |
Contents | String | False |
The contents of the saved search. |
LBL_CREATED_BY | Bool | False |
The record deletion indicator. |
DateCreated | Datetime | True |
The date the record was created. |
DateModified | Datetime | True |
The date the record was last modified. |
Description | String | False |
The description of the role. |
Module | String | False |
The search's target module. |
Name | String | False |
The name of the saved search. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |