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?
views:
356answers:
1
+2
A:
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
2009-09-18 03:36:14
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
2009-09-18 05:02:31