Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/3_storage.ts>StorageIndexedDB

[WIP] 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.130/3_storage.ts";

Constructors

new
StorageIndexedDB(name: string)

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,
)