@duckdb/node-api 1.1.3-alpha.8 → 1.1.3-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +59 -3
- package/lib/DuckDBConnection.d.ts +13 -11
- package/lib/DuckDBConnection.js +33 -17
- package/lib/DuckDBDataChunk.d.ts +5 -1
- package/lib/DuckDBDataChunk.js +35 -2
- package/lib/DuckDBPreparedStatement.d.ts +9 -1
- package/lib/DuckDBPreparedStatement.js +41 -10
- package/lib/DuckDBType.d.ts +111 -2
- package/lib/DuckDBType.js +363 -12
- package/lib/DuckDBVector.d.ts +197 -61
- package/lib/DuckDBVector.js +1067 -177
- package/lib/conversion/bytesFromString.d.ts +1 -0
- package/lib/conversion/bytesFromString.js +7 -0
- package/lib/createValue.d.ts +4 -0
- package/lib/createValue.js +159 -0
- package/lib/typeForValue.d.ts +3 -0
- package/lib/typeForValue.js +83 -0
- package/lib/values/DuckDBBlobValue.d.ts +1 -1
- package/lib/values/DuckDBBlobValue.js +7 -4
- package/package.json +2 -2
package/lib/DuckDBType.d.ts
CHANGED
|
@@ -1,227 +1,336 @@
|
|
|
1
|
+
import { DuckDBLogicalType } from './DuckDBLogicalType';
|
|
1
2
|
import { DuckDBTypeId } from './DuckDBTypeId';
|
|
3
|
+
import { DuckDBDateValue, DuckDBTimestampMillisecondsValue, DuckDBTimestampNanosecondsValue, DuckDBTimestampSecondsValue, DuckDBTimestampTZValue, DuckDBTimestampValue, DuckDBTimeTZValue, DuckDBTimeValue, DuckDBUUIDValue } from './values';
|
|
2
4
|
export declare abstract class BaseDuckDBType<T extends DuckDBTypeId> {
|
|
3
5
|
readonly typeId: T;
|
|
4
6
|
readonly alias?: string;
|
|
5
7
|
protected constructor(typeId: T, alias?: string);
|
|
6
8
|
toString(): string;
|
|
9
|
+
toLogicalType(): DuckDBLogicalType;
|
|
7
10
|
}
|
|
8
11
|
export declare class DuckDBBooleanType extends BaseDuckDBType<DuckDBTypeId.BOOLEAN> {
|
|
9
12
|
constructor(alias?: string);
|
|
10
13
|
static readonly instance: DuckDBBooleanType;
|
|
11
14
|
static create(alias?: string): DuckDBBooleanType;
|
|
12
15
|
}
|
|
16
|
+
export declare const BOOLEAN: DuckDBBooleanType;
|
|
13
17
|
export declare class DuckDBTinyIntType extends BaseDuckDBType<DuckDBTypeId.TINYINT> {
|
|
14
18
|
constructor(alias?: string);
|
|
15
19
|
static readonly instance: DuckDBTinyIntType;
|
|
16
20
|
static create(alias?: string): DuckDBTinyIntType;
|
|
17
21
|
static readonly Max: number;
|
|
18
22
|
static readonly Min: number;
|
|
23
|
+
get max(): number;
|
|
24
|
+
get min(): number;
|
|
19
25
|
}
|
|
26
|
+
export declare const TINYINT: DuckDBTinyIntType;
|
|
20
27
|
export declare class DuckDBSmallIntType extends BaseDuckDBType<DuckDBTypeId.SMALLINT> {
|
|
21
28
|
constructor(alias?: string);
|
|
22
29
|
static readonly instance: DuckDBSmallIntType;
|
|
23
30
|
static create(alias?: string): DuckDBSmallIntType;
|
|
24
31
|
static readonly Max: number;
|
|
25
32
|
static readonly Min: number;
|
|
33
|
+
get max(): number;
|
|
34
|
+
get min(): number;
|
|
26
35
|
}
|
|
36
|
+
export declare const SMALLINT: DuckDBSmallIntType;
|
|
27
37
|
export declare class DuckDBIntegerType extends BaseDuckDBType<DuckDBTypeId.INTEGER> {
|
|
28
38
|
constructor(alias?: string);
|
|
29
39
|
static readonly instance: DuckDBIntegerType;
|
|
30
40
|
static create(alias?: string): DuckDBIntegerType;
|
|
31
41
|
static readonly Max: number;
|
|
32
42
|
static readonly Min: number;
|
|
43
|
+
get max(): number;
|
|
44
|
+
get min(): number;
|
|
33
45
|
}
|
|
46
|
+
export declare const INTEGER: DuckDBIntegerType;
|
|
34
47
|
export declare class DuckDBBigIntType extends BaseDuckDBType<DuckDBTypeId.BIGINT> {
|
|
35
48
|
constructor(alias?: string);
|
|
36
49
|
static readonly instance: DuckDBBigIntType;
|
|
37
50
|
static create(alias?: string): DuckDBBigIntType;
|
|
38
51
|
static readonly Max: bigint;
|
|
39
52
|
static readonly Min: bigint;
|
|
53
|
+
get max(): bigint;
|
|
54
|
+
get min(): bigint;
|
|
40
55
|
}
|
|
56
|
+
export declare const BIGINT: DuckDBBigIntType;
|
|
41
57
|
export declare class DuckDBUTinyIntType extends BaseDuckDBType<DuckDBTypeId.UTINYINT> {
|
|
42
58
|
constructor(alias?: string);
|
|
43
59
|
static readonly instance: DuckDBUTinyIntType;
|
|
44
60
|
static create(alias?: string): DuckDBUTinyIntType;
|
|
45
61
|
static readonly Max: number;
|
|
46
62
|
static readonly Min = 0;
|
|
63
|
+
get max(): number;
|
|
64
|
+
get min(): number;
|
|
47
65
|
}
|
|
66
|
+
export declare const UTINYINT: DuckDBUTinyIntType;
|
|
48
67
|
export declare class DuckDBUSmallIntType extends BaseDuckDBType<DuckDBTypeId.USMALLINT> {
|
|
49
68
|
constructor(alias?: string);
|
|
50
69
|
static readonly instance: DuckDBUSmallIntType;
|
|
51
70
|
static create(alias?: string): DuckDBUSmallIntType;
|
|
52
71
|
static readonly Max: number;
|
|
53
72
|
static readonly Min = 0;
|
|
73
|
+
get max(): number;
|
|
74
|
+
get min(): number;
|
|
54
75
|
}
|
|
76
|
+
export declare const USMALLINT: DuckDBUSmallIntType;
|
|
55
77
|
export declare class DuckDBUIntegerType extends BaseDuckDBType<DuckDBTypeId.UINTEGER> {
|
|
56
78
|
constructor(alias?: string);
|
|
57
79
|
static readonly instance: DuckDBUIntegerType;
|
|
58
80
|
static create(alias?: string): DuckDBUIntegerType;
|
|
59
81
|
static readonly Max: number;
|
|
60
82
|
static readonly Min = 0;
|
|
83
|
+
get max(): number;
|
|
84
|
+
get min(): number;
|
|
61
85
|
}
|
|
86
|
+
export declare const UINTEGER: DuckDBUIntegerType;
|
|
62
87
|
export declare class DuckDBUBigIntType extends BaseDuckDBType<DuckDBTypeId.UBIGINT> {
|
|
63
88
|
constructor(alias?: string);
|
|
64
89
|
static readonly instance: DuckDBUBigIntType;
|
|
65
90
|
static create(alias?: string): DuckDBUBigIntType;
|
|
66
91
|
static readonly Max: bigint;
|
|
67
92
|
static readonly Min: bigint;
|
|
93
|
+
get max(): bigint;
|
|
94
|
+
get min(): bigint;
|
|
68
95
|
}
|
|
96
|
+
export declare const UBIGINT: DuckDBUBigIntType;
|
|
69
97
|
export declare class DuckDBFloatType extends BaseDuckDBType<DuckDBTypeId.FLOAT> {
|
|
70
98
|
constructor(alias?: string);
|
|
71
99
|
static readonly instance: DuckDBFloatType;
|
|
72
100
|
static create(alias?: string): DuckDBFloatType;
|
|
73
|
-
static readonly Min: number;
|
|
74
101
|
static readonly Max: number;
|
|
102
|
+
static readonly Min: number;
|
|
103
|
+
get max(): number;
|
|
104
|
+
get min(): number;
|
|
75
105
|
}
|
|
106
|
+
export declare const FLOAT: DuckDBFloatType;
|
|
76
107
|
export declare class DuckDBDoubleType extends BaseDuckDBType<DuckDBTypeId.DOUBLE> {
|
|
77
108
|
constructor(alias?: string);
|
|
78
109
|
static readonly instance: DuckDBDoubleType;
|
|
79
110
|
static create(alias?: string): DuckDBDoubleType;
|
|
80
|
-
static readonly Min: number;
|
|
81
111
|
static readonly Max: number;
|
|
112
|
+
static readonly Min: number;
|
|
113
|
+
get max(): number;
|
|
114
|
+
get min(): number;
|
|
82
115
|
}
|
|
116
|
+
export declare const DOUBLE: DuckDBDoubleType;
|
|
83
117
|
export declare class DuckDBTimestampType extends BaseDuckDBType<DuckDBTypeId.TIMESTAMP> {
|
|
84
118
|
constructor(alias?: string);
|
|
85
119
|
static readonly instance: DuckDBTimestampType;
|
|
86
120
|
static create(alias?: string): DuckDBTimestampType;
|
|
121
|
+
get epoch(): DuckDBTimestampValue;
|
|
122
|
+
get max(): DuckDBTimestampValue;
|
|
123
|
+
get min(): DuckDBTimestampValue;
|
|
124
|
+
get posInf(): DuckDBTimestampValue;
|
|
125
|
+
get negInf(): DuckDBTimestampValue;
|
|
87
126
|
}
|
|
127
|
+
export declare const TIMESTAMP: DuckDBTimestampType;
|
|
88
128
|
export type DuckDBTimestampMicrosecondsType = DuckDBTimestampType;
|
|
89
129
|
export declare const DuckDBTimestampMicrosecondsType: typeof DuckDBTimestampType;
|
|
90
130
|
export declare class DuckDBDateType extends BaseDuckDBType<DuckDBTypeId.DATE> {
|
|
91
131
|
constructor(alias?: string);
|
|
92
132
|
static readonly instance: DuckDBDateType;
|
|
93
133
|
static create(alias?: string): DuckDBDateType;
|
|
134
|
+
get epoch(): DuckDBDateValue;
|
|
135
|
+
get max(): DuckDBDateValue;
|
|
136
|
+
get min(): DuckDBDateValue;
|
|
137
|
+
get posInf(): DuckDBDateValue;
|
|
138
|
+
get negInf(): DuckDBDateValue;
|
|
94
139
|
}
|
|
140
|
+
export declare const DATE: DuckDBDateType;
|
|
95
141
|
export declare class DuckDBTimeType extends BaseDuckDBType<DuckDBTypeId.TIME> {
|
|
96
142
|
constructor(alias?: string);
|
|
97
143
|
static readonly instance: DuckDBTimeType;
|
|
98
144
|
static create(alias?: string): DuckDBTimeType;
|
|
145
|
+
get max(): DuckDBTimeValue;
|
|
146
|
+
get min(): DuckDBTimeValue;
|
|
99
147
|
}
|
|
148
|
+
export declare const TIME: DuckDBTimeType;
|
|
100
149
|
export declare class DuckDBIntervalType extends BaseDuckDBType<DuckDBTypeId.INTERVAL> {
|
|
101
150
|
constructor(alias?: string);
|
|
102
151
|
static readonly instance: DuckDBIntervalType;
|
|
103
152
|
static create(alias?: string): DuckDBIntervalType;
|
|
104
153
|
}
|
|
154
|
+
export declare const INTERVAL: DuckDBIntervalType;
|
|
105
155
|
export declare class DuckDBHugeIntType extends BaseDuckDBType<DuckDBTypeId.HUGEINT> {
|
|
106
156
|
constructor(alias?: string);
|
|
107
157
|
static readonly instance: DuckDBHugeIntType;
|
|
108
158
|
static create(alias?: string): DuckDBHugeIntType;
|
|
109
159
|
static readonly Max: bigint;
|
|
110
160
|
static readonly Min: bigint;
|
|
161
|
+
get max(): bigint;
|
|
162
|
+
get min(): bigint;
|
|
111
163
|
}
|
|
164
|
+
export declare const HUGEINT: DuckDBHugeIntType;
|
|
112
165
|
export declare class DuckDBUHugeIntType extends BaseDuckDBType<DuckDBTypeId.UHUGEINT> {
|
|
113
166
|
constructor(alias?: string);
|
|
114
167
|
static readonly instance: DuckDBUHugeIntType;
|
|
115
168
|
static create(alias?: string): DuckDBUHugeIntType;
|
|
116
169
|
static readonly Max: bigint;
|
|
117
170
|
static readonly Min: bigint;
|
|
171
|
+
get max(): bigint;
|
|
172
|
+
get min(): bigint;
|
|
118
173
|
}
|
|
174
|
+
export declare const UHUGEINT: DuckDBUHugeIntType;
|
|
119
175
|
export declare class DuckDBVarCharType extends BaseDuckDBType<DuckDBTypeId.VARCHAR> {
|
|
120
176
|
constructor(alias?: string);
|
|
121
177
|
static readonly instance: DuckDBVarCharType;
|
|
122
178
|
static create(alias?: string): DuckDBVarCharType;
|
|
123
179
|
}
|
|
180
|
+
export declare const VARCHAR: DuckDBVarCharType;
|
|
124
181
|
export declare class DuckDBBlobType extends BaseDuckDBType<DuckDBTypeId.BLOB> {
|
|
125
182
|
constructor(alias?: string);
|
|
126
183
|
static readonly instance: DuckDBBlobType;
|
|
127
184
|
static create(alias?: string): DuckDBBlobType;
|
|
128
185
|
}
|
|
186
|
+
export declare const BLOB: DuckDBBlobType;
|
|
129
187
|
export declare class DuckDBDecimalType extends BaseDuckDBType<DuckDBTypeId.DECIMAL> {
|
|
130
188
|
readonly width: number;
|
|
131
189
|
readonly scale: number;
|
|
132
190
|
constructor(width: number, scale: number, alias?: string);
|
|
133
191
|
toString(): string;
|
|
192
|
+
toLogicalType(): DuckDBLogicalType;
|
|
134
193
|
static readonly default: DuckDBDecimalType;
|
|
135
194
|
}
|
|
195
|
+
export declare function DECIMAL(width?: number, scale?: number, alias?: string): DuckDBDecimalType;
|
|
136
196
|
export declare class DuckDBTimestampSecondsType extends BaseDuckDBType<DuckDBTypeId.TIMESTAMP_S> {
|
|
137
197
|
constructor(alias?: string);
|
|
138
198
|
static readonly instance: DuckDBTimestampSecondsType;
|
|
139
199
|
static create(alias?: string): DuckDBTimestampSecondsType;
|
|
200
|
+
get epoch(): DuckDBTimestampSecondsValue;
|
|
201
|
+
get max(): DuckDBTimestampSecondsValue;
|
|
202
|
+
get min(): DuckDBTimestampSecondsValue;
|
|
140
203
|
}
|
|
204
|
+
export declare const TIMESTAMP_S: DuckDBTimestampSecondsType;
|
|
141
205
|
export declare class DuckDBTimestampMillisecondsType extends BaseDuckDBType<DuckDBTypeId.TIMESTAMP_MS> {
|
|
142
206
|
constructor(alias?: string);
|
|
143
207
|
static readonly instance: DuckDBTimestampMillisecondsType;
|
|
144
208
|
static create(alias?: string): DuckDBTimestampMillisecondsType;
|
|
209
|
+
get epoch(): DuckDBTimestampMillisecondsValue;
|
|
210
|
+
get max(): DuckDBTimestampMillisecondsValue;
|
|
211
|
+
get min(): DuckDBTimestampMillisecondsValue;
|
|
145
212
|
}
|
|
213
|
+
export declare const TIMESTAMP_MS: DuckDBTimestampMillisecondsType;
|
|
146
214
|
export declare class DuckDBTimestampNanosecondsType extends BaseDuckDBType<DuckDBTypeId.TIMESTAMP_NS> {
|
|
147
215
|
constructor(alias?: string);
|
|
148
216
|
static readonly instance: DuckDBTimestampNanosecondsType;
|
|
149
217
|
static create(alias?: string): DuckDBTimestampNanosecondsType;
|
|
218
|
+
get epoch(): DuckDBTimestampNanosecondsValue;
|
|
219
|
+
get max(): DuckDBTimestampNanosecondsValue;
|
|
220
|
+
get min(): DuckDBTimestampNanosecondsValue;
|
|
150
221
|
}
|
|
222
|
+
export declare const TIMESTAMP_NS: DuckDBTimestampNanosecondsType;
|
|
151
223
|
export declare class DuckDBEnumType extends BaseDuckDBType<DuckDBTypeId.ENUM> {
|
|
152
224
|
readonly values: readonly string[];
|
|
225
|
+
readonly valueIndexes: Readonly<Record<string, number>>;
|
|
153
226
|
readonly internalTypeId: DuckDBTypeId;
|
|
154
227
|
constructor(values: readonly string[], internalTypeId: DuckDBTypeId, alias?: string);
|
|
228
|
+
indexForValue(value: string): number;
|
|
155
229
|
toString(): string;
|
|
230
|
+
toLogicalType(): DuckDBLogicalType;
|
|
156
231
|
}
|
|
232
|
+
export declare function ENUM8(values: readonly string[], alias?: string): DuckDBEnumType;
|
|
233
|
+
export declare function ENUM16(values: readonly string[], alias?: string): DuckDBEnumType;
|
|
234
|
+
export declare function ENUM32(values: readonly string[], alias?: string): DuckDBEnumType;
|
|
235
|
+
export declare function ENUM(values: readonly string[], alias?: string): DuckDBEnumType;
|
|
157
236
|
export declare class DuckDBListType extends BaseDuckDBType<DuckDBTypeId.LIST> {
|
|
158
237
|
readonly valueType: DuckDBType;
|
|
159
238
|
constructor(valueType: DuckDBType, alias?: string);
|
|
160
239
|
toString(): string;
|
|
240
|
+
toLogicalType(): DuckDBLogicalType;
|
|
161
241
|
}
|
|
242
|
+
export declare function LIST(valueType: DuckDBType, alias?: string): DuckDBListType;
|
|
162
243
|
export declare class DuckDBStructType extends BaseDuckDBType<DuckDBTypeId.STRUCT> {
|
|
163
244
|
readonly entryNames: readonly string[];
|
|
164
245
|
readonly entryTypes: readonly DuckDBType[];
|
|
165
246
|
constructor(entryNames: readonly string[], entryTypes: readonly DuckDBType[], alias?: string);
|
|
166
247
|
get entryCount(): number;
|
|
167
248
|
toString(): string;
|
|
249
|
+
toLogicalType(): DuckDBLogicalType;
|
|
168
250
|
}
|
|
251
|
+
export declare function STRUCT(entries: Record<string, DuckDBType>, alias?: string): DuckDBStructType;
|
|
169
252
|
export declare class DuckDBMapType extends BaseDuckDBType<DuckDBTypeId.MAP> {
|
|
170
253
|
readonly keyType: DuckDBType;
|
|
171
254
|
readonly valueType: DuckDBType;
|
|
172
255
|
constructor(keyType: DuckDBType, valueType: DuckDBType, alias?: string);
|
|
173
256
|
toString(): string;
|
|
257
|
+
toLogicalType(): DuckDBLogicalType;
|
|
174
258
|
}
|
|
259
|
+
export declare function MAP(keyType: DuckDBType, valueType: DuckDBType, alias?: string): DuckDBMapType;
|
|
175
260
|
export declare class DuckDBArrayType extends BaseDuckDBType<DuckDBTypeId.ARRAY> {
|
|
176
261
|
readonly valueType: DuckDBType;
|
|
177
262
|
readonly length: number;
|
|
178
263
|
constructor(valueType: DuckDBType, length: number, alias?: string);
|
|
179
264
|
toString(): string;
|
|
265
|
+
toLogicalType(): DuckDBLogicalType;
|
|
180
266
|
}
|
|
267
|
+
export declare function ARRAY(valueType: DuckDBType, length: number, alias?: string): DuckDBArrayType;
|
|
181
268
|
export declare class DuckDBUUIDType extends BaseDuckDBType<DuckDBTypeId.UUID> {
|
|
182
269
|
constructor(alias?: string);
|
|
183
270
|
static readonly instance: DuckDBUUIDType;
|
|
184
271
|
static create(alias?: string): DuckDBUUIDType;
|
|
272
|
+
get max(): DuckDBUUIDValue;
|
|
273
|
+
get min(): DuckDBUUIDValue;
|
|
185
274
|
}
|
|
275
|
+
export declare const UUID: DuckDBUUIDType;
|
|
186
276
|
export declare class DuckDBUnionType extends BaseDuckDBType<DuckDBTypeId.UNION> {
|
|
187
277
|
readonly memberTags: readonly string[];
|
|
278
|
+
readonly tagMemberIndexes: Readonly<Record<string, number>>;
|
|
188
279
|
readonly memberTypes: readonly DuckDBType[];
|
|
189
280
|
constructor(memberTags: readonly string[], memberTypes: readonly DuckDBType[], alias?: string);
|
|
281
|
+
memberIndexForTag(tag: string): number;
|
|
190
282
|
get memberCount(): number;
|
|
191
283
|
toString(): string;
|
|
284
|
+
toLogicalType(): DuckDBLogicalType;
|
|
192
285
|
}
|
|
286
|
+
export declare function UNION(members: Record<string, DuckDBType>, alias?: string): DuckDBUnionType;
|
|
193
287
|
export declare class DuckDBBitType extends BaseDuckDBType<DuckDBTypeId.BIT> {
|
|
194
288
|
constructor(alias?: string);
|
|
195
289
|
static readonly instance: DuckDBBitType;
|
|
196
290
|
static create(alias?: string): DuckDBBitType;
|
|
197
291
|
}
|
|
292
|
+
export declare const BIT: DuckDBBitType;
|
|
198
293
|
export declare class DuckDBTimeTZType extends BaseDuckDBType<DuckDBTypeId.TIME_TZ> {
|
|
199
294
|
constructor(alias?: string);
|
|
200
295
|
toString(): string;
|
|
201
296
|
static readonly instance: DuckDBTimeTZType;
|
|
202
297
|
static create(alias?: string): DuckDBTimeTZType;
|
|
298
|
+
get max(): DuckDBTimeTZValue;
|
|
299
|
+
get min(): DuckDBTimeTZValue;
|
|
203
300
|
}
|
|
301
|
+
export declare const TIMETZ: DuckDBTimeTZType;
|
|
204
302
|
export declare class DuckDBTimestampTZType extends BaseDuckDBType<DuckDBTypeId.TIMESTAMP_TZ> {
|
|
205
303
|
constructor(alias?: string);
|
|
206
304
|
toString(): string;
|
|
207
305
|
static readonly instance: DuckDBTimestampTZType;
|
|
208
306
|
static create(alias?: string): DuckDBTimestampTZType;
|
|
307
|
+
get epoch(): DuckDBTimestampTZValue;
|
|
308
|
+
get max(): DuckDBTimestampTZValue;
|
|
309
|
+
get min(): DuckDBTimestampTZValue;
|
|
310
|
+
get posInf(): DuckDBTimestampTZValue;
|
|
311
|
+
get negInf(): DuckDBTimestampTZValue;
|
|
209
312
|
}
|
|
313
|
+
export declare const TIMESTAMPTZ: DuckDBTimestampTZType;
|
|
210
314
|
export declare class DuckDBAnyType extends BaseDuckDBType<DuckDBTypeId.ANY> {
|
|
211
315
|
constructor(alias?: string);
|
|
212
316
|
static readonly instance: DuckDBAnyType;
|
|
213
317
|
static create(alias?: string): DuckDBAnyType;
|
|
214
318
|
}
|
|
319
|
+
export declare const ANY: DuckDBAnyType;
|
|
215
320
|
export declare class DuckDBVarIntType extends BaseDuckDBType<DuckDBTypeId.VARINT> {
|
|
216
321
|
constructor(alias?: string);
|
|
217
322
|
static readonly instance: DuckDBVarIntType;
|
|
218
323
|
static create(alias?: string): DuckDBVarIntType;
|
|
219
324
|
static readonly Max: bigint;
|
|
220
325
|
static readonly Min: bigint;
|
|
326
|
+
get max(): bigint;
|
|
327
|
+
get min(): bigint;
|
|
221
328
|
}
|
|
329
|
+
export declare const VARINT: DuckDBVarIntType;
|
|
222
330
|
export declare class DuckDBSQLNullType extends BaseDuckDBType<DuckDBTypeId.SQLNULL> {
|
|
223
331
|
constructor(alias?: string);
|
|
224
332
|
static readonly instance: DuckDBSQLNullType;
|
|
225
333
|
static create(alias?: string): DuckDBSQLNullType;
|
|
226
334
|
}
|
|
335
|
+
export declare const SQLNULL: DuckDBSQLNullType;
|
|
227
336
|
export type DuckDBType = DuckDBBooleanType | DuckDBTinyIntType | DuckDBSmallIntType | DuckDBIntegerType | DuckDBBigIntType | DuckDBUTinyIntType | DuckDBUSmallIntType | DuckDBUIntegerType | DuckDBUBigIntType | DuckDBFloatType | DuckDBDoubleType | DuckDBTimestampType | DuckDBDateType | DuckDBTimeType | DuckDBIntervalType | DuckDBHugeIntType | DuckDBUHugeIntType | DuckDBVarCharType | DuckDBBlobType | DuckDBDecimalType | DuckDBTimestampSecondsType | DuckDBTimestampMillisecondsType | DuckDBTimestampNanosecondsType | DuckDBEnumType | DuckDBListType | DuckDBStructType | DuckDBMapType | DuckDBArrayType | DuckDBUUIDType | DuckDBUnionType | DuckDBBitType | DuckDBTimeTZType | DuckDBTimestampTZType | DuckDBAnyType | DuckDBVarIntType | DuckDBSQLNullType;
|