Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Passing SQL functions to insert - Drizzle Team
DT
Drizzle Team
•
3y ago
•
1 reply
James
Passing SQL functions to insert
Is there any way to pass a SQL function like
gen_random_uuid()
gen_random_uuid()
to the
insert
insert
function
, for a specific
(non
-primary ID
) column
? Something like
concat('foo_', gen_random_uuid())
concat('foo_', gen_random_uuid())
for example
.
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
Passing transaction to functions
DT
Drizzle Team / help
15mo ago
insert without passing schema
DT
Drizzle Team / help
12mo ago
noob help: INSERT with JOIN SQL to Drizzle
DT
Drizzle Team / help
3y ago
Passing column values through custom TypeScript functions ...
DT
Drizzle Team / help
2y ago