I am continued to get errors. I'm not sure if it matters, but I'm
getting back InvalidQueryExpression errors, even though this is a
Select expression (not sure if SimpleDB distinguishes). Here is my
very very simple query.
select * from mydomain
where mydomain is the name of the SimpleDB domain I'm working with. Do
be clear, here is the python code I am executing this with:
sdb_conn = SDBConnection
(config.aws.access_key_id,config.aws.secret_access_key)
domain = sdb_conn.get_domain("mydomain")
items = domain.select('select * from mydomain where
`item_id`="293773"')
The above code does not work, the following does:
sdb_conn = SDBConnection
(config.aws.access_key_id,config.aws.secret_access_key)
domain = sdb_conn.get_domain("mydomain")
items = domain.query("['item_id' = '293773']")
For the first snippet, I get:
SDBResponseError: SDBResponseError: 400 Bad Request <?xml
version="1.0"?> <Response><Errors><Error><Code>InvalidQueryExpression</
Code><Message>The specified query expression syntax is not valid.</
Message><BoxUsage>0.0000137200</BoxUsage></Error></
Errors><RequestID>203a41ba-b446-75c5-b388-fb0ecefd51bb</RequestID></
Response>
I am utterly confused.
-David