prorm API Reference
    Preparing search index...

    Class AzureBlobStore

    AzureBlobStore wraps a @azure/storage-blob BlobServiceClient and exposes Azure Blob Storage's object-level operations. It implements the minimal NoSqlStore marker interface — there is no query(sql) because Blob Storage has no query language; access is by container + blob name.

    Implements

    Index
    name: "azure-blob" = 'azure-blob'

    The name of the store (e.g. 'mongodb', 'redis', 'dynamodb')

    library: "@azure/storage-blob" = '@azure/storage-blob'

    The client library being used

    • Uploads data to container/key, creating or overwriting the block blob.

      Parameters

      • container: string
      • key: string
      • data: BlobUploadData

      Returns Promise<void>

    • Downloads container/key and returns its full contents as a Buffer.

      Parameters

      • container: string
      • key: string

      Returns Promise<Buffer<ArrayBufferLike>>

    • Deletes container/key.

      Parameters

      • container: string
      • key: string

      Returns Promise<void>

    • Returns whether container/key exists.

      Parameters

      • container: string
      • key: string

      Returns Promise<boolean>

    • Lists the names of all blobs in container, optionally filtered to those whose name starts with prefix. Iterates the SDK's async paging iterator (listBlobsFlat) fully and returns a flat array of blob names.

      Parameters

      • container: string
      • Optionalprefix: string

      Returns Promise<string[]>

    • Creates container.

      Parameters

      • container: string

      Returns Promise<void>