Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
onUpdate - Drizzle Team
DT
Drizzle Team
•
2y ago
•
1 reply
Md Jahidul Islam milon
onUpdate
updatedAt
: timestamp
(
'updated
_at
'
,
{ mode
:
'date
'
, precision
: 3
}
)
.defaultNow
(
)
.
$onUpdate
(
(
)
=
> sql
(now
(
) AT TIME ZONE
'UTC
'
)
)
.notNull
(
)
,
can we return
sql
sql
from
$onUpdate
?
$onUpdate
(
(
)
=
> sql
(now
(
) AT TIME ZONE
'UTC
'
)
) this
?
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Is there currently a way to utilize onUpdate?
DT
Drizzle Team / help
3y ago
onUpdateNow usage
DT
Drizzle Team / help
3y ago
.onUpdateNow() for postgresql?
DT
Drizzle Team / help
3y ago
support fsp for .onUpdateNow(),
DT
Drizzle Team / help
3y ago