pgweb icon indicating copy to clipboard operation
pgweb copied to clipboard

DELETE with RETURNING goes not give the returned rows, just a summary?

Open jonaz opened this issue 3 years ago • 3 comments

The problem seems to be here? https://github.com/sosedoff/pgweb/blob/706caa44bfda2261681d81ed5fcc01394a95db00/pkg/client/client.go#L354-L373

jonaz avatar Mar 01 '22 14:03 jonaz

Thanks for the report. Do you have an example query?

sosedoff avatar Mar 01 '22 15:03 sosedoff

DELETE from asdf where id=1 RETURNING id

On Tue, 1 Mar 2022, 16:57 Dan Sosedoff, @.***> wrote:

Thanks for the report. Do you have an example query?

— Reply to this email directly, view it on GitHub https://github.com/sosedoff/pgweb/issues/553#issuecomment-1055592251, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX4FISNVVN4FV7VSUOL33U5Y5AFANCNFSM5PUHDYPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

jonaz avatar Mar 01 '22 19:03 jonaz

Same with UPDATE

jonaz avatar Mar 01 '22 19:03 jonaz