database.loadExtension(path)


  • path <string> 要加载的共享库的路径。

    ¥path <string> The path to the shared library to load.

将共享库加载到数据库连接中。此方法是 sqlite3_load_extension() 的封装器。构造 DatabaseSync 实例时需要启用 allowExtension 选项。

¥Loads a shared library into the database connection. This method is a wrapper around sqlite3_load_extension(). It is required to enable the allowExtension option when constructing the DatabaseSync instance.