CloudSqlite Namespace
Types for accessing SQLite databases stored in cloud containers.
Enumeration
Name | Description |
---|---|
CloudSqlite.LoggingMask | Logging categories for CloudCache.setLogMask |
Class
Name | Description |
---|---|
CloudSqlite.CloudCaches | The collection of currently extant CloudCache s, by name. |
CloudSqlite.DbAccess | Class that provides convenient local access to a SQLite database in a CloudContainer. |
Interface
Name | Description |
---|---|
CloudSqlite.CachedDbProps | Returned from CloudContainer.queryDatabase describing one database in the container |
CloudSqlite.CacheProps | Properties for creating a CloudCache. |
CloudSqlite.CleanDeletedBlocksOptions | |
CloudSqlite.CloudCache | A local cache for storing data downloaded from many CloudSqlite databases. |
CloudSqlite.CloudContainer | A CloudSqlite container that may be connected to a CloudCache. |
CloudSqlite.CloudHttpProps | |
CloudSqlite.CloudPrefetch | Object returned by startCloudPrefetch. |
CloudSqlite.ContainerAccessProps | Properties to access a CloudContainer. |
CloudSqlite.ContainerProps | |
CloudSqlite.CreateCloudCacheArg | Arguments to create or find a CloudCache |
CloudSqlite.CreateNewDbVersionArgs | Arguments supplied to createNewDbVersion. |
CloudSqlite.DbNameAndVersion | Specifies the name and version of a CloudSqlite database. |
CloudSqlite.DbNameProp | The name of a CloudSqlite database within a CloudContainer. |
CloudSqlite.LoadProps | Specifies the name and version of a CloudSqlite database. |
CloudSqlite.ObtainLockParams | Parameters used to obtain the write lock on a cloud container |
CloudSqlite.PrefetchProps | |
CloudSqlite.TransferDbProps | The name of a CloudSqlite database within a CloudContainer. |
CloudSqlite.TransferProgress |
Type alias
Name | Description |
---|---|
CloudSqlite.DbFullName | The fully-specified name of a CloudSqlite database, combining its CloudSqlite.DbName and DbVersion in the format "name:version". |
CloudSqlite.DbName | The base name of a CloudSqlite database, without any version information. |
CloudSqlite.DbVersion | A semver string describing the version of a database, e.g., "4.2.11". |
CloudSqlite.DbVersionRange | A semver string describing a range of acceptable versions, |
CloudSqlite.RequestTokenArgs | |
CloudSqlite.SemverIncrement | The release increment for a version number, used as part of CreateNewDbVersionArgs to specify the kind of version to create. |
CloudSqlite.TransferDirection | |
CloudSqlite.WriteLockBusyHandler | Optional method to be called when an attempt to acquire the write lock fails because another user currently holds it. |
Function
Name | Description |
---|---|
CloudSqlite.acquireWriteLock | Attempt to acquire the write lock for a container, with retries. |
CloudSqlite.addHiddenProperty | Add (or replace) a property to an object that is not enumerable. |
CloudSqlite.cleanDeletedBlocks | Clean any unused deleted blocks from cloud storage. |
CloudSqlite.createCloudContainer | Create a new CloudContainer from a ContainerAccessProps. |
CloudSqlite.createNewDbVersion | |
CloudSqlite.downloadDb | Download a database from a CloudContainer. |
CloudSqlite.getBlobService | |
CloudSqlite.getWriteLockHeldBy | |
CloudSqlite.isSemverEditable | |
CloudSqlite.isSemverPrerelease | |
CloudSqlite.makeSemverName | Create a dbName for a database from its base name and version. |
CloudSqlite.noLeadingOrTrailingSpaces | |
CloudSqlite.parseDbFileName | Parse the name of a Db stored in a CloudContainer into the dbName and version number. |
CloudSqlite.querySemverMatch | query the databases in the supplied container for the highest SemVer match according to the version range. |
CloudSqlite.releaseWriteLock | release the write lock on a container. |
CloudSqlite.requestToken | Request a new AccessToken for a cloud container using the BlobContainer service. |
CloudSqlite.startCloudPrefetch | Begin prefetching all blocks for a database in a CloudContainer in the background. |
CloudSqlite.uploadDb | Upload a local SQLite database file into a CloudContainer. |
CloudSqlite.validateDbName | |
CloudSqlite.validateDbVersion | |
CloudSqlite.withWriteLock | Perform an asynchronous write operation on a CloudContainer with the write lock held. |
Defined in
- core/backend/src/CloudSqlite.ts Line 30
Last Updated: 26 April, 2025
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.