Class JSONDriver

Hierarchy

Constructors

Properties

path: string = "./quickdb.json"
store: Map<string, Table> = ...
writeFile: typeof writeFile

Methods

  • Parameters

    • table: string

    Returns Promise<{
        id: string;
        value: any;
    }[]>

  • Type Parameters

    • T

    Parameters

    • table: string
    • key: string
    • value: any
    • update: boolean

    Returns Promise<T>

Generated using TypeDoc