Skip to main content

sqlite_objs_vfs_register_uri

Function sqlite_objs_vfs_register_uri 

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

Register the “sqlite-objs” VFS with no global Azure client.

All databases MUST provide Azure credentials via URI parameters: file:mydb.db?azure_account=acct&azure_container=cont&azure_sas=token

Supported URI parameters:

  • azure_account (required)
  • azure_container
  • azure_sas
  • azure_key
  • azure_endpoint

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