Table of Contents

TTMSMCPStellarDS.DeleteRecord Method

Deletes a single record from a table.

API unit family: TMS.MCP.StellarDS Declaring type: TTMSMCPStellarDS

Syntax

function DeleteRecord(const AProjectId: string; ATableId: Int64; ARecordId: Integer): TJSONValue;

Remarks

The deletion cannot be undone, and the call answers nil rather than raising an error when the record does not exist.

Parameters

Name Description
AProjectId Identifier of the project that holds the table.
ATableId Numeric identifier of the table to delete from.
ARecordId Identifier of the record to delete.

Returns

In moSync, the parsed response body confirming the deletion. 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.