Why Partial<typeof x.$inferInsert> is required for Partial Updates
Is it necessary to always use Partial when performing a partial update on a table using db.update(...).set(...) or am I missing something?
I'm using drizzle 0.42.0
For example, I've this schema
but following code gives me lint error (Object literal may only specify known properties, and 'x' does not exist in type)
I added type and lint error goes away
0 Replies