Re: PostgreSQL - Ordering Table based of Foreign Key

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: PostgreSQL - Ordering Table based of Foreign Key
Дата
Msg-id d8962f58-42fb-ec14-4fed-75f625843043@aklaver.com
обсуждение исходный текст
Ответ на Re: PostgreSQL - Ordering Table based of Foreign Key  (FOUTE K. Jaurès <jauresfoute@gmail.com>)
Ответы Re: PostgreSQL - Ordering Table based of Foreign Key  (FOUTE K. Jaurès <jauresfoute@gmail.com>)
Список pgsql-general
On 10/3/21 7:40 AM, FOUTE K. Jaurès wrote:
> Thanks for your input but I want to make a delete with where clause

Then Thomas Kellerer's suggestion of having "ON DELETE CASCADE" on the 
FK would seem to be what you need. If not then you will need to provide 
more information about what you are trying to achieve?


-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: FOUTE K. Jaurès
Дата:
Сообщение: Re: PostgreSQL - Ordering Table based of Foreign Key
Следующее
От: FOUTE K. Jaurès
Дата:
Сообщение: Re: PostgreSQL - Ordering Table based of Foreign Key