Extension Config


To configure and customize your service plugin, you need to provide important details in the plugin.json configuration file.

If you created your service plugin extension with the CLI, required fields are automatically populated for you.

Configuration Params
namespacestring

The namespace of the external database. This can be used to access collections within the database, for example namespace/collectionId.


uriConfigSpiBaseUri

The URI where the service provider is deployed.


役に立ちましたか?
はい
いいえ

updateDataItems( )


重要だ: This is a handler function. Implement it only as part of the service plugin.


Updates one or more items in a collection. Items must be completely replaced.

The response array must include the same items that were updated, and each returned item must be added the _createdDate そして _updatedDate fields.

メソッド宣言
コピー
メソッド・パラメータ
payloadUpdateDataItemsEnvelope
リターン
Return Type:UpdateDataItemsResponse | Promise<UpdateDataItemsResponse>
役に立ちましたか?
はい
いいえ