ストアドプロシージャ
ストアドプロシージャはファンクションライクなインターフェースで、Cloudant の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらず本製品 の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにCloudant から関連するレスポンスデータを返します。
CData Code Assist MCP for Cloudant ストアドプロシージャ
| Name | Description |
| CreateSchema | Creates a schema definition of a table in Cloudant. Control column discovery with FlattenObjects, FlattenArrays, TypeDetectionScheme, and RowScanDepth. |
| GetDocumentOnRevision | Retrieves the full content of a Cloudant document as it existed in a specific revision. This enables you to view or work with the document’s state at a particular point in its revision history. |
| GetOAuthAccessToken | Gets an authentication token from IBM Cloud. The connection property ApiKey must be specified when calling this stored procedure. |
| RefreshOAuthAccessToken | This stored procedure is deprecated due to deprecation of OAuth authscheme and will be removed in the next major version of the driver. Refreshes the OAuth access token used for authentication with IBM Cloud. The connection property ApiKey must be specified when calling this stored procedure. |