Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
flysand7
· 1y ago · 0 comments
Speaking of postgres, you don't even need a function, you can just use RETURNING clause of a modifying query to provide data source for the select:
select * from ( delete from users returning id )
Comments
No comments yet.
Better HN