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