hunk.code_window:         }
       }
       /**
        * Saved the current database to the given file (Node.js) or local storage key (browser).
        * If no location path is given, the location path in the options (if specified) will be used.
        */
       async save(location?: string) {
           if (!location && !this.options.location) {
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:      * Saved the current database to the given file (Node.js), local storage key (browser) or
        * indexedDB key (browser with enabled useLocalforage option).
  
hunk.file_path: src/driver/sqljs/SqljsDriver.ts
hunk.type: replace
file: import {Entity} from "../../../../src/decorator/entity/Entity";
  import {PrimaryGeneratedColumn} from "../../../../src/decorator/columns/PrimaryGeneratedColumn";
  import {Column} from "../../../../src/decorator/columns/Column";
  import {Category} from "./Category";
  import {ManyToMany} from "../../../../src/decorator/relations/ManyToMany";
  import {JoinTable} from "../../../../src/decorator/relations/JoinTable";
  
  @Entity()
  export class Post {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      title: string;
  
      @ManyToMany(type => Category)
      @JoinTable()
      categories: Category[];
  
  }