• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

typeorm / typeorm / 22256862981

21 Feb 2026 12:31PM UTC coverage: 81.291% (+0.1%) from 81.176%
22256862981

push

github

web-flow
feat!: remove deprecated `Connection` and `ConnectionOptions` (#12022)

27682 of 33521 branches covered (82.58%)

Branch coverage included in aggregate %.

1205 of 1301 new or added lines in 76 files covered. (92.62%)

1 existing line in 1 file now uncovered.

93920 of 116068 relevant lines covered (80.92%)

71235.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/driver/sqljs/SqljsDataSourceOptions.ts
1
import { BaseDataSourceOptions } from "../../data-source/BaseDataSourceOptions"
×
2

×
3
/**
×
4
 * Sql.js-specific connection options.
×
5
 */
×
NEW
6
export interface SqljsDataSourceOptions extends BaseDataSourceOptions {
×
7
    /**
×
8
     * Database type.
×
9
     */
×
10
    readonly type: "sqljs"
×
11

×
12
    /**
×
13
     * A Uint8Array that gets imported when the connection is opened.
×
14
     */
×
15
    readonly database?: Uint8Array
×
16

×
17
    /**
×
18
     * The driver object
×
19
     * This defaults to require("sql.js")
×
20
     */
×
21
    readonly driver?: any
×
22

×
23
    /**
×
24
     * Config that's used to initialize sql.js.
×
25
     */
×
26
    readonly sqlJsConfig?: any
×
27

×
28
    /**
×
29
     * Enables the autoSave mechanism which either saves to location
×
30
     * or calls autoSaveCallback every time a change to the database is made.
×
31
     */
×
32
    readonly autoSave?: boolean
×
33

×
34
    /**
×
35
     * A function that gets called on every change instead of the internal autoSave function.
×
36
     * autoSave has to be enabled for this to work.
×
37
     */
×
38
    readonly autoSaveCallback?: Function
×
39

×
40
    /**
×
41
     * File path (Node.js) or local storage key (browser) to load and save database from.
×
42
     * If this is specified without autoSave, the database is loaded from the location
×
43
     * and can be saved manually via the SqljsEntityManager. If autoSave is enabled,
×
44
     * location is used to automatically save the database.
×
45
     */
×
46
    readonly location?: string
×
47

×
48
    /**
×
49
     * Enables the usage of the localforage library to save & load the database asynchronously from the
×
50
     * indexedDB instead of using the synchron local storage methods in a browser environment.
×
51
     */
×
52
    readonly useLocalForage?: boolean
×
53

×
54
    readonly poolSize?: never
×
55
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc