Featured post
Querying Amazon's Simple DB using boto -
i must doing wrong, can't find on issue google. i'm using boto access sdb on amazon web services. can create new table, add items, , iterate on items in table, can't figure out how query them. "select" method there, "query" isn't. according documentation here: http://boto.s3.amazonaws.com/ref/sdb.html#module-boto.sdb.domain. it's possible use pythonic method query sdb, method doesn't exist me!
here small snippet of code might describe problem:
>>>domain = conn.get_domain('testtable') >>> domain.select() <boto.sdb.queryresultset.selectresultset object @ 0xb71bb2ac> >>> domain.query() traceback (most recent call last): file "<stdin>", line 1, in <module> attributeerror: domain instance has no attribute 'query'
has method been removed reason? i'm no expert in crafting queries, pointing me additional documentation regarding using select method great!
the "query" interface original search interface simpledb. set-based, non-standard , quite lovely, thought. however, on time aws introduced sql-like query language (accessed via select request) , deprecated , removed original query interface.
so, reason doesn't work in boto because no longer supported simpledb. more up-to-date boto documentation, here.
- Get link
- X
- Other Apps
Comments
Post a Comment