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

typeorm / typeorm / 15089093306

17 May 2025 09:03PM UTC coverage: 50.109% (-26.2%) from 76.346%
15089093306

Pull #11437

github

naorpeled
add comment about vector <#>
Pull Request #11437: feat(postgres): support vector data type

5836 of 12767 branches covered (45.71%)

Branch coverage included in aggregate %.

16 of 17 new or added lines in 4 files covered. (94.12%)

6283 existing lines in 64 files now uncovered.

12600 of 24025 relevant lines covered (52.45%)

28708.0 hits per line

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

14.29
/src/driver/sqlserver/MssqlParameter.ts
1
/**
2
 * Sql server driver requires parameter types to be specified fo input parameters used in the query.
3
 *
4
 * @see https://github.com/patriksimek/node-mssql#data-types
5
 */
6
export class MssqlParameter {
6✔
UNCOV
7
    readonly "@instanceof" = Symbol.for("MssqlParameter")
×
8

9
    // -------------------------------------------------------------------------
10
    // Public Properties
11
    // -------------------------------------------------------------------------
12

UNCOV
13
    public params: any[] = []
×
14

15
    // -------------------------------------------------------------------------
16
    // Constructor
17
    // -------------------------------------------------------------------------
18

19
    constructor(value: any, type: "bit")
20
    constructor(value: any, type: "bigint")
21
    constructor(value: any, type: "decimal", precision?: number, scale?: number)
22
    constructor(value: any, type: "float")
23
    constructor(value: any, type: "int")
24
    constructor(value: any, type: "money")
25
    constructor(value: any, type: "numeric", precision?: number, scale?: number)
26
    constructor(value: any, type: "smallint")
27
    constructor(value: any, type: "smallmoney")
28
    constructor(value: any, type: "real")
29
    constructor(value: any, type: "tinyint")
30
    constructor(value: any, type: "char", length?: number)
31
    constructor(value: any, type: "nchar", length?: number)
32
    constructor(value: any, type: "text")
33
    constructor(value: any, type: "ntext")
34
    constructor(value: any, type: "varchar", length?: number)
35
    constructor(value: any, type: "nvarchar", length?: number)
36
    constructor(value: any, type: "xml")
37
    constructor(value: any, type: "time", scale?: number)
38
    constructor(value: any, type: "date")
39
    constructor(value: any, type: "datetime")
40
    constructor(value: any, type: "datetime2", scale?: number)
41
    constructor(value: any, type: "datetimeoffset", scale?: number)
42
    constructor(value: any, type: "smalldatetime")
43
    constructor(value: any, type: "uniqueidentifier")
44
    constructor(value: any, type: "variant")
45
    constructor(value: any, type: "binary")
46
    constructor(value: any, type: "varbinary", length?: number)
47
    constructor(value: any, type: "image")
48
    constructor(value: any, type: "udt")
49
    constructor(value: any, type: "geography")
50
    constructor(value: any, type: "geometry")
51
    constructor(value: any, type: "rowversion")
UNCOV
52
    constructor(public value: any, public type: string, ...params: number[]) {
×
UNCOV
53
        this.params = params || []
×
54
    }
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

© 2025 Coveralls, Inc