hatem mabrouk
Posts: 0
Joined: Wed Jun 04, 2014 5:39 pm

"where" condition in REST request ant can't retrieving distinct values on android 2.2

when a run this service on test and on android 4 it return a correct result which
i want by where condition

but when i run this service on android 2.2 it returns all rows from the collection
Image

Image
Image
Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

"where" condition in REST request ant can't retrieving distinct values on android 2.2

Hello,

1) Please use alert function to check value, also look whether value send to Android 4 and 2.3 is the same.
2) There is no need to use parseInt as you stringify it

hatem mabrouk
Posts: 0
Joined: Wed Jun 04, 2014 5:39 pm

"where" condition in REST request ant can't retrieving distinct values on android 2.2

this is data mapping result is different android 2.2 return all rows and no sort
Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

"where" condition in REST request ant can't retrieving distinct values on android 2.2

Hello,

Is it only sorting that doesn't work? Does where parameter work properly?

Please try to add this parameter by adding the code to mapping:
pre
return '{"colName":"value"}';
/pre

hatem mabrouk
Posts: 0
Joined: Wed Jun 04, 2014 5:39 pm

"where" condition in REST request ant can't retrieving distinct values on android 2.2

the where parameter doesn't work properly and sorting doesn't work

hatem mabrouk
Posts: 0
Joined: Wed Jun 04, 2014 5:39 pm

"where" condition in REST request ant can't retrieving distinct values on android 2.2

sorting doesn't work
where parameter doesn't work properly

i have already add this code and it doesn't work properly

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

"where" condition in REST request ant can't retrieving distinct values on android 2.2

Hi Hatem,

Sorry, we don't support Android 2.2 because we use native code which could not be compiled for this platform version. Android 2.3 is still supported.

hatem mabrouk
Posts: 0
Joined: Wed Jun 04, 2014 5:39 pm

"where" condition in REST request ant can't retrieving distinct values on android 2.2

i tested this this query on android 2.3 and still not work

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

"where" condition in REST request ant can't retrieving distinct values on android 2.2

Hi Hatem,

Can you share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name? We'll test it on a device.

hatem mabrouk
Posts: 0
Joined: Wed Jun 04, 2014 5:39 pm

"where" condition in REST request ant can't retrieving distinct values on android 2.2

i shared my app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a
the app name is fayoum offers

Return to “Issues”