@neondatabase/serverless
Advanced tools
Comparing version 0.4.19 to 0.4.20
@@ -172,2 +172,9 @@ | ||
export interface NeonQueryFunction<ArrayMode extends boolean, FullResults extends boolean> { | ||
(strings: TemplateStringsArray, ...params: any[]): | ||
Promise<FullResults extends true ? FullQueryResults<ArrayMode> : QueryRows<ArrayMode>>; | ||
(strings: string, params?: any[]): | ||
Promise<FullResults extends true ? FullQueryResults<ArrayMode> : QueryRows<ArrayMode>>; | ||
} | ||
/** | ||
@@ -177,3 +184,3 @@ * This experimental function returns an async tagged-template function that | ||
* https. By default, it returns database rows directly. Types should match | ||
* those returned by this driver over WebSockets. | ||
* those returned by this driver (i.e. Pool or Client) over WebSockets. | ||
* | ||
@@ -219,6 +226,3 @@ * The returned function can also be called directly (i.e. not as a template | ||
} | ||
): ( | ||
strings: TemplateStringsArray | string, | ||
...params: any[] | ||
) => Promise<FullResults extends true ? FullQueryResults<ArrayMode> : QueryRows<ArrayMode>>; | ||
): NeonQueryFunction<ArrayMode, FullResults>; | ||
{ | ||
"name": "@neondatabase/serverless", | ||
"version": "0.4.19", | ||
"version": "0.4.20", | ||
"author": "Neon", | ||
@@ -5,0 +5,0 @@ "description": "node-postgres for serverless environments from neon.tech", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184237
885