2012-01-23 25 views

回答

4

Scan API初步支持已被添加到博託的二層用於DynamoDB由克里斯·莫耶在commit 522e0548新增掃描到二層,表),並同時被米奇Garnaat在commit adeb7151上盪滌的掃描方法更新Layer2和Table。)隱藏layer1的詳細信息並啓用直觀的查詢 - 相應的issue #574目前預定將與boto 2.3一起發佈。

用法樣本隱含通過tests/dynamodb/test_layer2.py包括:

# Try scans 
results = table.scan([('Tags', 'CONTAINS', 'table')]) 
n = 0 
for item in results: 
    n += 1 
assert n == 2 
+0

這已更新[這裏](http://stackoverflow.com/questions/12664335/trouble-getting-a-dynamodb-scan-對工作與 - 博託) –

相關問題