Skip to content

Commit f0d7da2

Browse files
Update sql.ts
1 parent aca84cf commit f0d7da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drizzle-orm/src/sql/sql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export class SQL<T = unknown> implements SQLWrapper {
316316
if (chunk === null) {
317317
return 'null';
318318
}
319-
if (typeof chunk === 'number' || typeof chunk === 'boolean') {
319+
if (typeof chunk === 'number' || typeof chunk === 'boolean' || typeof chunk === 'bigint') {
320320
return chunk.toString();
321321
}
322322
if (typeof chunk === 'string') {

0 commit comments

Comments
 (0)