File tree Expand file tree Collapse file tree 1 file changed +61
-31
lines changed
typings/mysql/lib/constants Expand file tree Collapse file tree 1 file changed +61
-31
lines changed Original file line number Diff line number Diff line change
1
+ interface Types {
2
+ 0x00 : string ;
3
+ 0x01 : string ;
4
+ 0x02 : string ;
5
+ 0x03 : string ;
6
+ 0x04 : string ;
7
+ 0x05 : string ;
8
+ 0x06 : string ;
9
+ 0x07 : string ;
10
+ 0x08 : string ;
11
+ 0x09 : string ;
12
+ 0x0a : string ;
13
+ 0x0b : string ;
14
+ 0x0c : string ;
15
+ 0x0d : string ;
16
+ 0x0e : string ;
17
+ 0x0f : string ;
18
+ 0x10 : string ;
19
+ 0xf5 : string ;
20
+ 0xf6 : string ;
21
+ 0xf7 : string ;
22
+ 0xf8 : string ;
23
+ 0xf9 : string ;
24
+ 0xfa : string ;
25
+ 0xfb : string ;
26
+ 0xfc : string ;
27
+ 0xfd : string ;
28
+ 0xfe : string ;
29
+ 0xff : string ;
30
+
31
+ DECIMAL : number ;
32
+ TINY : number ;
33
+ SHORT : number ;
34
+ LONG : number ;
35
+ FLOAT : number ;
36
+ DOUBLE : number ;
37
+ NULL : number ;
38
+ TIMESTAMP : number ;
39
+ LONGLONG : number ;
40
+ INT24 : number ;
41
+ DATE : number ;
42
+ TIME : number ;
43
+ DATETIME : number ;
44
+ YEAR : number ;
45
+ NEWDATE : number ;
46
+ VARCHAR : number ;
47
+ BIT : number ;
48
+ JSON : number ;
49
+ NEWDECIMAL : number ;
50
+ ENUM : number ;
51
+ SET : number ;
52
+ TINY_BLOB : number ;
53
+ MEDIUM_BLOB : number ;
54
+ LONG_BLOB : number ;
55
+ BLOB : number ;
56
+ VAR_STRING : number ;
57
+ STRING : number ;
58
+ GEOMETRY : number ;
59
+ }
60
+
1
61
/**
2
62
* Constant `Types`.
3
63
*
4
64
* Please note that `Types` can only be accessed from the `mysql` object and not imported directly.
5
65
*/
6
- declare const Types : {
7
- [ key : number ] : string ;
8
- DECIMAL : 0x00 ;
9
- TINY : 0x01 ;
10
- SHORT : 0x02 ;
11
- LONG : 0x03 ;
12
- FLOAT : 0x04 ;
13
- DOUBLE : 0x05 ;
14
- NULL : 0x06 ;
15
- TIMESTAMP : 0x07 ;
16
- LONGLONG : 0x08 ;
17
- INT24 : 0x09 ;
18
- DATE : 0x0a ;
19
- TIME : 0x0b ;
20
- DATETIME : 0x0c ;
21
- YEAR : 0x0d ;
22
- NEWDATE : 0x0e ;
23
- VARCHAR : 0x0f ;
24
- BIT : 0x10 ;
25
- JSON : 0xf5 ;
26
- NEWDECIMAL : 0xf6 ;
27
- ENUM : 0xf7 ;
28
- SET : 0xf8 ;
29
- TINY_BLOB : 0xf9 ;
30
- MEDIUM_BLOB : 0xfa ;
31
- LONG_BLOB : 0xfb ;
32
- BLOB : 0xfc ;
33
- VAR_STRING : 0xfd ;
34
- STRING : 0xfe ;
35
- GEOMETRY : 0xff ;
36
- } ;
66
+ declare const Types : Types ;
37
67
38
68
export { Types } ;
You can’t perform that action at this time.
0 commit comments