Javascript database module for Indexeddb, Web SQL and localStorage storage mechanisms supporting version migration, advanced query, SQL and transaction.
Apache License 2.0
503
stars
41
forks
source link
Fix #90 : For index name comparaison indexOf is used instead of == #113
When using indexOf instead of == if a index name partially match
compouned index name, both index are considered as equal by the code.
IndexOf seems to be used because 'name' var is threated as an array.
getName definition states that the return type is a string so this fix
should be safe.
When using indexOf instead of == if a index name partially match compouned index name, both index are considered as equal by the code.
IndexOf seems to be used because 'name' var is threated as an array. getName definition states that the return type is a string so this fix should be safe.
This change is