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

18 lines (17 loc) 546 B
import { TableMeta } from "@/worker/model/table_meta"; import { IInsertQuery } from "@/common"; import { LogHelper } from "@/worker/utils"; export declare class ValuesChecker { table: TableMeta; autoIncrementValue: any; query: IInsertQuery; constructor(table: TableMeta, autoIncValues: any); checkAndModifyValues(query: IInsertQuery): { err: LogHelper; values: any[]; }; private checkAndModifyValue; private checkNotNullAndDataType_; private checkAndModifyColumnValue_; private getError; }