Reading a Sqlite database using client-side javascript
Ever had one of those problems at work that seems almost impossible (i.e. very hard) to solve at first? well i did and not so long ago, and tuns out that there is a solution to it. Problem Read the contents of a Sqlite database client-side and present them in an HTML based GUI. So my first reaction was, even if there is a solution to this, it surely cant be very efficient reading an entire Sqlite database client-side? well those were the requirements and there were some genuine reasons to back up those requirements, so i had to stop whinging and direct my efforts towards an actual solution. Solution Turns out that there is a solution for this! Ever heard of emscripten ? Funnily enough i had used it while doing my research to port the OpenCV library to javascript. Anyway there is sql.js , which is a javascript port of the Sqlite database, which could do what i wanted it to do. The problem is the documentation of ...