@narodb/naro
Version:
A simple, fast, and lightweight NoSQL database
19 lines • 541 B
TypeScript
export declare class Core {
private readonly rootPath;
private collections;
private logFileName;
constructor(rootPath: string);
initialize(): void;
getStructuredCollections(): {
[key: string]: any;
};
loadCollections(): {
[key: string]: any;
};
getCollection(name: string): any[];
updateCollection(name: string, data: any[]): void;
writeCollections(): void;
writeCollection(path: string): void;
removeCollection(path: string): void;
}
//# sourceMappingURL=Core.d.ts.map