TTMSMCPStellarDS.DeleteTable Method
Removes a table, together with its fields and every record in it.
API unit family: TMS.MCP.StellarDS
Declaring type: TTMSMCPStellarDS
Syntax
function DeleteTable(const AProjectId: string; ATableId: Integer): TJSONValue;
Remarks
Nothing of the table survives the call and none of it can be recovered. Use ClearTable to empty a table while keeping its definition.
Parameters
| Name | Description |
|---|---|
AProjectId |
Identifier of the project that holds the table. |
ATableId |
Numeric identifier of the table to remove. |
Returns
In moSync, the parsed response body confirming the removal. nil in moAsync, and also in moSync when the request failed or came back with an empty body. The caller owns a returned value and has to free it; a server that called this as a tool frees it once the result has been serialized.