jsstore
Version:
Harness the power of JsStore to streamline database operations in your web applications. With its SQL-like API, JsStore simplifies IndexedDB interactions, enabling developers to easily query, filter, and manipulate data with familiar syntax and efficiency
12 lines (11 loc) • 518 B
TypeScript
import { IDBUtil } from "@/worker/idbutil";
export declare class MetaHelper {
static tableName: string;
static autoIncrementKey(tableName: string, columnName: string): string;
static dbSchema: string;
static getStore(util: IDBUtil): IDBObjectStore;
static set(key: any, value: any, util: IDBUtil): Promise<unknown>;
static get(key: any, util: IDBUtil): Promise<unknown>;
static remove(key: any, util: IDBUtil): Promise<unknown>;
static has(key: any, util: IDBUtil): Promise<unknown>;
}