Data.Cloud.AmazonAPI.TAmazonTableService.DeleteRow

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DeleteRow(const TableName, RowId: string; Conditionals: TList<TAmazonRowConditional>;  ResponseInfo: TCloudResponseInfo = nil): Boolean; overload;
function DeleteRow(const TableName, RowId: string; ResponseInfo: TCloudResponseInfo = nil): Boolean; overload;

C++

bool __fastcall DeleteRow(const System::UnicodeString TableName, const System::UnicodeString RowId, System::Generics::Collections::TList__1<TAmazonRowConditional>* Conditionals, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0))/* overload */;
bool __fastcall DeleteRow(const System::UnicodeString TableName, const System::UnicodeString RowId, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0))/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Data.Cloud.AmazonAPI.pas
Data.Cloud.AmazonAPI.hpp
Data.Cloud.AmazonAPI TAmazonTableService

Description

Deletes the specified row from the given table.

There are two DeleteRow overloaded methods.

For the first one you can customize the request through the Conditionals parameter. The optional Conditionals specify the conditions when the deletion should happen, and when it should not. For more information, see the documentation for TAmazonRowConditional.

DeleteRow returns True if the deletion terminates without an exception being thrown, False otherwise.

The following table shows the significance of the parameters:

Parameter Description

TableName

The name of the table the row is in.

RowId

The name of the row to delete.

Conditionals

The optional conditionals to be met for the deletion to happen.

ResponseInfo

The optional class for storing response info into.

See Also