_initializeDb MethodProtected Static

Initialize a cloud container to hold VersionedSqliteDbs. The container must first be created by CloudSqlite.DbAccess.createBlobContainer. This function creates and uploads an empty database into the container.

_initializeDb(args: { blockSize?: "4M" | "64K", dbName: string, dbType: , props: CloudSqlite.ContainerProps }): Promise<void>

@note this deletes any existing content in the container.

Parameter Type Description
args { blockSize?: "4M" | "64K", dbName: string, dbType: , props: CloudSqlite.ContainerProps }  

Returns - Promise

Defined in

Last Updated: 14 November, 2024