couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svilen ...@svilendobrev.com>
Subject touchdb+ektorp woes
Date Wed, 05 Dec 2012 11:56:27 GMT
g'day
not sure if this is the proper place to ask..

i'm trying to use Touchdb on Android. 
It is using Ektorp, and there's some defect in the POJO object Mapping. 

i've debugged it (very hard).. Ektorp's QueryResultParser
is expecting the properties of the result row (which is json object) to
be ordered id,key,value; while Touchdb is putting them in another
order (namely, value is before key). Hence the queryView( query,
some.class.to.map.to) never succeeds.
i'm not sure if the Ektorp's expectations are right (are attributes of
a js object ordered), or what.

anyone to suggest something?

the original iOS touchdb is my next step, i hope it is better there.

ciao
svilen

Mime
View raw message