How to use [sqlite.load-extension]

The reference page of sqlite.load-extension has its arguments, constraints and declaration.

Loads a SQLite extension into the connection opened by [sqlite.connect]. The slot takes its arguments as children.

  • [file] - Filename of the extension to load. Mandatory, the slot throws an exception if it is missing.
  • [proc] - Optional entry point of the extension.
  • [append-platform] - Boolean, defaults to true. If true, the slot appends -arm64 or -arm to the filename when running on an ARM64 or ARM processor.