TTMSMCPStellarDS.DeleteField Method
Removes a field from a table.
API unit family: TMS.MCP.StellarDS
Declaring type: TTMSMCPStellarDS
Syntax
function DeleteField(const AProjectId: string; ATableId, AFieldId: Integer): TJSONValue;
Remarks
The field and the values stored in it are gone afterwards and cannot be recovered.
Parameters
| Name | Description |
|---|---|
AProjectId |
Identifier of the project that holds the table. |
ATableId |
Numeric identifier of the table the field belongs to. |
AFieldId |
Identifier of the field 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.