use*_*289 4 .net sqlite full-text-search system.data.sqlite fts5
我正在使用System.Data.SQLite.dll 1.0.101.0并且在执行命令"CREATE VIRTUAL TABLE tbl_fts USING fts5(fld1,fld2)"时出现此错误.
错误:没有这样的模块:fts5
在本页我们可以看到:1.0.99.0 - 2015年12月9日
•为原生json1和fts5扩展添加实验支持
https://system.data.sqlite.org/index.html/doc/trunk/www/news.wiki
那么问题是什么,如何重新启动System.Data.SQLite.dll?如何启用fts5?我怎样才能做到这一点?
谢谢..
在这里解决方案,超过6个小时的工作直到找到它:
MyConnection.EnableExtensions(True)
MyConnection.LoadExtension("System.Data.SQLite.dll", "sqlite3_fts5_init") ''/// Or "SQLite.Interop.dll" as you need.
Run Code Online (Sandbox Code Playgroud)
我通过这句话理解:"为FTS5可加载扩展添加实验支持.(用户:mistachkin)"
http://system.data.sqlite.org/index.html/finfo?name=SQLite.Interop/SQLite.Interop.2010.vcxproj
| 归档时间: |
|
| 查看次数: |
2320 次 |
| 最近记录: |