Skip to content

Commit d71597a

Browse files
committed
Improved vectorToSql [skip ci]
1 parent 9182ad6 commit d71597a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function vectorFromSql(value) {
1010

1111
function vectorToSql(value) {
1212
if (Array.isArray(value)) {
13-
return JSON.stringify(value);
13+
return JSON.stringify(value.map((v) => Number(v)));
1414
}
1515
return value;
1616
}

0 commit comments

Comments
 (0)