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?
Asked
Active
Viewed 1,681 times
1 Answers
3
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'

Darryl
- 1,531
- 15
- 26
-
Yeah, I don't want to do 2 queries so I switched away from UUIDs. This is exactly what I was looking for though, thanks! – Justin Poliey Sep 18 '09 at 05:02