Skip to main content
Module

x/mtkruto/mod.ts>StorageIndexedDB

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class StorageIndexedDB
extends Storage
import { StorageIndexedDB } from "https://deno.land/x/mtkruto@0.1.152/mod.ts";

Constructors

new
StorageIndexedDB(name: string, params?: StorageIndexedDBParams)

Properties

database: IDBDatabase | null
readonly
name
readonly
supportsFiles

Methods

branch(id: string)
get<T>(
k: readonly StorageKeyPart[],
tx_?: IDBTransaction | null,
fix?,
)
getMany<T>(
filter: GetManyFilter,
params?: { limit?: number; reverse?: boolean; },
tx_?: IDBTransaction,
)
incr(key: readonly StorageKeyPart[], by: number)
set(
k: readonly StorageKeyPart[],
v: unknown,
tx_?: IDBTransaction,
)