Query for multiple IDs?

21 views
Skip to first unread message

David Simmons

unread,
May 29, 2016, 5:20:37 PM5/29/16
to LoopbackJS
Is there a way to query a MongoDB vi loopback for multiple IDs? I have an array of MongoDB ids, and I need to get back the JSON Objects for all of them via  single query. 

I can only see /api/db/{id} but no way to query for multiple ids at the same time. Is this possible?

dg

Heath Morrison

unread,
May 29, 2016, 5:30:58 PM5/29/16
to loopb...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "LoopbackJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loopbackjs+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/loopbackjs/bf92b6d0-29db-49d8-828f-c3ce0b8ad1b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages