JDBC Driver for Kintone

Build 24.0.8963

PerRecordNotifications

kintone の利用可能なレコードの条件通知の設定を更新およびクエリします。

Select

WHERE 句ではAppId カラムが必須です。本製品 はKintone API を使用してこのカラムによる結果をフィルタリングします。デフォルトでは、本製品 はクライアント側で本製品 内で他のフィルタを処理します。

例えば、次のクエリはサーバー側で処理されます。

SELECT * FROM PerRecordNotifications WHERE AppId = 6
SELECT * FROM PerRecordNotifications WHERE AppId = 6 AND Lang = 'en'
SELECT * FROM PerRecordNotifications WHERE AppId = 6 AND IsPreview = false

Update

PerRecordNotifications を更新するには、Notifications を集計として指定します。PerRecordNotifications を更新するには、AppId カラムが必須です。

UPDATE PerRecordNotifications SET Notifications = '[{"filterCond":"Record_number = 18","title":"Test Title","targets":[{"entity":{"type":"FIELD_ENTITY","code":"Created_by"},"includeSubs":false}]}]' WHERE AppId = 6

Columns

Name Type ReadOnly References Description
AppId [KEY] Integer False

kintone アプリケーションのアプリID。

FilterCond String False

レコードの条件。クエリ形式で表されます。

Title [KEY] String False

通知内容。

Targets String False

通知先の対象の一覧。

Revision String True

アプリの設定のリビジョン番号。

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Lang String

取得する名称の言語。

IsPreview Boolean

False に設定することで、運用環境のアプリのPerRecordNotifications の詳細を取得することができます。デフォルト値はtrue です。

Notifications String

Update の実行にのみ使用されます。

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.8963