async init() {
    // Must make the db folder before making the tables themselves
    await Deno.mkdir(this.directoryPath).catch(() => undefined);
    // Make the folders for each table
    for (let table of this.tables) {
      await Deno.mkdir(`${this.directoryPath}/${table[1].name}`).catch(() =>
        undefined
      );
    }
    return this;
  }
/** Initializes the database which makes sure that the folder exists. */
Initializes the database which makes sure that the folder exists.
Initializes the database which makes sure that the folder exists .
async init() {
    await Deno.mkdir(this.directoryPath).catch(() => undefined);
    for (let table of this.tables) {
      await Deno.mkdir(`${this.directoryPath}/${table[1].name}`).catch(() =>
        undefined
      );
    }
    return this;
  }
async init ( ) { await Deno . mkdir ( this . directoryPath ) . catch ( ( ) => undefined ) ; for ( let table of this . tables ) { await Deno . mkdir ( ` ${ this . directoryPath } ${ table [ 1 ] . name } ` ) . catch ( ( ) => undefined ) ; } return this ; }
Initializes the database which makes sure that the folder exists.
Initializes the database which makes sure that the folder exists .
// Must make the db folder before making the tables themselves // Make the folders for each table