Skip to content

Commit f19d5d4

Browse files
committed
exact complience with official client's value processing
1 parent 69a2a72 commit f19d5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parsers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { MisuseError, ProtoError, ResponseError } from "./errors.js";
1414
// }
1515

1616
//========================================================
17-
export function libsqlValueParser(value: libsqlSQLValue, intMode?: intMode): rawValue {
17+
export function libsqlValueParser(value: libsqlSQLValue, intMode: intMode = "number"): rawValue {
1818
switch (value.type) {
1919
case ("null"): return null;
2020
case ("integer"): {

0 commit comments

Comments
 (0)