James
James

Reputation: 718

Remove "Column" Name / Attribute in SimpleDB

I have a table (Domain) in AWS Simple DB and I would like to remove a single column from the "schema".

Was this possible to do somehow without recreating the whole table (Domain)?

Thanks

Upvotes: 0

Views: 70

Answers (1)

gary
gary

Reputation: 695

Sure, the command is called DeleteAttributes

From the docs

Deletes one or more attributes associated with the item. If all attributes of an item are deleted, the item is deleted.

I suppose you are doing this on many items, so you should probably look at BatchDeleteAttributes

From the docs

Performs multiple DeleteAttributes operations in a single call, which reduces round trips and latencies. This enables Amazon SimpleDB to optimize requests, which generally yields better throughput.

Hope it helps

Upvotes: 1

Related Questions