Skip to main content

sqlite_objs_vfs_register

Function sqlite_objs_vfs_register 

Source
pub unsafe extern "C" fn sqlite_objs_vfs_register(
    makeDefault: c_int,
) -> c_int
Expand description

Register the “sqlite-objs” VFS.

Reads configuration from environment variables:

  • AZURE_STORAGE_ACCOUNT
  • AZURE_STORAGE_CONTAINER
  • AZURE_STORAGE_SAS (checked first)
  • AZURE_STORAGE_KEY (fallback)

If makeDefault is non-zero, this VFS becomes the default. Returns SQLITE_OK (0) on success, or an appropriate error code.