View Single Post
Old 08-16-2022, 04:37 PM   #6
inhaledesign
Junior Member
inhaledesign began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2022
Device: Onyx Boox Nova 3
Quote:
Originally Posted by kovidgoyal View Post
No, calibre is based on sqlite3. Try this little experiment. Download the official sqlite3 binary. Run

Code:
sqlite3 :memory:
SQLite version 3.39.2 2022-07-21 15:24:47
Enter ".help" for usage hints.
sqlite> CREATE TABLE authors ( id   INTEGER PRIMARY KEY,
                              name TEXT NOT NULL COLLATE NOCASE,
                              sort TEXT COLLATE NOCASE,
                              link TEXT NOT NULL DEFAULT "",
                              UNIQUE(name)
                             );
sqlite> .schema
CREATE TABLE authors ( id   INTEGER PRIMARY KEY,
                              name TEXT NOT NULL COLLATE NOCASE,
                              sort TEXT COLLATE NOCASE,
                              link TEXT NOT NULL DEFAULT "",
                              UNIQUE(name)
                             );
sqlite>
Astounding!! There are types in that table and sqlite3 didnt complain!! Who'da thunk it!!
Those are all types that are supported by SQLite3.
inhaledesign is offline   Reply With Quote