UNPKG

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

17 lines (16 loc) 652 B
import { IDBUtil } from "@worker/idbutil"; import { IInsertQuery, ISelectQuery, IUpdateQuery } from "@/common"; export declare class Base { get db(): import("../model").DbMeta; util: IDBUtil; query: IInsertQuery | ISelectQuery | IUpdateQuery; rowAffected: number; isTxQuery: boolean; objectStore: IDBObjectStore; tableName: string; protected results: any[]; table(name?: string): import("../model").TableMeta; primaryKey(tableName?: string): string; protected getColumnInfo(columnName: string, tableName?: string): import("@/common").IColumn; onException(ex: DOMException, type?: any): Promise<never>; }