UNPKG

database-builder

Version:

Library to assist in creating and maintaining SQL commands.

10 lines (9 loc) 411 B
export interface WebSqlInterface { openDatabase(name: string, version: string, description: string, size: number): WebSqlObjectInterface; } export interface WebSqlObjectInterface { transaction(fn: (tx: WebSqlTransactionInterface) => void): Promise<any>; } export interface WebSqlTransactionInterface { executeSql: (sql: any, values?: any[], success?: Function, error?: Function) => void; }