Loading sqlite3 json1 extension

2020-10-10 Thread sdmcallister
I tried adding to sqlite3.nim the following: proc load_extension*(para1: PSqlite3, para2:cstring): int32{.cdecl, mylib, importc: "sqlite3_load_extension".} Run This code below seems to work now... but given my fairly limited knowledge, I appreciate any comments on wh

Loading sqlite3 json1 extension

2020-10-09 Thread sdmcallister
I have compiled the json shared library (linux) extension for sqlite on linux and can load it using `.load /json1` in sqlite3. Is it possible to load this json shared library some way in Nim so I can access the json functions?