infratec wrote: Wed Apr 12, 2023 7:07 pm
Btw. why not:
Code: Select all
UseSQLiteDatabase("D:\!Updates\Programming\PB\DLL experiments\sqlite3.dll")
Then you don't need to do that lib stuff.
Or is there a complete new function inside?
The PB SQLite library does not provide all the functionality available in the latest version of the sqlite3.dll file. I received this error message when trying to do a join using the PB SQLite library: "
malformed database schema (RightOuterJoinDemo) - RIGHT and FULL OUTER JOINs are not currently supported". I looked through the PB forums for a solution when I came across the code you have suggested above to use the latest sqlite3.dll file. This solved the problem with joins. However, I noticed that this caused another issue, raised by jassing, when creating a table using the code
Code: Select all
Debug "Create? "+Str(DatabaseUpdate(0, "CREATE TABLE IncomingData(test TEXT primary key) WITHOUT ROWID;"))
For this reason, I decided to look into directly calling some of the functions in the latest sqlite3.dll file so that I could create a table in my own program (or should I call it an App these days

).
I was not aware of the FTS5 virtual table module. I'm not sure whether your solution using FTS5 completely solves the problem with CREATE TABLE

; According to
https://www.sqlitetutorial.net/sqlite-full-text-search/ the FTS5 virtual table module cannot use types, constraints, or primary key.