evils.db
Version:
  
21 lines (20 loc) • 660 B
TypeScript
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>;
}