Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Item in getItem #797

Open
channox32 opened this issue Feb 27, 2018 · 2 comments
Open

Multiple Item in getItem #797

channox32 opened this issue Feb 27, 2018 · 2 comments

Comments

@channox32
Copy link

channox32 commented Feb 27, 2018

I should be able to get multiple items in getItem

e.g

localForage.getItem(['forms',documents'], (err, value) => { forms = value[0], docs = value[1]})

Something like that!

@thgreasi
Copy link
Member

You can use localForage-getItems.
On the other hand, @tofumatt should we consider extending our API to bake this in v2 or v3?

@tofumatt
Copy link
Member

tofumatt commented Feb 27, 2018 via email

@thgreasi thgreasi reopened this Feb 27, 2018
@thgreasi thgreasi added this to the Version Future milestone Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants