Re: returning clause is not clearly documented

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: returning clause is not clearly documented
Дата
Msg-id CAKFQuwa_TJeAWJnqZz4_xexabB2bgRi9sO5-D=XFo-_FZNCYCg@mail.gmail.com
обсуждение исходный текст
Ответ на returning clause is not clearly documented  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
On Friday, March 11, 2022, PG Doc comments form <noreply@postgresql.org> 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.

В списке pgsql-docs по дате отправления:

Предыдущее
От: "Drew DeVault"
Дата:
Сообщение: Fonts on postgresql.org needlessly served from Google
Следующее
От: "Daniel Westermann (DWE)"
Дата:
Сообщение: Fir mkdir command in "Short Version" for installing from source