We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aca84cf commit f0d7da2Copy full SHA for f0d7da2
drizzle-orm/src/sql/sql.ts
@@ -316,7 +316,7 @@ export class SQL<T = unknown> implements SQLWrapper {
316
if (chunk === null) {
317
return 'null';
318
}
319
- if (typeof chunk === 'number' || typeof chunk === 'boolean') {
+ if (typeof chunk === 'number' || typeof chunk === 'boolean' || typeof chunk === 'bigint') {
320
return chunk.toString();
321
322
if (typeof chunk === 'string') {
0 commit comments