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

Indexed db adapter - allow multiple records #175

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

paolooo
Copy link

@paolooo paolooo commented Aug 1, 2013

See issue on http://stackoverflow.com/questions/17948230/lawnchair-indexeddb-doesnt-support-multiple-records

Solution:

Lawnchair({
     adapter:'indexed-db',
     name:'stores',
     record:'nike',
     records:['nike','adidas']    // by adding option records []
})

…ect_stores by adding a list value on option.records = []. example: `var options = {adapter:'indexed-db', name:'db_name', record:'objectStore1', records:['objectStore1', 'objectStore2', 'objectStoreN']}`
…ect_stores by adding a list value on option.records = []. example: `var options = {adapter:'indexed-db', name:'db_name', record:'objectStore1', records:['objectStore1', 'objectStore2', 'objectStoreN']}`
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

Successfully merging this pull request may close these issues.

1 participant