diff options
author | stephan <stephan@noemail.net> | 2023-01-27 19:56:40 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-01-27 19:56:40 +0000 |
commit | 6a3e2d377607ac7a8a3584a34ed7c22b665daacb (patch) | |
tree | 95acf3a78b5e35003df5408bee72b46414a298b9 /ext/wasm/api/sqlite3-api-oo1.js | |
parent | aca8ce1535dcd030ac994a306e78b7588ffe95ac (diff) | |
download | sqlite-6a3e2d377607ac7a8a3584a34ed7c22b665daacb.tar.gz sqlite-6a3e2d377607ac7a8a3584a34ed7c22b665daacb.zip |
Add a feature idea note to DB.exec(), derived from a forum discussion.
FossilOrigin-Name: 792f43209c4b6e85386b6b3906814b7f2ad310d50ba563b3fd1cb37e55adf8db
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); |