tag:blogger.com,1999:blog-6574026339220856447.post2227032373956728962..comments2024-01-27T14:51:13.233-08:00Comments on A programmer's blog: Getting started with Amazon's DynamoDB in PythonOrlandohttp://www.blogger.com/profile/05288624373173404850noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6574026339220856447.post-64912289888808276112014-01-13T02:34:23.918-08:002014-01-13T02:34:23.918-08:00The problem is with your imports...You can do it t...The problem is with your imports...You can do it this way:<br />records = table.scan(scan_filter={'username':boto.dynamodb.condition.CONTAINS('Mik')})<br />And don't forget to import "import boto.dynamodb.condition"Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6574026339220856447.post-5972497292837354772013-04-03T05:20:59.236-07:002013-04-03T05:20:59.236-07:00Are you sure you have data that has lowercase o ? ...Are you sure you have data that has lowercase o ? maybe you have it only uppercase ? did you use 'username' in lowercase ?<br /><br />Actually, I see a typo in my code ... user_data has a name attribute, not username ... try users=table.scan(scan_filter={'name':CONTAINS('o')})Orlandohttps://www.blogger.com/profile/05288624373173404850noreply@blogger.comtag:blogger.com,1999:blog-6574026339220856447.post-61061072864746711912013-04-02T22:51:19.110-07:002013-04-02T22:51:19.110-07:00users=table.scan(scan_filter={'username':C...users=table.scan(scan_filter={'username':CONTAINS('o')})<br />it doesn't return any data for me it returns "" as result and i have data with that content in my table. Kindly help me..bibhttps://www.blogger.com/profile/01352672112519521934noreply@blogger.com