© 2026 Hedgehog Software, LLC
await db .update(schema.order) .set({ completedDate: new Date() }) // same error with sql`now()` .where(eq(schema.order.id, order.id));
value.toISOString is not a function
completedDate: timestamp({ withTimezone: true }),