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

[Question] mix getAllDataForKey and getIdsForKey together #79

Open
cyclops24 opened this issue Apr 1, 2017 · 2 comments
Open

[Question] mix getAllDataForKey and getIdsForKey together #79

cyclops24 opened this issue Apr 1, 2017 · 2 comments

Comments

@cyclops24
Copy link

Hi @sunnylqm I need same thing as @dzeroone said in #59.
Now getAllDataForKey only return data and getIdsForKey only contains Ids. How we can mix this two function in a right way?

Please guide me. Thanks for your attention.

@sunnylqm
Copy link
Owner

sunnylqm commented Apr 1, 2017

My suggestion is to save id in your rawData, so getAllDataForKey also get ids.

@cyclops24
Copy link
Author

cyclops24 commented Apr 1, 2017

@sunnylqm, Thanks man.
It's worked well but I think if we have a new mix function and prevent add id to rawData it's prevent some data redundancy. (It's just a suggestion) 😉

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

2 participants