diff options
author | stephan <stephan@noemail.net> | 2023-01-28 04:20:46 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-01-28 04:20:46 +0000 |
commit | 65f7942d0678a56f788d54a636c9c30ed63b5ee6 (patch) | |
tree | d3d7ad55512c95b9ca137d605d7e0b760f8bf687 /ext/wasm/api/sqlite3-api-oo1.js | |
parent | cfd01014d0b5657a8b48d4c828405703cce9e941 (diff) | |
parent | 69141f52be6368d3510b551c74029e3600b6f4c2 (diff) | |
download | sqlite-65f7942d0678a56f788d54a636c9c30ed63b5ee6.tar.gz sqlite-65f7942d0678a56f788d54a636c9c30ed63b5ee6.zip |
Add JS bundler-friendly JS build. Minor test code cleanups.
FossilOrigin-Name: 24d3a53dea5e596230558e233cbbd9d0288b4c394cd5ea7b650fd99bff4cde2e
Diffstat (limited to 'ext/wasm/api/sqlite3-api-oo1.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-oo1.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-api-oo1.js b/ext/wasm/api/sqlite3-api-oo1.js index ba210e7f9..fddd7b38e 100644 --- a/ext/wasm/api/sqlite3-api-oo1.js +++ b/ext/wasm/api/sqlite3-api-oo1.js @@ -183,7 +183,7 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ checkSqlite3Rc( pDb, capi.sqlite3_exec(pDb, postInitSql, 0, 0, 0) ); - } + } }catch(e){ this.close(); throw e; @@ -791,6 +791,9 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ - `callback` and `resultRows`: permit an array entries with semantics similar to those described for `bind` above. + - If passed neither a callback nor returnValue but is passed a + rowMode, default to returning the result set. + */ exec: function(/*(sql [,obj]) || (obj)*/){ affirmDbOpen(this); |