DT
Drizzle Team•2y ago
ysm

[bug] Some sql statement looks broken when bulk insert

await db.insert(users)
.values(
{
name: 'Andrew',
createdAt: new Date(),
},
{
name: 'Dan',
createdAt: new Date(),
},
);
await db.insert(users)
.values(
{
name: 'Andrew',
createdAt: new Date(),
},
{
name: 'Dan',
createdAt: new Date(),
},
);
2 Replies
ysm
ysmOP•2y ago
🤔
alexblokh
alexblokh•2y ago
please share the schema declaration unfortunately your code snippet is not enough for us to debug
Want results from more Discord servers?
Add your server