• 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/sqlite/SqliteDataSourceOptions.ts
1
import { BaseDataSourceOptions } from "../../data-source/BaseDataSourceOptions"
×
2

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

×
12
    /**
×
13
     * Storage type or path to the storage.
×
14
     */
×
15
    readonly database: string
×
16

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

×
23
    /**
×
24
     * Encryption key for for SQLCipher.
×
25
     */
×
26
    readonly key?: string
×
27

×
28
    /**
×
29
     * In your SQLite application when you perform parallel writes its common to face SQLITE_BUSY error.
×
30
     * This error indicates that SQLite failed to write to the database file since someone else already writes into it.
×
31
     * Since SQLite cannot handle parallel saves this error cannot be avoided.
×
32
     *
×
33
     * To simplify life's of those who have this error this particular option sets a timeout within which ORM will try
×
34
     * to perform requested write operation again and again until it receives SQLITE_BUSY error.
×
35
     *
×
36
     * Enabling WAL can improve your app performance and face less SQLITE_BUSY issues.
×
37
     * Time in milliseconds.
×
38
     */
×
39
    readonly busyErrorRetry?: number
×
40

×
41
    /**
×
42
     * Enables WAL mode. By default its disabled.
×
43
     * @see https://www.sqlite.org/wal.html
×
44
     */
×
45
    readonly enableWAL?: boolean
×
46

×
47
    /**
×
48
     * Specifies the open file flags. By default its undefined.
×
49
     * @see https://www.sqlite.org/c3ref/c_open_autoproxy.html
×
50
     * @see https://github.com/TryGhost/node-sqlite3/blob/master/test/open_close.test.js
×
51
     */
×
52
    readonly flags?: number
×
53

×
54
    readonly poolSize?: never
×
55

×
56
    /**
×
57
     * Query or change the setting of the busy timeout.
×
58
     * Time in milliseconds.
×
59
     * @see https://www.sqlite.org/pragma.html#pragma_busy_timeout
×
60
     */
×
61
    readonly busyTimeout?: number
×
62
}
×
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