Skip to main content

Module sqlite_udfs

Module sqlite_udfs 

Source
Expand description

SQLite scalar UDFs registered for the in-DB SOF runner.

These functions cover SQL operations that the SoF v2 conformance suite exercises but that don’t have a clean built-in equivalent in SQLite’s JSON1 /core dialect (no regex, no split_part, no last_value-of-string). The UDFs are registered on every pooled connection at acquire time via the SqliteConnectionManager::with_init callback wired in backends::sqlite::backend.

Functions§

register
Registers the SOF helper UDFs on conn.