evils.db
Version:
  
16 lines (15 loc) • 463 B
TypeScript
import { Database } from "./Database";
import type { BsonDatabaseOptions } from "./Interface";
export declare class BsonDatabase extends Database {
private options;
private bson;
constructor(options: BsonDatabaseOptions);
set(key: string, value: any): any;
get(key: string): any;
getAll(): any;
delete(key: string): any;
clear(): any;
has(key: string): any;
get size(): number;
get filePath(): string;
}