UNPKG

evils.db

Version:

![Image](https://img.shields.io/npm/v/evils.db) ![Image](https://img.shields.io/npm/dt/evils.db) ![Image](https://nodei.co/npm/evils.db.png)

21 lines (20 loc) 660 B
import { Database } from "./Database"; import type { SqliteDatabaseOptions } from "./Interface"; export declare class SqliteDatabase extends Database { private SQLQuery; private options; constructor(options: SqliteDatabaseOptions); getAll(): any; get(key: string): any; set(key: string, value: any): any; remove(key: string): void; add(key: string, value: number): number; push(key: string, value: any): any[]; pull(key: string, value: any): any; clear(): void; close(): void; init(): Promise<void>; save(): Promise<void>; destroy(): Promise<void>; delete(): Promise<void>; }