adam griffin
Posts: 0
Joined: Tue May 21, 2013 8:44 pm

No response when querying a pointer using an array of ids

At first I thought the Ids did not have any response until I tested with one Id and got a response.
code
{"Post_Pointer":
{"collName":"Post_Timeline", "_id": '538a4a57e4b0d8c87ceb6b1f'
}
}
/code
Image

So clearly it has a response, but when I try in an array there is no response
code
{"Post_Pointer":
{"collName":"Post_Timeline", "_id":
{"$in":['538a4a57e4b0d8c87ceb6b1f','53a9163ce4b09f5c7d4f25ae']
}
}
}
/code
Image

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

No response when querying a pointer using an array of ids

Hi Adam,

This is a bug unfortunately.
We are working on it.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

No response when querying a pointer using an array of ids

Hello Adam,

Sorry for misunderstanding, but it is not a bug.
Correct syntax would be like this:

pre{"ActionPointer": {"$in": ['538a4a57e4b0d8c87ceb6b1f','53a9163ce4b09f5c7d4f25ae']}}/pre

adam griffin
Posts: 0
Joined: Tue May 21, 2013 8:44 pm

No response when querying a pointer using an array of ids

I tried this way and it still shows no results
code{"Post_Pointer": {"$in": ['53d6db48e4b0d6ce211ab727','53a9163ce4b09f5c7d4f25ae']}}/code

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

No response when querying a pointer using an array of ids

Hi Adam,

For your case you need to use "$inQuery" clause:
http://devcenter.appery.io/documentat...

Please use following "where":

pre

{"Post_Pointer": {"$inQuery": {_id: { "$in": ["53d6db48e4b0d6ce211ab727", "53a9163ce4b09f5c7d4f25ae"] } } }}

/pre

Regards.

Return to “Issues”