Synchronous query to Web SQL Database
I'm working on a bit of JavaScript that interacts with a client-side SQLite database, via the newish window.openDatabase(...) , database.transaction(...) and related APIs. As most of you know when you execute a query in this way it is an asynchronous call, which is typically good. You can make the call and handle the results as appropriate with callbacks. In my current situation I'm working on an algo for a client that does some hierarchy walking in the locally stored database. The part of the algo I'm having trouble with requires starting at some row, which has a reference to a "parent" (by