Roy Hashimoto
Roy Hashimoto
UPDATE: Code links in this comment are stale. Check the thread for the latest info. I have an [experimental sql.js branch](https://github.com/rhashimoto/sql.js/tree/vfs) with changes that enable defining a [SQLite VFS](https://sqlite.org/vfs.html) in...
A statement provided by [StatementIterator](https://sql.js.org/documentation/StatementIterator.html) can be leaked until the Database is closed if the iterator is not run to completion. A statement is not freed until [`next`](https://github.com/sql-js/sql.js/blob/1223603d1e1db658a9d325ebf92d95906b04149d/src/api.js#L719) is called...
Database.each() is [documented](https://sql-js.github.io/sql.js/documentation/class/Database.html#each-dynamic) as returning the Database instance: > Returns: > ( Database ) — The database object. Usefull for method chaining The source code, however, shows that it returns...
**Describe the bug** When using the yarn package manager with PnP, mwc-icon-button (at 0.25.3) is missing a dependency on @material/mwc-base, which is only provided as a devDependency. **To Reproduce** Steps...
The spec for close() does not guarantee a flush. From https://fs.spec.whatwg.org/#dom-filesystemsyncaccesshandle-close > Note: This method does not guarantee that all file modifications will be immediately reflected in the underlying storage...
See [discussion](https://github.com/rhashimoto/wa-sqlite/discussions/186). There's a pretty easy workaround so not high priority, but it makes sense and shouldn't be difficult to add.
I think this is more likely to be a Chromium bug and I have [filed a bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1518374&q=&can=4) there, but I don't understand the details well enough to know for sure....
Created just to run tests. No merge planned.
Some SQL dialects have different ways to start a transaction for write or read-only. I'm writing a driver for SQLite, which has `BEGIN DEFERRED` and `BEGIN IMMEDIATE`. Postgresql and MySQL...