We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drizzle-orm
0.38.2
drizzle-kit
0.0.00
No response
When trying to update a record, if the entity being called has nullable parameters, they cannot be updated.
export const tblUser = mysqlTable('user', { id: int().primaryKey(), name: varchar({ length: 100 }).notNull(), timestamp_seen: datetime(), });
await db.update(tblUser).set({ timestamp_seen: new Date() }).where(eq(tblUser.id, id));
Object literal may only specify known properties, and timestamp_seen does not exist in type
The text was updated successfully, but these errors were encountered:
I am having the same issue.
Sorry, something went wrong.
No branches or pull requests
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.38.2
What version of
drizzle-kit
are you using?0.0.00
Other packages
No response
Describe the Bug
When trying to update a record, if the entity being called has nullable parameters, they cannot be updated.
await db.update(tblUser).set({ timestamp_seen: new Date() }).where(eq(tblUser.id, id));
Object literal may only specify known properties, and timestamp_seen does not exist in type
The text was updated successfully, but these errors were encountered: