JayData Pro does support transactions, it's free for non-commercial use and payware for commercial use.
Wrapper to support both webSql and indexedDB?
-
27-06-2022 - |
Вопрос
My application should support offline mode on the following browsers:
- IE
- Chrome
- Firefox
- Safari (supports WebSQL only)
and also application using KendoUI for UI. I have looked at JayData which looks good fit for my requirement but I heard JayData wouldn't support some good features like Transactions and so. please share your feedback on Jaydata. also suggest best wrapper to support both webSql and indexedDB?
Решение 2
Другие советы
facebook has an indexeddb polyfill, although there is a bug with indices.
my fork (branch:index_fix) has a fix and a pull request is pending. note: the minified js was not updated, use un-minified version
I have two indexedDB apps and i dropped indexedDB.polyfill.js in there and everything worked perfectly on safari (OSX and iOS)
Suitable library depends on use case.
Try my open source library, ydn-db,http://dev.yathit.com/api-reference/ydn-db/storage.html lt supports all of those features.
I will use jaydata for backend sync with odata service. Otherwise, too heavy. Ydn-db itself is heavy. There are many thin wrapper out there. Use facebook indexeddb polyfill for websql.