aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-oo1.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-12-05 13:12:48 +0000
committerstephan <stephan@noemail.net>2022-12-05 13:12:48 +0000
commit9a49a97487c93708a0b720aae39b4123e9a02715 (patch)
tree456230b35a54cf32904169670ef71782b62229b0 /ext/wasm/api/sqlite3-api-oo1.js
parentcf8f0d20463adf368cedb434d6d70cd255ab185a (diff)
downloadsqlite-9a49a97487c93708a0b720aae39b4123e9a02715.tar.gz
sqlite-9a49a97487c93708a0b720aae39b4123e9a02715.zip
Export sqlite3_vtab_collation() to wasm. Rename 'flexible-string' JS argument adapter to 'string:flexible' for consistency.
FossilOrigin-Name: 15f8042fddaeabab43dd187c463d3ccc56758cbf19bf2ca4837d9087a4850c1a
Diffstat (limited to 'ext/wasm/api/sqlite3-api-oo1.js')
-rw-r--r--ext/wasm/api/sqlite3-api-oo1.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/wasm/api/sqlite3-api-oo1.js b/ext/wasm/api/sqlite3-api-oo1.js
index e077b0c50..b377efc24 100644
--- a/ext/wasm/api/sqlite3-api-oo1.js
+++ b/ext/wasm/api/sqlite3-api-oo1.js
@@ -192,13 +192,13 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
/**
Sets SQL which should be exec()'d on a DB instance after it is
opened with the given VFS pointer. The SQL may be any type
- supported by the "flexible-string" function argument
- conversion. Alternately, the 2nd argument may be a function, in
- which case it is called with (theOo1DbObject,sqlite3Namespace) at
- the end of the DB() constructor. The function must throw on
- error, in which case the db is closed and the exception is
- propagated. This function is intended only for use by DB
- subclasses or sqlite3_vfs implementations.
+ supported by the "string:flexible" function argument conversion.
+ Alternately, the 2nd argument may be a function, in which case it
+ is called with (theOo1DbObject,sqlite3Namespace) at the end of
+ the DB() constructor. The function must throw on error, in which
+ case the db is closed and the exception is propagated. This
+ function is intended only for use by DB subclasses or sqlite3_vfs
+ implementations.
*/
dbCtorHelper.setVfsPostOpenSql = function(pVfs, sql){
__vfsPostOpenSql[pVfs] = sql;