This SQLite3 extension adds support for collations used by the mORMot framework, making it possible to work with mORMot-created databases in third-party applications.
By default, mORMot uses the SYSTEMNOCASE
collation for RawUTF8
fields. Without this extension, any operation that requires string comparison (e.g., VACUUM
, certain SELECT
or UPDATE
queries) will fail with the following error:
no such collation sequence: SYSTEMNOCASE
This effectively prevents you from performing many operations on mORMot databases unless the required collations are available.
This extension adds the following collations:
WIN32CASE
WIN32NOCASE
SYSTEMNOCASE
UNICODENOCASE
(introduced in mORMot2)ISO8601
These collations mirror the behavior expected by mORMot-based applications and ensure compatibility with mORMot's database structures.
- Place
mormot_collate.dll
in the same folder assqlite3.exe
. - Run the utility and open the target database.
- Load the extension with the following command:
.load mormot_collate.dll
- Copy
mormot_collate.dll
into theext
folder inside your SQLiteStudio installation directory. - Launch SQLiteStudio.
- Open the Extension Manager.
- Select
mormot_collate
from the list of available extensions. - Check Register in all databases.
- Save changes.
To check that the collations have been loaded successfully, run:
PRAGMA collation_list;
This should return a list including the newly added mORMot collations.