is it possible to return the entire row you’ve jus...
# exposed
j
is it possible to return the entire row you’ve just inserted with .insert? I know there’s insertAndGetId, but I want to return the entire row.
s
I guess the reason why you need the roundtrip is that the database might have default values.
k
You could write it as raw SQL with
RETURNING ( ... )
t
@Jacob Richards, try to check
resultedValues
of
InsertStatement
returned from
insert
function
❤️ 1