You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions