CreateSchema
Creates a schema definition of a table in Couchbase. Results may change depending of the value of FlattenObjects, FlattenArrays, and TypeDetectionScheme.
Input
Name | Type | Required | Accepts Output Streams | Description |
TableName | String | True | False | The name of the table. |
FileName | String | False | False | The full file path and name of the schema to generate. Ex : 'C:\\Users\\User\\Desktop\\Couchbase\\sheet.rsd' |
Overwrite | String | False | False | Will delete any existing schema file for this table. |
FileStream | String | False | True | Stream to write the schema to. Only used if FileName is not provided. |
Result Set Columns
Name | Type | Description |
Result | String | Whether or not the schema was successfully built. |
FileData | String | The content of the schema encoded as base64. Only returned if the FileName and FileStream are not provided. |