Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

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.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -