Question

Can I delete by attribute in SimpleDB without providing an ItemName parameter in the query string? The way I store my data is the item names are UUIDs, so I don't know the UUID of the data I want to delete. Is there a way to just specify an attribute and have it delete all items with that attribute?

Was it helpful?

Solution

There isn't a way to delete without the item name, but you can use a SELECT to get the items to be deleted:

select itemName() from MyDomain where MyAttribute = 'foo'
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top