Page 1 of 1

Query of User database not functioning

Posted: Wed Jul 01, 2015 5:48 am
by A.W.H.

I'm trying to filter the database of messages by user.

Help!

Image Image Image


Query of User database not functioning

Posted: Wed Jul 01, 2015 4:41 pm
by Serhii Kulibaba

Hello Avery,

This is incorrect where parameter:

{"ping_reciever":user_id}

Please add mapping to the where paremeter instead of user_id, and add here JS:

return '{"ping_reciever":"' + value + '"}';


Query of User database not functioning

Posted: Wed Jul 01, 2015 10:48 pm
by A.W.H.

Where do I add the javascript

"return '{"ping_reciever":"' + value + '"}';"

?


Query of User database not functioning

Posted: Wed Jul 01, 2015 10:50 pm
by A.W.H.

I get the error "Value is not defined"


Query of User database not functioning

Posted: Fri Jul 03, 2015 7:24 pm
by Serhii Kulibaba

You should add this code on the "where" parameter's mapping. E.g. from input component: http://prntscr.com/7ogj6o


Query of User database not functioning

Posted: Sun Jul 05, 2015 2:22 am
by A.W.H.

Error. Still not able to find the correct query

Image Image Image


Query of User database not functioning

Posted: Mon Jul 06, 2015 5:29 am
by A.W.H.

?


Query of User database not functioning

Posted: Mon Jul 06, 2015 5:58 am
by A.W.H.

Got it, thank you