Feature request: Retrieve multipe objects by IDs
See original GitHub issueI would be great to do this:
const customers = await stripe.customers.retrieve(['cus_12391239', 'cus_12392239'])
Instead of this:
const customers = await Promise.all([
stripe.customers.retrieve('cus_12391239'),
stripe.customers.retrieve('cus_12392239')
])
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Search multiple objects using ID - Salesforce Developers
I have a list of IDs which holds IDs of Contacts or Leads. I would like to search for Lead and Contact using...
Read more >Realm on Android - How to select multiple objects by list of ids ...
I'm building an Android app with the Realm database. I have a RealmObject subclass called Article which has an id field (it's and...
Read more >directoryObject: getByIds - Microsoft Graph v1.0
Returns the directory objects specified in a list of IDs.
Read more >Get objects API Reference - Algolia
The getObject method lets you retrieve a single object from a specified index. · The getObjects method lets you retrieve multiple objects from...
Read more >[Feature Request] v-select multiple not showing items having ...
Problem to solve I have an array of objects. For some objects in the array, the property name is the same but id...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A couple years later, but a suggestion for rate limiting:
I’ve successfully used “promise-pool” with Firebase Firestore - the equivalent of a rate-limited, concurrency-limited “Promise.all()”, which might be useful here.
Awesome, thanks!
I think we’d like to do something here, but I don’t anticipate it happening anytime soon. In the meantime, feel free to upvote the PR and use a helper like this!