hunk.code_window: * `database` - Database name (capacitor-sqlite will add the suffix `SQLite.db`)
   * `driver` - The capacitor-sqlite instance. For example, `new SQLiteConnection(CapacitorSQLite)`.
   * `journalMode` - The SQLite journal mode (optional)
   ## `cordova` connection options
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit: * `mode` - Set the mode for database encryption: "no-encryption" | "encryption" | "secret" | "newsecret"
   * `version` - Database version
  
hunk.file_path: docs/connection-options.md
hunk.type: add
file: import { PrimaryColumn, OneToMany } from "../../../../../src/index";
  import { Entity } from "../../../../../src/decorator/entity/Entity";
  import { BaseEntity } from "../../../../../src/repository/BaseEntity";
  
  import { RecordContext } from "./context";
  
  @Entity({ name: "users" })
  export class User extends BaseEntity {
      @PrimaryColumn()
      public id: string;
  
      @OneToMany(type => RecordContext, context => context.user)
      public contexts: RecordContext[];
  }
  