Passing SQL functions to insert
Is there any way to pass a SQL function like
gen_random_uuid()
to the insert
function, for a specific (non-primary ID) column? Something like concat('foo_', gen_random_uuid())
for example.1 Reply
Seems like
db.insert(...).values(...)
paired with
works well 🙂