Skip to content
Advertisement

WebSQL syntax on IndexedDb

I have an application that use WebSQL. I want to support IndexedDB too (For Browsers without WebSql support). Is there any libary that use sql-syntax but works with indexedDB / LocalStorage in background?

I don’t want to change all my querys and functions.

All libraries i found uses IndexedDb syntax and support WebSql. (Not what I need).

Thanks 🙂

Advertisement

Answer

You can use my library, ydn-db, for very simple sql query, which works with any web database.

For near full support for SQL, check out commercial SequelSphere js library http://www.sequelsphere.com/docs/latest/doc/Supported%20SQL.html. Unfortunately query execution is in-memory currently. Pricing is outrageously greedy.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement