public inbox for [email protected]  
help / color / mirror / Atom feed
returning clause is not clearly documented
2+ messages / 2 participants
[nested] [flat]

* returning clause is not clearly documented
@ 2022-03-11 07:09 PG Doc comments form <[email protected]>
  2022-03-11 14:53 ` Re: returning clause is not clearly documented David G. Johnston <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2022-03-11 07:09 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/dml-returning.html
Description:

Hello there
I'm not good enough in english, so have my excuse.

I don't undestand how Returning clause work when more than on row are
affected. i.e I have an update with 3 rows affected and I want to have then
to return to then front-end.
How I must do in same cases?

thank you


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: returning clause is not clearly documented
  2022-03-11 07:09 returning clause is not clearly documented PG Doc comments form <[email protected]>
@ 2022-03-11 14:53 ` David G. Johnston <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: David G. Johnston @ 2022-03-11 14:53 UTC (permalink / raw)
  To: [email protected] <[email protected]>; [email protected] <[email protected]>

On Friday, March 11, 2022, PG Doc comments form <[email protected]>
wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/14/dml-returning.html
> Description:
>
> Hello there
> I'm not good enough in english, so have my excuse.
>
> I don't undestand how Returning clause work when more than on row are
> affected. i.e I have an update with 3 rows affected and I want to have then
> to return to then front-end.
> How I must do in same cases?
>

It doesn’t matter how many rows are affected, returning will return them
all.

David J.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-03-11 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 07:09 returning clause is not clearly documented PG Doc comments form <[email protected]>
2022-03-11 14:53 ` David G. Johnston <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox