iOS SimpleDB Select by date -


good day,

i trying select item on simpledb using ios sdk. issue way know how use simpledbgetattributesrequest item name, check date attribute , see if matches 1 requested.

this horrible way have keep querying entire database this. there easy way check attributes rather name, or way select date?

i'm not ios sdk expert, sounds simpledbselectrequest work selectexpression :

select * your_domain your_date = '1970-01-01' 

if know date, or:

select * your_domain your_date between '1970-01-01' , '1970-01-05' 

if know date range.

remember simpledb treats dates strings, format dates appropriately in query match way storing them.

-larry


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -