@prisma/client-runtime-utils 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.1
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 +201 -0
- package/README.md +5 -0
- package/dist/errors/ErrorWithBatchIndex.d.ts +4 -0
- package/dist/errors/PrismaClientInitializationError.d.ts +7 -0
- package/dist/errors/PrismaClientKnownRequestError.d.ts +16 -0
- package/dist/errors/PrismaClientRustError.d.ts +16 -0
- package/dist/errors/PrismaClientRustPanicError.d.ts +5 -0
- package/dist/errors/PrismaClientUnknownRequestError.d.ts +12 -0
- package/dist/errors/PrismaClientValidationError.d.ts +10 -0
- package/dist/errors/index.d.ts +7 -0
- package/dist/errors/log.d.ts +50 -0
- package/dist/errors/setClassName.d.ts +9 -0
- package/dist/index.d.mts +460 -0
- package/dist/index.d.ts +460 -0
- package/dist/index.js +2546 -0
- package/dist/index.mjs +2499 -0
- package/dist/nullTypes.d.ts +42 -0
- package/package.json +39 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
export declare const AnyNull: AnyNullClass;
|
|
2
|
+
|
|
3
|
+
declare class AnyNullClass extends NullTypesEnumValue {
|
|
4
|
+
#private;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export declare const DbNull: DbNullClass;
|
|
8
|
+
|
|
9
|
+
declare class DbNullClass extends NullTypesEnumValue {
|
|
10
|
+
#private;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export declare function Decimal(n: Decimal.Value): Decimal;
|
|
14
|
+
|
|
15
|
+
export declare namespace Decimal {
|
|
16
|
+
export type Constructor = typeof Decimal;
|
|
17
|
+
export type Instance = Decimal;
|
|
18
|
+
export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
19
|
+
export type Modulo = Rounding | 9;
|
|
20
|
+
export type Value = string | number | Decimal;
|
|
21
|
+
|
|
22
|
+
// http://mikemcl.github.io/decimal.js/#constructor-properties
|
|
23
|
+
export interface Config {
|
|
24
|
+
precision?: number;
|
|
25
|
+
rounding?: Rounding;
|
|
26
|
+
toExpNeg?: number;
|
|
27
|
+
toExpPos?: number;
|
|
28
|
+
minE?: number;
|
|
29
|
+
maxE?: number;
|
|
30
|
+
crypto?: boolean;
|
|
31
|
+
modulo?: Modulo;
|
|
32
|
+
defaults?: boolean;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export declare class Decimal {
|
|
37
|
+
readonly d: number[];
|
|
38
|
+
readonly e: number;
|
|
39
|
+
readonly s: number;
|
|
40
|
+
|
|
41
|
+
constructor(n: Decimal.Value);
|
|
42
|
+
|
|
43
|
+
absoluteValue(): Decimal;
|
|
44
|
+
abs(): Decimal;
|
|
45
|
+
|
|
46
|
+
ceil(): Decimal;
|
|
47
|
+
|
|
48
|
+
clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;
|
|
49
|
+
clamp(min: Decimal.Value, max: Decimal.Value): Decimal;
|
|
50
|
+
|
|
51
|
+
comparedTo(n: Decimal.Value): number;
|
|
52
|
+
cmp(n: Decimal.Value): number;
|
|
53
|
+
|
|
54
|
+
cosine(): Decimal;
|
|
55
|
+
cos(): Decimal;
|
|
56
|
+
|
|
57
|
+
cubeRoot(): Decimal;
|
|
58
|
+
cbrt(): Decimal;
|
|
59
|
+
|
|
60
|
+
decimalPlaces(): number;
|
|
61
|
+
dp(): number;
|
|
62
|
+
|
|
63
|
+
dividedBy(n: Decimal.Value): Decimal;
|
|
64
|
+
div(n: Decimal.Value): Decimal;
|
|
65
|
+
|
|
66
|
+
dividedToIntegerBy(n: Decimal.Value): Decimal;
|
|
67
|
+
divToInt(n: Decimal.Value): Decimal;
|
|
68
|
+
|
|
69
|
+
equals(n: Decimal.Value): boolean;
|
|
70
|
+
eq(n: Decimal.Value): boolean;
|
|
71
|
+
|
|
72
|
+
floor(): Decimal;
|
|
73
|
+
|
|
74
|
+
greaterThan(n: Decimal.Value): boolean;
|
|
75
|
+
gt(n: Decimal.Value): boolean;
|
|
76
|
+
|
|
77
|
+
greaterThanOrEqualTo(n: Decimal.Value): boolean;
|
|
78
|
+
gte(n: Decimal.Value): boolean;
|
|
79
|
+
|
|
80
|
+
hyperbolicCosine(): Decimal;
|
|
81
|
+
cosh(): Decimal;
|
|
82
|
+
|
|
83
|
+
hyperbolicSine(): Decimal;
|
|
84
|
+
sinh(): Decimal;
|
|
85
|
+
|
|
86
|
+
hyperbolicTangent(): Decimal;
|
|
87
|
+
tanh(): Decimal;
|
|
88
|
+
|
|
89
|
+
inverseCosine(): Decimal;
|
|
90
|
+
acos(): Decimal;
|
|
91
|
+
|
|
92
|
+
inverseHyperbolicCosine(): Decimal;
|
|
93
|
+
acosh(): Decimal;
|
|
94
|
+
|
|
95
|
+
inverseHyperbolicSine(): Decimal;
|
|
96
|
+
asinh(): Decimal;
|
|
97
|
+
|
|
98
|
+
inverseHyperbolicTangent(): Decimal;
|
|
99
|
+
atanh(): Decimal;
|
|
100
|
+
|
|
101
|
+
inverseSine(): Decimal;
|
|
102
|
+
asin(): Decimal;
|
|
103
|
+
|
|
104
|
+
inverseTangent(): Decimal;
|
|
105
|
+
atan(): Decimal;
|
|
106
|
+
|
|
107
|
+
isFinite(): boolean;
|
|
108
|
+
|
|
109
|
+
isInteger(): boolean;
|
|
110
|
+
isInt(): boolean;
|
|
111
|
+
|
|
112
|
+
isNaN(): boolean;
|
|
113
|
+
|
|
114
|
+
isNegative(): boolean;
|
|
115
|
+
isNeg(): boolean;
|
|
116
|
+
|
|
117
|
+
isPositive(): boolean;
|
|
118
|
+
isPos(): boolean;
|
|
119
|
+
|
|
120
|
+
isZero(): boolean;
|
|
121
|
+
|
|
122
|
+
lessThan(n: Decimal.Value): boolean;
|
|
123
|
+
lt(n: Decimal.Value): boolean;
|
|
124
|
+
|
|
125
|
+
lessThanOrEqualTo(n: Decimal.Value): boolean;
|
|
126
|
+
lte(n: Decimal.Value): boolean;
|
|
127
|
+
|
|
128
|
+
logarithm(n?: Decimal.Value): Decimal;
|
|
129
|
+
log(n?: Decimal.Value): Decimal;
|
|
130
|
+
|
|
131
|
+
minus(n: Decimal.Value): Decimal;
|
|
132
|
+
sub(n: Decimal.Value): Decimal;
|
|
133
|
+
|
|
134
|
+
modulo(n: Decimal.Value): Decimal;
|
|
135
|
+
mod(n: Decimal.Value): Decimal;
|
|
136
|
+
|
|
137
|
+
naturalExponential(): Decimal;
|
|
138
|
+
exp(): Decimal;
|
|
139
|
+
|
|
140
|
+
naturalLogarithm(): Decimal;
|
|
141
|
+
ln(): Decimal;
|
|
142
|
+
|
|
143
|
+
negated(): Decimal;
|
|
144
|
+
neg(): Decimal;
|
|
145
|
+
|
|
146
|
+
plus(n: Decimal.Value): Decimal;
|
|
147
|
+
add(n: Decimal.Value): Decimal;
|
|
148
|
+
|
|
149
|
+
precision(includeZeros?: boolean): number;
|
|
150
|
+
sd(includeZeros?: boolean): number;
|
|
151
|
+
|
|
152
|
+
round(): Decimal;
|
|
153
|
+
|
|
154
|
+
sine() : Decimal;
|
|
155
|
+
sin() : Decimal;
|
|
156
|
+
|
|
157
|
+
squareRoot(): Decimal;
|
|
158
|
+
sqrt(): Decimal;
|
|
159
|
+
|
|
160
|
+
tangent() : Decimal;
|
|
161
|
+
tan() : Decimal;
|
|
162
|
+
|
|
163
|
+
times(n: Decimal.Value): Decimal;
|
|
164
|
+
mul(n: Decimal.Value) : Decimal;
|
|
165
|
+
|
|
166
|
+
toBinary(significantDigits?: number): string;
|
|
167
|
+
toBinary(significantDigits: number, rounding: Decimal.Rounding): string;
|
|
168
|
+
|
|
169
|
+
toDecimalPlaces(decimalPlaces?: number): Decimal;
|
|
170
|
+
toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;
|
|
171
|
+
toDP(decimalPlaces?: number): Decimal;
|
|
172
|
+
toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;
|
|
173
|
+
|
|
174
|
+
toExponential(decimalPlaces?: number): string;
|
|
175
|
+
toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;
|
|
176
|
+
|
|
177
|
+
toFixed(decimalPlaces?: number): string;
|
|
178
|
+
toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;
|
|
179
|
+
|
|
180
|
+
toFraction(max_denominator?: Decimal.Value): Decimal[];
|
|
181
|
+
|
|
182
|
+
toHexadecimal(significantDigits?: number): string;
|
|
183
|
+
toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;
|
|
184
|
+
toHex(significantDigits?: number): string;
|
|
185
|
+
toHex(significantDigits: number, rounding?: Decimal.Rounding): string;
|
|
186
|
+
|
|
187
|
+
toJSON(): string;
|
|
188
|
+
|
|
189
|
+
toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;
|
|
190
|
+
|
|
191
|
+
toNumber(): number;
|
|
192
|
+
|
|
193
|
+
toOctal(significantDigits?: number): string;
|
|
194
|
+
toOctal(significantDigits: number, rounding: Decimal.Rounding): string;
|
|
195
|
+
|
|
196
|
+
toPower(n: Decimal.Value): Decimal;
|
|
197
|
+
pow(n: Decimal.Value): Decimal;
|
|
198
|
+
|
|
199
|
+
toPrecision(significantDigits?: number): string;
|
|
200
|
+
toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;
|
|
201
|
+
|
|
202
|
+
toSignificantDigits(significantDigits?: number): Decimal;
|
|
203
|
+
toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;
|
|
204
|
+
toSD(significantDigits?: number): Decimal;
|
|
205
|
+
toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;
|
|
206
|
+
|
|
207
|
+
toString(): string;
|
|
208
|
+
|
|
209
|
+
truncated(): Decimal;
|
|
210
|
+
trunc(): Decimal;
|
|
211
|
+
|
|
212
|
+
valueOf(): string;
|
|
213
|
+
|
|
214
|
+
static abs(n: Decimal.Value): Decimal;
|
|
215
|
+
static acos(n: Decimal.Value): Decimal;
|
|
216
|
+
static acosh(n: Decimal.Value): Decimal;
|
|
217
|
+
static add(x: Decimal.Value, y: Decimal.Value): Decimal;
|
|
218
|
+
static asin(n: Decimal.Value): Decimal;
|
|
219
|
+
static asinh(n: Decimal.Value): Decimal;
|
|
220
|
+
static atan(n: Decimal.Value): Decimal;
|
|
221
|
+
static atanh(n: Decimal.Value): Decimal;
|
|
222
|
+
static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;
|
|
223
|
+
static cbrt(n: Decimal.Value): Decimal;
|
|
224
|
+
static ceil(n: Decimal.Value): Decimal;
|
|
225
|
+
static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;
|
|
226
|
+
static clone(object?: Decimal.Config): Decimal.Constructor;
|
|
227
|
+
static config(object: Decimal.Config): Decimal.Constructor;
|
|
228
|
+
static cos(n: Decimal.Value): Decimal;
|
|
229
|
+
static cosh(n: Decimal.Value): Decimal;
|
|
230
|
+
static div(x: Decimal.Value, y: Decimal.Value): Decimal;
|
|
231
|
+
static exp(n: Decimal.Value): Decimal;
|
|
232
|
+
static floor(n: Decimal.Value): Decimal;
|
|
233
|
+
static hypot(...n: Decimal.Value[]): Decimal;
|
|
234
|
+
static isDecimal(object: any): object is Decimal;
|
|
235
|
+
static ln(n: Decimal.Value): Decimal;
|
|
236
|
+
static log(n: Decimal.Value, base?: Decimal.Value): Decimal;
|
|
237
|
+
static log2(n: Decimal.Value): Decimal;
|
|
238
|
+
static log10(n: Decimal.Value): Decimal;
|
|
239
|
+
static max(...n: Decimal.Value[]): Decimal;
|
|
240
|
+
static min(...n: Decimal.Value[]): Decimal;
|
|
241
|
+
static mod(x: Decimal.Value, y: Decimal.Value): Decimal;
|
|
242
|
+
static mul(x: Decimal.Value, y: Decimal.Value): Decimal;
|
|
243
|
+
static noConflict(): Decimal.Constructor; // Browser only
|
|
244
|
+
static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;
|
|
245
|
+
static random(significantDigits?: number): Decimal;
|
|
246
|
+
static round(n: Decimal.Value): Decimal;
|
|
247
|
+
static set(object: Decimal.Config): Decimal.Constructor;
|
|
248
|
+
static sign(n: Decimal.Value): number;
|
|
249
|
+
static sin(n: Decimal.Value): Decimal;
|
|
250
|
+
static sinh(n: Decimal.Value): Decimal;
|
|
251
|
+
static sqrt(n: Decimal.Value): Decimal;
|
|
252
|
+
static sub(x: Decimal.Value, y: Decimal.Value): Decimal;
|
|
253
|
+
static sum(...n: Decimal.Value[]): Decimal;
|
|
254
|
+
static tan(n: Decimal.Value): Decimal;
|
|
255
|
+
static tanh(n: Decimal.Value): Decimal;
|
|
256
|
+
static trunc(n: Decimal.Value): Decimal;
|
|
257
|
+
|
|
258
|
+
static readonly default?: Decimal.Constructor;
|
|
259
|
+
static readonly Decimal?: Decimal.Constructor;
|
|
260
|
+
|
|
261
|
+
static readonly precision: number;
|
|
262
|
+
static readonly rounding: Decimal.Rounding;
|
|
263
|
+
static readonly toExpNeg: number;
|
|
264
|
+
static readonly toExpPos: number;
|
|
265
|
+
static readonly minE: number;
|
|
266
|
+
static readonly maxE: number;
|
|
267
|
+
static readonly crypto: boolean;
|
|
268
|
+
static readonly modulo: Decimal.Modulo;
|
|
269
|
+
|
|
270
|
+
static readonly ROUND_UP: 0;
|
|
271
|
+
static readonly ROUND_DOWN: 1;
|
|
272
|
+
static readonly ROUND_CEIL: 2;
|
|
273
|
+
static readonly ROUND_FLOOR: 3;
|
|
274
|
+
static readonly ROUND_HALF_UP: 4;
|
|
275
|
+
static readonly ROUND_HALF_DOWN: 5;
|
|
276
|
+
static readonly ROUND_HALF_EVEN: 6;
|
|
277
|
+
static readonly ROUND_HALF_CEIL: 7;
|
|
278
|
+
static readonly ROUND_HALF_FLOOR: 8;
|
|
279
|
+
static readonly EUCLID: 9;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Placeholder value for "no text".
|
|
284
|
+
*/
|
|
285
|
+
export declare const empty: Sql;
|
|
286
|
+
|
|
287
|
+
export declare interface ErrorWithBatchIndex {
|
|
288
|
+
batchRequestIdx?: number;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export declare function hasBatchIndex(value: object): value is Required<ErrorWithBatchIndex>;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Check if a value is the AnyNull singleton instance.
|
|
295
|
+
*/
|
|
296
|
+
export declare function isAnyNull(value: unknown): value is AnyNullClass;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Check if a value is the DBNull singleton instance.
|
|
300
|
+
*/
|
|
301
|
+
export declare function isDbNull(value: unknown): value is DbNullClass;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Check if a value is the JsonNull singleton instance.
|
|
305
|
+
*/
|
|
306
|
+
export declare function isJsonNull(value: unknown): value is JsonNullClass;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Create a SQL query for a list of values.
|
|
310
|
+
*/
|
|
311
|
+
export declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql;
|
|
312
|
+
|
|
313
|
+
export declare const JsonNull: JsonNullClass;
|
|
314
|
+
|
|
315
|
+
declare class JsonNullClass extends NullTypesEnumValue {
|
|
316
|
+
#private;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
declare type KnownErrorParams = {
|
|
320
|
+
code: string;
|
|
321
|
+
clientVersion: string;
|
|
322
|
+
meta?: Record<string, unknown>;
|
|
323
|
+
batchRequestIdx?: number;
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
declare type LogFields = {
|
|
327
|
+
[key: string]: any;
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
declare type LogLevel = 'info' | 'trace' | 'debug' | 'warn' | 'error' | 'query';
|
|
331
|
+
|
|
332
|
+
export declare const NullTypes: {
|
|
333
|
+
DbNull: typeof DbNullClass;
|
|
334
|
+
JsonNull: typeof JsonNullClass;
|
|
335
|
+
AnyNull: typeof AnyNullClass;
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
declare class NullTypesEnumValue extends ObjectEnumValue {
|
|
339
|
+
_getNamespace(): string;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Base class for unique values of object-valued enums.
|
|
344
|
+
*/
|
|
345
|
+
export declare abstract class ObjectEnumValue {
|
|
346
|
+
constructor(arg?: symbol);
|
|
347
|
+
abstract _getNamespace(): string;
|
|
348
|
+
_getName(): string;
|
|
349
|
+
toString(): string;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
declare type Options = {
|
|
353
|
+
clientVersion: string;
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
export declare class PrismaClientInitializationError extends Error {
|
|
357
|
+
clientVersion: string;
|
|
358
|
+
errorCode?: string;
|
|
359
|
+
retryable?: boolean;
|
|
360
|
+
constructor(message: string, clientVersion: string, errorCode?: string);
|
|
361
|
+
get [Symbol.toStringTag](): string;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex {
|
|
365
|
+
code: string;
|
|
366
|
+
meta?: Record<string, unknown>;
|
|
367
|
+
clientVersion: string;
|
|
368
|
+
batchRequestIdx?: number;
|
|
369
|
+
constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams);
|
|
370
|
+
get [Symbol.toStringTag](): string;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* A generic Prisma Client Rust error.
|
|
375
|
+
* This error is being exposed via the `prisma.$on('error')` interface
|
|
376
|
+
*/
|
|
377
|
+
export declare class PrismaClientRustError extends Error {
|
|
378
|
+
clientVersion: string;
|
|
379
|
+
private _isPanic;
|
|
380
|
+
constructor({ clientVersion, error }: PrismaClientRustErrorArgs);
|
|
381
|
+
get [Symbol.toStringTag](): string;
|
|
382
|
+
isPanic(): boolean;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export declare type PrismaClientRustErrorArgs = {
|
|
386
|
+
clientVersion: string;
|
|
387
|
+
error: RustLog;
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
export declare class PrismaClientRustPanicError extends Error {
|
|
391
|
+
clientVersion: string;
|
|
392
|
+
constructor(message: string, clientVersion: string);
|
|
393
|
+
get [Symbol.toStringTag](): string;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex {
|
|
397
|
+
clientVersion: string;
|
|
398
|
+
batchRequestIdx?: number;
|
|
399
|
+
constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams);
|
|
400
|
+
get [Symbol.toStringTag](): string;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export declare class PrismaClientValidationError extends Error {
|
|
404
|
+
name: string;
|
|
405
|
+
clientVersion: string;
|
|
406
|
+
constructor(message: string, { clientVersion }: Options);
|
|
407
|
+
get [Symbol.toStringTag](): string;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Create raw SQL statement.
|
|
412
|
+
*/
|
|
413
|
+
export declare function raw(value: string): Sql;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Supported value or SQL instance.
|
|
417
|
+
*/
|
|
418
|
+
export declare type RawValue = Value | Sql;
|
|
419
|
+
|
|
420
|
+
declare interface RustLog {
|
|
421
|
+
timestamp: Date;
|
|
422
|
+
level: LogLevel;
|
|
423
|
+
target: string;
|
|
424
|
+
fields: LogFields;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* A SQL instance can be nested within each other to build SQL strings.
|
|
429
|
+
*/
|
|
430
|
+
export declare class Sql {
|
|
431
|
+
readonly values: Value[];
|
|
432
|
+
readonly strings: string[];
|
|
433
|
+
constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]);
|
|
434
|
+
get sql(): string;
|
|
435
|
+
get statement(): string;
|
|
436
|
+
get text(): string;
|
|
437
|
+
inspect(): {
|
|
438
|
+
sql: string;
|
|
439
|
+
statement: string;
|
|
440
|
+
text: string;
|
|
441
|
+
values: unknown[];
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* Create a SQL object from a template string.
|
|
447
|
+
*/
|
|
448
|
+
export declare function sql(strings: readonly string[], ...values: readonly RawValue[]): Sql;
|
|
449
|
+
|
|
450
|
+
declare type UnknownErrorParams = {
|
|
451
|
+
clientVersion: string;
|
|
452
|
+
batchRequestIdx?: number;
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Values supported by SQL engine.
|
|
457
|
+
*/
|
|
458
|
+
export declare type Value = unknown;
|
|
459
|
+
|
|
460
|
+
export { }
|